{"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":32325,"url":"https:\/\/smartdatamodels.org\/index.php\/besser-smart-data-json-schema-generator\/","url_meta":{"origin":3037,"position":3},"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":930,"url":"https:\/\/smartdatamodels.org\/index.php\/check-a-schema-validates-a-payload\/","url_meta":{"origin":3037,"position":4},"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":904,"url":"https:\/\/smartdatamodels.org\/index.php\/data-models-contribution-api\/","url_meta":{"origin":3037,"position":5},"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":[]}],"_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}]}}