{"id":2205,"date":"2021-04-28T10:41:16","date_gmt":"2021-04-28T08:41:16","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=2205"},"modified":"2021-04-28T18:29:44","modified_gmt":"2021-04-28T16:29:44","slug":"new-service-generate-a-ngsi-ld-payload-keyvalues-format-compliant-with-a-smart-data-model","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/new-service-generate-a-ngsi-ld-payload-keyvalues-format-compliant-with-a-smart-data-model\/","title":{"rendered":"New service: Generate a NGSI-LD payload keyvalues format compliant with a Smart Data Model"},"content":{"rendered":"<p>There is a new service for users, which is the ability to generate an example payload compliant with a specific data model in key values format. Previously it was available the normalized format.<\/p>\n<p>Options are located in the main menu (Generate NGSI examples)<\/p>\n<ul>\n<li><a href=\"https:\/\/smartdatamodels.org\/index.php\/generate-a-ngsi-ld-payload-based-on-a-smart-data-model\/\">NGSI-LD normalized format<\/a><\/li>\n<li><a href=\"https:\/\/smartdatamodels.org\/index.php\/generate-a-ngsi-ld-keyvalues-payload-compliant-with-a-data-model\/\">NGSI-LD keyvalues format<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/smartdatamodels.org\/index.php\/generate-examples-of-ngsi-payloads-compliant-with-a-data-model\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2206 size-thumbnail\" src=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/NGSI_examples-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is a new service for users, which is the ability to generate an example payload compliant with a specific data model in key values format. Previously it was available the normalized format. Options are located in the main menu (Generate NGSI examples) NGSI-LD normalized format NGSI-LD keyvalues format <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/new-service-generate-a-ngsi-ld-payload-keyvalues-format-compliant-with-a-smart-data-model\/\">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,107,109,113,115,119,117,88,143,111,125],"tags":[],"class_list":["post-2205","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"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2255,"url":"https:\/\/smartdatamodels.org\/index.php\/ngsi-ld-key-values-service-in-the-readme-of-every\/","url_meta":{"origin":2205,"position":0},"title":"NGSI-LD key values service in the README of every","author":"maestro","date":"03\/05\/2021","format":false,"excerpt":"In the README of every data model now there is a new line in the Dynamic examples section, under the text \"Link to the Generator of NGSI-LD keyvalues payloads compliant with this data model. Refresh for new values\" The link provides an example of a NGSI keyvalues payload with values\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\/04\/Selection_425.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/Selection_425.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/Selection_425.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/Selection_425.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":3037,"url":"https:\/\/smartdatamodels.org\/index.php\/updated-the-resources-for-generating-automatic-examples\/","url_meta":{"origin":2205,"position":1},"title":"Updated the resources for generating automatic examples","author":"maestro","date":"31\/08\/2021","format":false,"excerpt":"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.\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":9334,"url":"https:\/\/smartdatamodels.org\/index.php\/new-version-of-the-python-package-pysmartdatamodels-0-6-0\/","url_meta":{"origin":2205,"position":2},"title":"New Version of the Python Package pysmartdatamodels 0.6.0","author":"maestro","date":"01\/08\/2023","format":false,"excerpt":"There is a new version of the python package for pysmartdatamodels 0.6.0. This python package includes all the data models and several functions to use them in your developments. Changelog: - Four new functions New functions to generate fake example files given the schema payload of the data model in\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":"pysmartdatamodels 0.6.0","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-01-at-09.34.53-300x162.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-01-at-09.34.53-300x162.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-01-at-09.34.53-300x162.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"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":2205,"position":3},"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":636,"url":"https:\/\/smartdatamodels.org\/index.php\/automatic-creation-of-examples\/","url_meta":{"origin":2205,"position":4},"title":"Automatic creation of examples","author":"maestro","date":"10\/09\/2020","format":false,"excerpt":"In order to reduce the amount of work in the contribution of data models, we have a script that generates the key-values format of a normalized NGSI LD payload. It has been operated on 46 data models currently in the repository. In a close future instead of submitting 4 examples,\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":2205,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/2205","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=2205"}],"version-history":[{"count":3,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/2205\/revisions"}],"predecessor-version":[{"id":2209,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/2205\/revisions\/2209"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=2205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=2205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=2205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}