{"id":3702,"date":"2022-01-31T14:17:48","date_gmt":"2022-01-31T13:17:48","guid":{"rendered":"https:\/\/smartdatamodels.org\/?page_id=3702"},"modified":"2022-08-14T19:04:08","modified_gmt":"2022-08-14T17:04:08","slug":"5-files-for-creating-a-new-data-model","status":"publish","type":"page","link":"https:\/\/smartdatamodels.org\/index.php\/5-files-for-creating-a-new-data-model\/","title":{"rendered":"5 files for creating a new data model"},"content":{"rendered":"<div class=\"feed-shared-update-v2__description-wrapper\" tabindex=\"0\">\n<div class=\"feed-shared-inline-show-more-text feed-shared-update-v2__description feed-shared-inline-show-more-text--minimal-padding feed-shared-inline-show-more-text--expanded \" tabindex=\"-1\">\n<div class=\"feed-shared-text relative feed-shared-update-v2__commentary \" dir=\"ltr\"><span class=\"break-words\"><span class=\"break-words\"> <span dir=\"ltr\">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.<br \/>\n1.- The schema with the definitions at the <em>description<\/em> subattribute. Mandatory<br \/>\n<a href=\"https:\/\/github.com\/smart-data-models\/data-models\/blob\/master\/templates\/dataModel_for_submision\/schema.json\">schema.json<\/a> (in JSON schema, contains the definitions).<\/span><\/span><\/span><\/p>\n<p>2.- One example either json or jsonld. Mandatory.<br \/>\nexample (<a href=\"https:\/\/github.com\/smart-data-models\/data-models\/blob\/master\/templates\/dataModel_for_submision\/examples\/example-normalized.json\">normalized NGSIv2<\/a>, template or <a href=\"https:\/\/github.com\/smart-data-models\/data-models\/blob\/master\/templates\/dataModel_for_submision\/examples\/example-normalized.jsonld\">NGSI LD<\/a>)<\/p>\n<p>3.- Additional info for customizing the specification. File mandatory, content could be empty.<br \/>\n<a href=\"https:\/\/github.com\/smart-data-models\/data-models\/blob\/master\/templates\/dataModel_for_submision\/notes.yaml\">notes.yaml<\/a> (customizing the spec with additional texts)<\/p>\n<p>4.- The use case. File mandatory, content strongly recommended.<br \/>\n<a href=\"https:\/\/github.com\/smart-data-models\/data-models\/blob\/master\/templates\/dataModel_for_submision\/notes.yaml\">Adopters.yaml<\/a><\/p>\n<p>5. Who has contributed. File mandatory, content could be empty.<br \/>\nContributors<br \/>\n<a href=\"https:\/\/www.linkedin.com\/feed\/hashtag\/?keywords=data&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A6892071520257003521\" data-attribute-index=\"0\">#data<\/a> <a href=\"https:\/\/www.linkedin.com\/feed\/hashtag\/?keywords=github&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A6892071520257003521\" data-attribute-index=\"1\" data-artdeco-is-focused=\"true\">#github<\/a> <a href=\"https:\/\/www.linkedin.com\/feed\/hashtag\/?keywords=datamodels&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A6892071520257003521\" data-attribute-index=\"2\">#datamodels<\/a> <a href=\"https:\/\/www.linkedin.com\/feed\/hashtag\/?keywords=open&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A6892071520257003521\" data-attribute-index=\"3\">#open<\/a><\/p>\n<p>Links<br \/>\n&#8211; List of subjects to contribute: <a href=\"https:\/\/lnkd.in\/emg7KtbP\" data-attribute-index=\"4\">https:\/\/lnkd.in\/emg7KtbP<\/a><br \/>\n&#8211; Contribution Manual: <a href=\"https:\/\/lnkd.in\/ep3EgMSb\" data-attribute-index=\"5\">https:\/\/lnkd.in\/ep3EgMSb<\/a><br \/>\n&#8211; Contribution Agreement: <a href=\"https:\/\/lnkd.in\/eBBxXCFn\" data-attribute-index=\"6\">https:\/\/lnkd.in\/eBBxXCFn<\/a><br \/>\n&#8211; Templates for submission: <a href=\"https:\/\/lnkd.in\/esU7eHvV\" data-attribute-index=\"7\">https:\/\/lnkd.in\/esU7eHvV<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<article class=\"feed-shared-article feed-shared-update-v2__content\">\n<div class=\"feed-shared-article--with-large-image\">\n<div class=\"feed-shared-article__link-container\"><\/div>\n<\/div>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/5-files-for-creating-a-new-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-3702","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1329,"url":"https:\/\/smartdatamodels.org\/index.php\/draft-a-data-model\/","url_meta":{"origin":3702,"position":0},"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":255,"url":"https:\/\/smartdatamodels.org\/index.php\/how-to-use-data-models\/","url_meta":{"origin":3702,"position":1},"title":"How to use data models","author":"maestro","date":"03\/04\/2020","format":false,"excerpt":"Simple user: Use the csv (comma separated values) like this table, a csv is available in every data model and its specification and explanation in the \/doc\/spec.md that explains the meaning of the fields id type address__addressLocality address__addressCountry atmosphericPressure dataProvider dateObserved location__coordinates precipitation pressureTendency relativeHumidity source stationCode stationName temperature windDirection\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":898,"url":"https:\/\/smartdatamodels.org\/index.php\/data-models-contribution-api\/","url_meta":{"origin":3702,"position":2},"title":"Data Models Contribution API","author":"maestro","date":"30\/11\/2020","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) mail: your mail testnumber: different tests you can choose from based on your need. Some tests depend on the others File structure check:\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":126,"url":"https:\/\/smartdatamodels.org\/index.php\/coding-data-models\/","url_meta":{"origin":3702,"position":3},"title":"Check the whole data model repository","author":"maestro","date":"17\/03\/2020","format":false,"excerpt":"The data models are composed of: Manually contributed Json schema describing the technical properties of the model and their descriptions Some examples in JSON and JSON-LD (example.json, example.jsonld, example-normalized.json and example-normalized.json) Optional Manually contributed: The authors (CONTRIBUTORS.yaml) Manually contributed: Current adopters of the data model (ADOPTERS.yaml) Manually contributed: Customization of\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10260,"url":"https:\/\/smartdatamodels.org\/index.php\/metadata-of-the-data-models-catalog-available\/","url_meta":{"origin":3702,"position":4},"title":"Metadata of the data models catalog available","author":"maestro","date":"01\/02\/2024","format":false,"excerpt":"In this link you have all metadata of the catalogue available as a json file. It includes: subject data model version of the data model modelTags title url to $id of the schema description of the data model required attributes yamlUrl link to the yaml version of the schema jsonSchemaUrl\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20,"url":"https:\/\/smartdatamodels.org\/index.php\/learning-zone\/","url_meta":{"origin":3702,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/3702","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=3702"}],"version-history":[{"count":5,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/3702\/revisions"}],"predecessor-version":[{"id":6621,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/3702\/revisions\/6621"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=3702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}