{"id":492,"date":"2020-06-29T08:55:44","date_gmt":"2020-06-29T08:55:44","guid":{"rendered":"http:\/\/data-models.fiware.org\/?p=492"},"modified":"2020-06-29T10:48:18","modified_gmt":"2020-06-29T10:48:18","slug":"moved-examples-to-the-directory-examples","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/moved-examples-to-the-directory-examples\/","title":{"rendered":"Moved examples to the directory examples"},"content":{"rendered":"<p>Dear users, now you&#8217;ll realise that examples are no longer in the root repo of every data model but in the examples folder.<\/p>\n<p>The aims of this change are:<\/p>\n<ul>\n<li>Open the ability to have more exports and options of the examples<\/li>\n<li>Get cleaner the root directory<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dear users, now you&#8217;ll realise that examples are no longer in the root repo of every data model but in the examples folder. The aims of this change are: Open the ability to have more exports and options of the examples Get cleaner the root directory &nbsp; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/moved-examples-to-the-directory-examples\/\">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":[1],"tags":[],"class_list":["post-492","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2594,"url":"https:\/\/smartdatamodels.org\/index.php\/geojson-features-format-examples-available-at-examples-directory\/","url_meta":{"origin":492,"position":0},"title":"Geojson features format examples available at examples directory","author":"maestro","date":"07\/06\/2021","format":false,"excerpt":"Those data models containing examples with a geoproperty, now there also include another file named: example-geojsonfeature.json with this format. So not all the data models include this example, which is generated automatically (so there is not a need to be contributed). See an example: \u00a0 \u00a0","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":492,"position":1},"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":548,"url":"https:\/\/smartdatamodels.org\/index.php\/updated-the-csv-examples\/","url_meta":{"origin":492,"position":2},"title":"Updated the csv examples","author":"maestro","date":"08\/08\/2020","format":false,"excerpt":"Every data model has a directory with examples of the payloads (json and jsonld) in key-values and normalized formats. But it also includes examples of csv that it could help to connect the data models for other platforms. Now, these examples are re-created automatically once a day. The naming convention\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":492,"position":3},"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":[]},{"id":10360,"url":"https:\/\/smartdatamodels.org\/index.php\/examples-of-code-associated-to-every-data-model\/","url_meta":{"origin":492,"position":4},"title":"Examples of code associated to every data model","author":"maestro","date":"15\/05\/2024","format":false,"excerpt":"In order to make easier the use of the Smart Data Models now in every repository in GitHub there is a new directory named 'code' that contains for the python code using the pysmartdatamodels\u00a0 for the architecture in the image below. The idea is a code that fills several attributes\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\/2024\/05\/code_example_architecture.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":9038,"url":"https:\/\/smartdatamodels.org\/index.php\/new-test-service-for-contributors-strongly-recommended-before-contributing-a-data-model\/","url_meta":{"origin":492,"position":5},"title":"New test service for contributors. Strongly recommended before contributing a data model.","author":"maestro","date":"06\/06\/2023","format":false,"excerpt":"There is a new service for simplifying the testing of a contribution to a data model. The new service will check it, just by providing the link to the root of the folder in an publicly accessible repository That the schema.json is Present in the right position It is a\u2026","rel":"","context":"In &quot;Governance&quot;","block_context":{"text":"Governance","link":"https:\/\/smartdatamodels.org\/index.php\/category\/governance\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/492","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=492"}],"version-history":[{"count":1,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/492\/revisions"}],"predecessor-version":[{"id":493,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/492\/revisions\/493"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}