{"id":925,"date":"2020-12-04T20:15:32","date_gmt":"2020-12-04T20:15:32","guid":{"rendered":"https:\/\/smartdatamodels.org\/?page_id=925"},"modified":"2020-12-04T20:15:32","modified_gmt":"2020-12-04T20:15:32","slug":"create-a-draft-spec-of-your-data-model","status":"publish","type":"page","link":"https:\/\/smartdatamodels.org\/index.php\/create-a-draft-spec-of-your-data-model\/","title":{"rendered":"Create a draft spec of your data model"},"content":{"rendered":"<p>In order to create an example of the data model that you are going to contribute this call helps you to create a spec. this is the API call If you want to check how this would look like you can have through this API call<\/p>\n<p><strong>Call: https:\/\/smartdatamodels.org\/extra\/create_spec.php<\/strong><\/p>\n<p><strong>Parameters<\/strong>: (Mandatories)<\/p>\n<ul>\n<li>dataModel: The name of the entity for the specification<\/li>\n<li>schemaUrl: The link to the <strong>RAW<\/strong> version of the json schema (see example)<\/li>\n<li>examplesUrl: the url of where the 4 examples required for a data model are available (named<\/li>\n<li>notesUrl: The url to the yaml for the customization paragraphs (<em>notesHeader<\/em>, after the title, <em>notesMiddle<\/em>, after properties&#8217; list and <em>notesFooter<\/em> by the end)<\/li>\n<li>mail:\u00a0 a valid mail of yours<\/li>\n<\/ul>\n<p>Example: <a href=\"https:\/\/smartdatamodels.org\/extra\/create_spec.php?dataModel=Airport&amp;schemaUrl=https:\/\/raw.githubusercontent.com\/smart-data-models\/incubated\/master\/Aeronautics\/Airport\/schema.json&amp;examplesUrl=https:\/\/raw.githubusercontent.com\/smart-data-models\/incubated\/master\/Aeronautics\/Airport\/examples\/&amp;notesUrl=%22%22&amp;mail=alberto.abella@fiware.org\">https:\/\/smartdatamodels.org\/extra\/create_spec.php?dataModel=Airport&amp;schemaUrl=https:\/\/raw.githubusercontent.com\/smart-data-models\/incubated\/master\/Aeronautics\/Airport\/schema.json&amp;examplesUrl=https:\/\/raw.githubusercontent.com\/smart-data-models\/incubated\/master\/Aeronautics\/Airport\/examples\/&amp;notesUrl=%22%22&amp;mail=alberto.abella@fiware.org<\/a><\/p>\n<p><strong>Output<\/strong>: A markdown text that although the HTML visualization is faulty, the source code of the page can be pasted in any markdown viewer (optimized for github) and you see will see something like <a href=\"https:\/\/github.com\/smart-data-models\/dataModel.Energy\/blob\/master\/ThreePhaseAcMeasurement\/doc\/new_spec_EN-US.md\">this<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to create an example of the data model that you are going to contribute this call helps you to create a spec. this is the API call If you want to check how this would look like you can have through this API call Call: https:\/\/smartdatamodels.org\/extra\/create_spec.php Parameters: (Mandatories)&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/create-a-draft-spec-of-your-data-model\/\">More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-925","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":909,"url":"https:\/\/smartdatamodels.org\/index.php\/create-automatically-the-specification-of-your-data-model\/","url_meta":{"origin":925,"position":0},"title":"Create automatically the specification of your data model","author":"maestro","date":"02\/12\/2020","format":false,"excerpt":"The new version of the smart data models specification is on progress (most of the \/doc directories of the data models have a version). If you want to check how this would look like you can have through this API call Call: https:\/\/smartdatamodels.org\/extra\/create_spec.php Parameters: (Mandatories) dataModel: The name of the\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3702,"url":"https:\/\/smartdatamodels.org\/index.php\/5-files-for-creating-a-new-data-model\/","url_meta":{"origin":925,"position":1},"title":"5 files for creating a new data model","author":"maestro","date":"31\/01\/2022","format":false,"excerpt":"Only 5 files are required for submitting a data model through a PR on any of the subjects of the Smart Data Models Program. See the contribution manual and sign the contribution agreement. 1.- The schema with the definitions at the description subattribute. Mandatory schema.json (in JSON schema, contains the\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1476,"url":"https:\/\/smartdatamodels.org\/index.php\/instructions-to-be-listed-as-a-data-model-adopter-of-smart-data-models\/","url_meta":{"origin":925,"position":2},"title":"Instructions to be listed as a data model adopter of Smart Data Models","author":"maestro","date":"01\/02\/2021","format":false,"excerpt":"find here the Instructions to be listed as a data model adopter. Try to do a Pull Request on the repository\/ies of the data model you are a user\/adopter of (recommended). See this example https:\/\/github.com\/smart-data-models\/dataModel.Battery\/blob\/master\/BatteryStatus\/ADOPTERS.yaml . If this option does not suit you, here there is an alternative Create a\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1329,"url":"https:\/\/smartdatamodels.org\/index.php\/draft-a-data-model\/","url_meta":{"origin":925,"position":3},"title":"Draft a data model","author":"maestro","date":"24\/01\/2021","format":false,"excerpt":"Steps to create your new data model in json schema Supposedly you know how many fields you want your data model to have and what data types they would be. 1.- Copy this text 2.- Open in a new window this web. 3.- Paste the text in the left form\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/06\/validation.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/06\/validation.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/06\/validation.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":20,"url":"https:\/\/smartdatamodels.org\/index.php\/learning-zone\/","url_meta":{"origin":925,"position":4},"title":"Learning zone","author":"maestro","date":"17\/03\/2020","format":false,"excerpt":"TEST YOU KNOWLEDGE ABOUT THE INITIATIVE [ays_quiz id='2'] INTRODUCTION TO THE INITIATIVE Frontend and github interface presentation These are our recommendations to encode a data model\u00a0 https:\/\/github.com\/smart-data-models\/data-models\/blob\/master\/guidelines.md Understanding linking elements in data models. Our main page on github https:\/\/github.com\/smart-data-models CREATING YOUR DATA MODEL WITHOUT MUCH TECHNICAL KNOWLEDGE These 3 videos\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/rqfNEThIx2Q\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":12420,"url":"https:\/\/smartdatamodels.org\/index.php\/test-your-data-model\/","url_meta":{"origin":925,"position":5},"title":"Test your data model","author":"maestro","date":"24\/01\/2025","format":false,"excerpt":"FULL TEST: Check the whole data model repository Instructions after the form Parameters: (Mandatories) datamodelRepoUrl: The link to the data model repository repository on github (see example) If you want all reported tests passed or just the errors mail: your mail (you'll receive a mail with Output: It will return\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/comments?post=925"}],"version-history":[{"count":1,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/925\/revisions"}],"predecessor-version":[{"id":926,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/925\/revisions\/926"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}