{"id":2255,"date":"2021-05-03T15:09:17","date_gmt":"2021-05-03T13:09:17","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=2255"},"modified":"2021-10-07T13:11:24","modified_gmt":"2021-10-07T11:11:24","slug":"ngsi-ld-key-values-service-in-the-readme-of-every","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/ngsi-ld-key-values-service-in-the-readme-of-every\/","title":{"rendered":"NGSI-LD key values service in the README of every"},"content":{"rendered":"<p>In the README of every data model now there is a new line in the Dynamic examples section, under the text<\/p>\n<p>&#8220;Link to the <a href=\"https:\/\/smartdatamodels.org\/extra\/ngsi-ld_generator_keyvalues_v0.95.php?schemaUrl=https:\/\/raw.githubusercontent.com\/smart-data-models\/dataModel.WaterQuality\/master\/WaterQualityObserved\/schema.json&amp;email=info@smartdatamodels.org\" rel=\"nofollow\">Generator<\/a> of NGSI-LD keyvalues payloads compliant with this data model. Refresh for new values&#8221;<\/p>\n<p>The link provides an example of a NGSI keyvalues payload with values compliant with the data types of this smart data model but generated randomly (so it does not look like static examples which actually are coming from real examples)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2256\" src=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/Selection_425.png\" alt=\"\" width=\"861\" height=\"739\" srcset=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/Selection_425.png 861w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/Selection_425-300x257.png 300w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/Selection_425-768x659.png 768w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/Selection_425-408x350.png 408w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/Selection_425-150x129.png 150w\" sizes=\"auto, (max-width: 861px) 100vw, 861px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the README of every data model now there is a new line in the Dynamic examples section, under the text &#8220;Link to the Generator of NGSI-LD keyvalues payloads compliant with this data model. Refresh for new values&#8221; The link provides an example of a NGSI keyvalues payload with values&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/ngsi-ld-key-values-service-in-the-readme-of-every\/\">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-2255","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":2205,"url":"https:\/\/smartdatamodels.org\/index.php\/new-service-generate-a-ngsi-ld-payload-keyvalues-format-compliant-with-a-smart-data-model\/","url_meta":{"origin":2255,"position":0},"title":"New service: Generate a NGSI-LD payload keyvalues format compliant with a Smart Data Model","author":"maestro","date":"28\/04\/2021","format":false,"excerpt":"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","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\/NGSI_examples-150x150.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2018,"url":"https:\/\/smartdatamodels.org\/index.php\/new-ngsi-linked-data-generator-for-every-data-model\/","url_meta":{"origin":2255,"position":1},"title":"New NGSI  linked data generator for every data model","author":"maestro","date":"02\/04\/2021","format":false,"excerpt":"Now the README file of every data model includes a link to the generator of NGSI-LD payloads compliant with the data model. As you can see in the image below there is a new section \"Dynamic examples generation\" There is the sentence \"Link to the Generator of NGSI-LD payloads compliant\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\/readme.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/readme.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/readme.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/04\/readme.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":2255,"position":2},"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":2455,"url":"https:\/\/smartdatamodels.org\/index.php\/data-model-readme-improvement\/","url_meta":{"origin":2255,"position":3},"title":"Data model README improvement","author":"maestro","date":"24\/05\/2021","format":false,"excerpt":"The README.md of every data model provides the links to the different translations of the specification. These sentences are now in their original languages. Additionally, these links now take to the specification in GitHub and stop prompting to be downloaded. Other information available in the README include: Links to 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":629,"url":"https:\/\/smartdatamodels.org\/index.php\/making-examples-more-consistent\/","url_meta":{"origin":2255,"position":4},"title":"Making examples more consistent","author":"maestro","date":"09\/09\/2020","format":false,"excerpt":"All the repositories have been normalized in the naming of the core examples. So: Key values in NGSI v2 is named example.json Key values in NGSI LD is named example.jsonld Normalized (default) in NGSI v2 is named example-normalized.json Normalized (default) in NGSI LD is named example-normalized.jsonld It is possible 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":2818,"url":"https:\/\/smartdatamodels.org\/index.php\/source-code-for-generating-ngsi-ld-key-values-examples-based-on-smart-data-models-released\/","url_meta":{"origin":2255,"position":5},"title":"Source code for generating NGSI-LD key values examples based on Smart Data Models released","author":"maestro","date":"05\/07\/2021","format":false,"excerpt":"According to the last open session, the script for the creation of the examples of the NGSI-LD key values is available for review and use with an open license. It is a python 3.6 script you can access in the utils directory of the initiative. Source code available","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\/2255","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=2255"}],"version-history":[{"count":2,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/2255\/revisions"}],"predecessor-version":[{"id":3184,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/2255\/revisions\/3184"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=2255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=2255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=2255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}