{"id":3037,"date":"2021-08-31T17:54:45","date_gmt":"2021-08-31T15:54:45","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=3037"},"modified":"2021-08-31T17:54:45","modified_gmt":"2021-08-31T15:54:45","slug":"updated-the-resources-for-generating-automatic-examples","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/updated-the-resources-for-generating-automatic-examples\/","title":{"rendered":"Updated the resources for generating automatic examples"},"content":{"rendered":"<p>Once you have the json schema of a smart Data model there are two services that allow you to generate random payloads compliant with the JSON schema in NGSI-LD.<br \/>\nboth services are for generating<\/p>\n<ul>\n<li><a href=\"https:\/\/smartdatamodels.org\/index.php\/generate-a-ngsi-ld-keyvalues-payload-compliant-with-a-data-model\/\">A keyvalues payload<\/a><\/li>\n<li><a href=\"https:\/\/smartdatamodels.org\/index.php\/generate-a-ngsi-ld-payload-based-on-a-smart-data-model\/\">A normalized payload<\/a><\/li>\n<\/ul>\n<p>these services have been updated and some errors were fixed.<\/p>\n<p>Soon these services will be also available for NGSI v2 platform.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once you have the json schema of a smart Data model there are two services that allow you to generate random payloads compliant with the JSON schema in NGSI-LD. both services are for generating A keyvalues payload A normalized payload these services have been updated and some errors were fixed&#8230;. <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/updated-the-resources-for-generating-automatic-examples\/\">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,"_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,107,109,113,115,119,117,88,143,111,125,182],"tags":[],"class_list":["post-3037","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"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1842,"url":"https:\/\/smartdatamodels.org\/index.php\/alpha-version-of-the-service-for-generating-an-ngsi-ld-payload-based-on-a-smart-data-model\/","url_meta":{"origin":3037,"position":0},"title":"Alpha version of the service for generating an NGSI-LD payload based on a Smart Data Model","author":"maestro","date":"03\/03\/2021","format":false,"excerpt":"This is an alpha version (so you can expect errors and not being complete). Use it at your own risk. Please report errors and suggestions at info@smartdatamodels.org Call: https:\/\/smartdatamodels.org\/extra\/ngsi-ld_generator.php Parameters: (Mandatories) schemaUrl: The link to the RAW version of the json schema (see example) email: your email Example: https:\/\/smartdatamodels.org\/extra\/ngsi-ld_generator.php?schemaUrl=https:\/\/raw.githubusercontent.com\/smart-data-models\/dataModel.Streetlighting\/f56f5a7933ab05d7fce1d5adc0847f25a099cdb4\/StreetlightModel\/schema.json&email=alberto.abella@fiware.org Use\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":10019,"url":"https:\/\/smartdatamodels.org\/index.php\/update-generate-the-schema-out-of-your-payload\/","url_meta":{"origin":3037,"position":1},"title":"Update: Generate the schema out of your payload","author":"maestro","date":"20\/10\/2023","format":false,"excerpt":"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\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":8389,"url":"https:\/\/smartdatamodels.org\/index.php\/updated-common-schema-json\/","url_meta":{"origin":3037,"position":2},"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":930,"url":"https:\/\/smartdatamodels.org\/index.php\/check-a-schema-validates-a-payload\/","url_meta":{"origin":3037,"position":3},"title":"Check a schema validates a payload","author":"maestro","date":"07\/12\/2020","format":false,"excerpt":"If you want to check if a schema validates a payload\u00a0 through this API call Call: https:\/\/smartdatamodels.org\/extra\/validate_payload.php Parameters: (Mandatories) payloadUrl: The url of the payload in RAW version schemaUrl: The link to the RAW version of the json schema (see example) Example: https:\/\/smartdatamodels.org\/extra\/validate_payload.php?payloadUrl=https:\/\/raw.githubusercontent.com\/smart-data-models\/dataModel.Battery\/master\/Battery\/examples\/example.json&schemaUrl=https:\/\/raw.githubusercontent.com\/smart-data-models\/dataModel.Battery\/master\/Battery\/schema.json Output: A json payload with these properties\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":32325,"url":"https:\/\/smartdatamodels.org\/index.php\/besser-smart-data-json-schema-generator\/","url_meta":{"origin":3037,"position":4},"title":"BESSER Smart Data JSON Schema Generator","author":"maestro","date":"27\/02\/2026","format":false,"excerpt":"Overview The tool automates the generation of Smart Data Models (SDM) from visual models, bridging the gap between high-level domain design and technical implementation for Digital Twins and IoT ecosystems. Technical Workflow Input: Users define domain entities and relationships using B-UML (a simplified UML dialect) within the BESSER Pearl editor.\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":7671,"url":"https:\/\/smartdatamodels.org\/index.php\/release-source-code-for-some-of-the-services-for-python-developers\/","url_meta":{"origin":3037,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/3037","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=3037"}],"version-history":[{"count":1,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/3037\/revisions"}],"predecessor-version":[{"id":3038,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/3037\/revisions\/3038"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=3037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=3037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=3037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}