{"id":12719,"date":"2025-02-11T08:51:19","date_gmt":"2025-02-11T07:51:19","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=12719"},"modified":"2025-02-10T15:52:08","modified_gmt":"2025-02-10T14:52:08","slug":"another-tiny-improvement-on-the-new-testing-process-ngsild-payloads","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/another-tiny-improvement-on-the-new-testing-process-ngsild-payloads\/","title":{"rendered":"Another tiny improvement on the new testing process (ngsild payloads)"},"content":{"rendered":"<p>In the new testing process, <a href=\"https:\/\/smartdatamodels.org\/index.php\/test-your-data-model\/\">4th option in the tools menu,<\/a> now it is available a new test that checks if the example-normalized.jsonld is a valid NGSI LD file.<\/p>\n<p>This process helps contributors to debug their data models before submit them officially (where there will be new tests before final approval)<\/p>\n<p>The source code for the test is available <a href=\"https:\/\/github.com\/smart-data-models\/data-models\/tree\/master\/test_data_model\/tests\">at the repo<\/a>.<\/p>\n<p>Remember that if you want to improve \/ create a new test, just create a PR on the repo.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the new testing process, 4th option in the tools menu, now it is available a new test that checks if the example-normalized.jsonld is a valid NGSI LD file. This process helps contributors to debug their data models before submit them officially (where there will be new tests before final&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/another-tiny-improvement-on-the-new-testing-process-ngsild-payloads\/\">More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","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":true,"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,111,125,182,201],"tags":[],"class_list":["post-12719","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-smart-agrifood","category-smartdestinations","category-smarthealth","category-smartlogistics"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":12717,"url":"https:\/\/smartdatamodels.org\/index.php\/tiny-improvement-on-the-new-testing-process\/","url_meta":{"origin":12719,"position":0},"title":"Tiny improvement on the new testing process","author":"maestro","date":"10\/02\/2025","format":false,"excerpt":"In the new testing process, 4th option in the tools menu, now it is available a new test that checks if the example-normalized.json is a valid NGSIv2 file. This process helps contributors to debug their data models before submit them officially (where there will be new tests before final approval)\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":923,"url":"https:\/\/smartdatamodels.org\/index.php\/repo-datamodel-weather-updated\/","url_meta":{"origin":12719,"position":1},"title":"Repo dataModel.Weather updated","author":"maestro","date":"04\/12\/2020","format":false,"excerpt":"In the process of converting repositories to the new format, the repo dataModel.Weather is being converted. It means: json schema has already documented every property The new specs in EN-US, FR and ES are 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":[]},{"id":12691,"url":"https:\/\/smartdatamodels.org\/index.php\/improved-test-method-for-data-models\/","url_meta":{"origin":12719,"position":2},"title":"Improved test method for data models","author":"maestro","date":"10\/02\/2025","format":false,"excerpt":"When you want to contribute a new data model (or an improvement in an existing one) you need to pass a test. The current process (3rd option in tools menu) keeps on working as it was. But we have drafted a new method because - We need to be more\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":3281,"url":"https:\/\/smartdatamodels.org\/index.php\/added-all-the-ontologies-coming-from-saref-to-the-external-context-options\/","url_meta":{"origin":12719,"position":3},"title":"Added all the ontologies coming from SAREF to the external context options","author":"maestro","date":"25\/10\/2021","format":false,"excerpt":"The new service for the generation of externally referenced @context has now available the mapping of the 13 SAREF ontologies. Check them out in the ontologies_files directory in the data-models repo.","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":13212,"url":"https:\/\/smartdatamodels.org\/index.php\/new-script-for-testing-several-data-models-at-the-same-time\/","url_meta":{"origin":12719,"position":4},"title":"New script for testing several data models at the same time.","author":"maestro","date":"27\/02\/2025","format":false,"excerpt":"Most of the files of the testing process have been updated and make it available the source code: https:\/\/github.com\/smart-data-models\/data-models\/tree\/master\/test_data_model But also there is a new file multiple_tests.py This file enables you to test all the data models located in a internal subject (subdirectories of the root one). Currently this option\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\/01\/favicon-300x300.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":12623,"url":"https:\/\/smartdatamodels.org\/index.php\/new-testing-process-in-progress-were-you-can-contribute-your-code\/","url_meta":{"origin":12719,"position":5},"title":"New testing process in progress were you can contribute your code","author":"maestro","date":"06\/02\/2025","format":false,"excerpt":"Current test process for new and extended data models In order to approve a new data model a test needs to be passed. It cold be accessed in the 3rd option in the tools menu at the front page: Pro: it is currently working Con: It is mostly created 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":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/12719","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=12719"}],"version-history":[{"count":1,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/12719\/revisions"}],"predecessor-version":[{"id":12720,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/12719\/revisions\/12720"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=12719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=12719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=12719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}