{"id":126,"date":"2020-03-17T19:01:46","date_gmt":"2020-03-17T19:01:46","guid":{"rendered":"http:\/\/data-models.fiware.org\/?page_id=126"},"modified":"2025-06-23T10:44:49","modified_gmt":"2025-06-23T08:44:49","slug":"coding-data-models","status":"publish","type":"page","link":"https:\/\/smartdatamodels.org\/index.php\/coding-data-models\/","title":{"rendered":"Check the whole data model repository"},"content":{"rendered":"<p>The data models are composed of:<\/p>\n<p>Manually contributed<\/p>\n<ul>\n<li>Json schema describing the technical properties of the model and their descriptions<\/li>\n<li>Some examples in JSON and JSON-LD (example.json, example.jsonld, example-normalized.json and example-normalized.json)<\/li>\n<\/ul>\n<p>Optional<\/p>\n<ul>\n<li>Manually contributed: The authors (CONTRIBUTORS.yaml)<\/li>\n<li>Manually contributed: Current adopters of the data model (ADOPTERS.yaml)<\/li>\n<li>Manually contributed: Customization of specifications (notes.yaml)<\/li>\n<li>Manually contributed: Original URI for terms coming from an ontology notes_context.jsonld<\/li>\n<\/ul>\n<p>Automatically generated (threfore you do no have to contribute it)<\/p>\n<ul>\n<li>The specification in English (spec.md), Spanish (spec_ES.md), German (spec_DE.md), French (spec_FR.md), Italian (spec_IT.md), Japanese (spec_JA.md), and in Chinese (spec_ZH.md)<\/li>\n<li>Other examples in CSV and most of them in DTDL<\/li>\n<li>Structure in yaml<\/li>\n<li>Structure in SQL<\/li>\n<li>README.md for the data model<\/li>\n<li>README.md for the subject model<\/li>\n<\/ul>\n<p>Templated<\/p>\n<ul>\n<li>Licensing of the data model (use to be Creative commons 4.0) (LICENSE.md)<\/li>\n<\/ul>\n<p>You do not have to start from a blank page.<\/p>\n<p>We encourage you to check the <a href=\"https:\/\/bit.ly\/contribution_manual\">contribution manual<\/a> our <a href=\"https:\/\/github.com\/smart-data-models\/data-models\/tree\/master\/templates\">templates<\/a> for all the documents to be included together with a data model. Or the <a href=\"https:\/\/smartdatamodels.org\/index.php\/draft-a-data-model\/\">online editor<\/a> or directly from a <a href=\"https:\/\/smartdatamodels.org\/index.php\/generate-you-schema-out-of-your-payload\/\">keyvalues example<\/a> or from a <a href=\"https:\/\/smartdatamodels.org\/index.php\/create-data-model-from-csv-payload\/\">csv example<\/a>.<\/p>\n<p>Recommended steps before submitting a new data model<\/p>\n<p>1.- Review the <a href=\"https:\/\/bit.ly\/contribution_manual\">contribution manual<\/a><br \/>\n2.- There is <a href=\"https:\/\/smartdatamodels.org\/index.php\/test-your-data-model\/\">a service<\/a> to check that you have completed all the requirements<br \/>\n3.- See a real valid data model in any of the <a href=\"https:\/\/github.com\/smart-data-models\/data-models\/tree\/master\/specs\/\">domains<\/a>.<\/p>\n<p>And these guidelines<\/p>\n<p><code><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/coding-data-models\/\">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-126","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":898,"url":"https:\/\/smartdatamodels.org\/index.php\/data-models-contribution-api\/","url_meta":{"origin":126,"position":0},"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":255,"url":"https:\/\/smartdatamodels.org\/index.php\/how-to-use-data-models\/","url_meta":{"origin":126,"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":3233,"url":"https:\/\/smartdatamodels.org\/index.php\/generate-a-local-context-based-on-smart-data-models-iris\/","url_meta":{"origin":126,"position":2},"title":"Generate a local context based on Smart Data Models IRIs","author":"maestro","date":"19\/10\/2021","format":false,"excerpt":"Call: https:\/\/smartdatamodels.org\/extra\/context_local_generator.php Parameters: (Mandatories) schemaUrl: The link to the RAW version of the file listing the subjects (see example) email: your email Example: https:\/\/smartdatamodels.org\/extra\/context_local_generator.php?schemaUrl=https:\/\/raw.githubusercontent.com\/smart-data-models\/data-models\/master\/context\/merge_subjects_config_example.json&email=alberto.abella@fiware.org It returns a json file with two main elements: - @context with all the attribute's names and local IRIs - conflicts with all those attributes which\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":126,"position":3},"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":830,"url":"https:\/\/smartdatamodels.org\/index.php\/alberto-abellafiware-org\/","url_meta":{"origin":126,"position":4},"title":"alberto.abella@fiware.org","author":"maestro","date":"28\/11\/2020","format":false,"excerpt":"Feedback on submission Step 1. Right files naming________________________________ file exists https:\/\/github.com\/smart-data-models\/dataModel.Weather\/tree\/b691fb3624c71c46a99d66e5c2cf020b1a291d40\/WeatherAlert\/schema.json file exists https:\/\/github.com\/smart-data-models\/dataModel.Weather\/tree\/b691fb3624c71c46a99d66e5c2cf020b1a291d40\/WeatherAlert\/examples\/example.json file exists https:\/\/github.com\/smart-data-models\/dataModel.Weather\/tree\/b691fb3624c71c46a99d66e5c2cf020b1a291d40\/WeatherAlert\/examples\/example.jsonld file exists https:\/\/github.com\/smart-data-models\/dataModel.Weather\/tree\/b691fb3624c71c46a99d66e5c2cf020b1a291d40\/WeatherAlert\/examples\/example-normalized.json file does not existhttps:\/\/github.com\/smart-data-models\/dataModel.Weather\/tree\/b691fb3624c71c46a99d66e5c2cf020b1a291d40\/WeatherAlert\/examples\/example-normalized.jsonld","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":126,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/126","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=126"}],"version-history":[{"count":16,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/126\/revisions"}],"predecessor-version":[{"id":19700,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/126\/revisions\/19700"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}