{"id":10019,"date":"2023-10-20T15:11:39","date_gmt":"2023-10-20T13:11:39","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=10019"},"modified":"2023-10-20T15:11:39","modified_gmt":"2023-10-20T13:11:39","slug":"update-generate-the-schema-out-of-your-payload","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/update-generate-the-schema-out-of-your-payload\/","title":{"rendered":"Update: Generate the schema out of your payload"},"content":{"rendered":"<p>We provide a service to generate JSON schemas from the example payloads you provide. This service is designed to assist contributors who may have limited experience with JSON schemas but with actual examples. You can access the service through this <a href=\"https:\/\/smartdatamodels.org\/index.php\/generate-you-schema-out-of-your-payload\/\">link<\/a>.<\/p>\n<p>We are pleased to announce that we have made some updates to this service::<\/p>\n<ul>\n<li>Added support for generating sub-property descriptions<\/li>\n<li>Fixed the bug of duplicated property generation<\/li>\n<\/ul>\n<p>Please feel free to try it out and leave your comments on <a href=\"mailto:info@smartdatamodels.org\">info@smartdatamodels.org<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We provide a service to generate JSON schemas from the example payloads you provide. This service is designed to assist contributors who may have limited experience with JSON schemas but with actual examples. You can access the service through this link. We are pleased to announce that we have made&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/update-generate-the-schema-out-of-your-payload\/\">More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[105,107,109,113,115,119,117,88,143,111,125,182,201],"tags":[],"class_list":["post-10019","post","type-post","status-publish","format-standard","hentry","category-cross-sector","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","category-smarthealth","category-smartlogistics"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":8389,"url":"https:\/\/smartdatamodels.org\/index.php\/updated-common-schema-json\/","url_meta":{"origin":10019,"position":0},"title":"updated common-schema.json","author":"maestro","date":"02\/03\/2023","format":false,"excerpt":"We have noticed an error in the description of the attribute location in the file common-schema.json, a file that is embedded in most of the data models. It does not affect the data types (so the validation of the schemas is not affected) but it affects the qualification of 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":18419,"url":"https:\/\/smartdatamodels.org\/index.php\/use-smart-data-models-as-a-service-first-draft\/","url_meta":{"origin":10019,"position":1},"title":"Use smart data models as a service. First draft","author":"maestro","date":"04\/06\/2025","format":false,"excerpt":"In the data-models repository you can access to the first version to use smart data models as a service. Thanks to the works for the Cyclops project. The files available create a wrap up around pysmartdatamodels package and also add one service for the online validation of NGSI-LD payloads. Here\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":904,"url":"https:\/\/smartdatamodels.org\/index.php\/data-models-contribution-api\/","url_meta":{"origin":10019,"position":2},"title":"Data Models Contribution API","author":"maestro","date":"30\/11\/2020","format":false,"excerpt":"The schemas to be accepted in the Smart Data Model initiative need to include a description for every property. In order to review your data models before submission, it should pass this test. Call: https:\/\/smartdatamodels.org\/extra\/check_schema.php Parameters: (Mandatories) schemaUrl: The link to the RAW version of the schema (see example) mail:\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":"","width":0,"height":0},"classes":[]},{"id":10091,"url":"https:\/\/smartdatamodels.org\/index.php\/new-service-export-you-data-models-to-sql-schema\/","url_meta":{"origin":10019,"position":3},"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":781,"url":"https:\/\/smartdatamodels.org\/index.php\/migration-to-schema-generated-specifications\/","url_meta":{"origin":10019,"position":4},"title":"Migration to schema-generated specifications","author":"maestro","date":"23\/11\/2020","format":false,"excerpt":"In order to: Maintain updated the specifications Be able to provide them in multiple languages Being able to track what properties are already defined Populate properly the database of properties Have a shared image for all contributions Reduce the burden of work for the contributors (it will be reduced to\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":1641,"url":"https:\/\/smartdatamodels.org\/index.php\/create-your-data-model-with-a-google-spreadsheet\/","url_meta":{"origin":10019,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/10019","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=10019"}],"version-history":[{"count":3,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/10019\/revisions"}],"predecessor-version":[{"id":10023,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/10019\/revisions\/10023"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=10019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=10019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=10019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}