{"id":1779,"date":"2021-02-25T01:51:48","date_gmt":"2021-02-25T00:51:48","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=1779"},"modified":"2021-02-25T01:51:48","modified_gmt":"2021-02-25T00:51:48","slug":"script-for-checking-a-data-model-submission","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/script-for-checking-a-data-model-submission\/","title":{"rendered":"Script for checking a data model submission"},"content":{"rendered":"<p>In the directory <a href=\"https:\/\/github.com\/smart-data-models\/data-models\/tree\/master\/utils\">utils<\/a> of the umbrella repository <a href=\"https:\/\/github.com\/smart-data-models\/data-models\">data-models<\/a> there is a <a href=\"https:\/\/github.com\/smart-data-models\/data-models\/blob\/master\/utils\/check_submission_datamodel_v0.5.py\">new python script<\/a> that checks if a schema is properly documented and if the payload is correctly located and validates against the schema.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the directory utils of the umbrella repository data-models there is a new python script that checks if a schema is properly documented and if the payload is correctly located and validates against the schema. <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/script-for-checking-a-data-model-submission\/\">More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[105,74,107,109,113,115,119,117,88,143,111,125],"tags":[],"class_list":["post-1779","post","type-post","status-publish","format-standard","hentry","category-cross-sector","category-internal","category-smart-cities","category-smart-energy-domain","category-smart-environment","category-smart-manufacturing","category-smart-robotics","category-smart-water","category-smart-sensoring","category-smartaeronautics","category-smart-agrifood","category-smartdestinations"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":10091,"url":"https:\/\/smartdatamodels.org\/index.php\/new-service-export-you-data-models-to-sql-schema\/","url_meta":{"origin":1779,"position":0},"title":"New service: Export you data models to SQL schema","author":"maestro","date":"30\/10\/2023","format":false,"excerpt":"We provide a service to Generate a PostgreSQL schema SQL script from the model.yaml representation of a Smart Data Model. You can access this service under this link following Tools > SQL service. You need to provide as input the standard GitHub link to the model.yaml file or the raw\u2026","rel":"","context":"In &quot;Smart Cities domain&quot;","block_context":{"text":"Smart Cities domain","link":"https:\/\/smartdatamodels.org\/index.php\/category\/smart-cities\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/10\/Screen-Shot-2023-10-30-at-17.14.41-300x201.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":9528,"url":"https:\/\/smartdatamodels.org\/index.php\/released-the-script-for-generating-the-specifications-new-version\/","url_meta":{"origin":1779,"position":1},"title":"Released the script for generating the specifications (new version)","author":"maestro","date":"13\/09\/2023","format":false,"excerpt":"The new version of the script for generating the specifications has been released in the directory utils of the umbrella repository data-models. It allows the creation of the markdown specifications out of the json schema in multiple languages. If you have an account of DeepL API you can make the\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6739,"url":"https:\/\/smartdatamodels.org\/index.php\/connecting-open-data-soft-open-data-with-smart-data-models-for-drafting-new-data-models\/","url_meta":{"origin":1779,"position":2},"title":"Connecting Open Data Soft open data with Smart Data Models for drafting new data models","author":"maestro","date":"22\/08\/2022","format":false,"excerpt":"Many of the datasets published in open data portals are extensively used elsewhere. Well-maintained portals have managers that document the data structure and provide definitions of the types and contents of every field in these datasets. These are some of the requirements for the successful publication of a new Smart\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/08\/Selection_041.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/08\/Selection_041.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/08\/Selection_041.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/08\/Selection_041.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":7671,"url":"https:\/\/smartdatamodels.org\/index.php\/release-source-code-for-some-of-the-services-for-python-developers\/","url_meta":{"origin":1779,"position":3},"title":"Release source code for some of the services. For python developers.","author":"maestro","date":"22\/11\/2022","format":false,"excerpt":"In the tools option of the main menu, there are a few services to help you to use, create and debug your data models. Although working, some of these services are limited. We are releasing the code for some of the services to allow you to contribute with improvments. It\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/11\/python-logo-master-v3-TM-flattened-300x101.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1641,"url":"https:\/\/smartdatamodels.org\/index.php\/create-your-data-model-with-a-google-spreadsheet\/","url_meta":{"origin":1779,"position":4},"title":"Create your data model with a google spreadsheet","author":"maestro","date":"15\/02\/2021","format":false,"excerpt":"NEW VERSION!! This post became obsolete, go for the new master sheet \u00a0 This is a resource, especially for those who have limited knowledge of JSON schema. If you want to create a basic version of a data model (not all JSON schema is implemented), you can use a copy\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/02\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/02\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/02\/image.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":7119,"url":"https:\/\/smartdatamodels.org\/index.php\/contributors-updated-the-service-for-checking-your-schema\/","url_meta":{"origin":1779,"position":5},"title":"Contributors: Updated the service for checking your schema","author":"maestro","date":"19\/09\/2022","format":false,"excerpt":"In order to create a new data model or to update an existing one, Check your schema before contributing it, to check the schema on the front page. The service has been updated to check not only the attributes of the payload but also the schema metadata (schema version, license,\u2026","rel":"","context":"In &quot;Cross Sector&quot;","block_context":{"text":"Cross Sector","link":"https:\/\/smartdatamodels.org\/index.php\/category\/cross-sector\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2022\/01\/favicon-300x300.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/1779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"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=1779"}],"version-history":[{"count":1,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/1779\/revisions"}],"predecessor-version":[{"id":1780,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/1779\/revisions\/1780"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=1779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=1779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=1779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}