{"id":2603,"date":"2021-06-09T13:07:08","date_gmt":"2021-06-09T11:07:08","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=2603"},"modified":"2021-06-09T13:07:08","modified_gmt":"2021-06-09T11:07:08","slug":"microsoft-digital-twins-export-dtdl-in-beta","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/microsoft-digital-twins-export-dtdl-in-beta\/","title":{"rendered":"Microsoft digital twins export DTDL in beta"},"content":{"rendered":"<p>We have created an export of Smart Data Models in DTDL format. You&#8217;ll see them in the root directory named schemaDTDL.json.<\/p>\n<p>A bit more than 500 models have got it because we are in the process of a final complete mapping between the possibilities of JSON schema and DTDL.<\/p>\n<p>This is the first version for testing purposes and they are not meant to be ready for production. Anyhow, we welcome any feedback on them.<\/p>\n<p>See this example <a href=\"https:\/\/github.com\/smart-data-models\/dataModel.Energy\/blob\/master\/ACMeasurement\/schemaDTDL.json\">schemaDTDL.json<\/a>, and a tool for finding all of them is available <a href=\"https:\/\/smartdatamodels.org\/index.php\/list-of-data-models-3\/\">here<\/a>. (Same tool for any other search).<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have created an export of Smart Data Models in DTDL format. You&#8217;ll see them in the root directory named schemaDTDL.json. A bit more than 500 models have got it because we are in the process of a final complete mapping between the possibilities of JSON schema and DTDL. This&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/microsoft-digital-twins-export-dtdl-in-beta\/\">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-2603","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":2522,"url":"https:\/\/smartdatamodels.org\/index.php\/new-export-format-for-data-models\/","url_meta":{"origin":2603,"position":0},"title":"New export format for data models","author":"maestro","date":"01\/06\/2021","format":false,"excerpt":"The README of the different data models now contains a new option, to export the payloads as a geojson feature. It is a new line at the README of every data model. It provides actual results when the data model has Geoproperties. Otherwise, a warning message is replied 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":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/05\/geojsonfeature.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/05\/geojsonfeature.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/05\/geojsonfeature.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/05\/geojsonfeature.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":10392,"url":"https:\/\/smartdatamodels.org\/index.php\/pydantic-export-now-available\/","url_meta":{"origin":2603,"position":1},"title":"pydantic export now available","author":"maestro","date":"18\/08\/2024","format":false,"excerpt":"The directory \/code\/ (see image with one example)\u00a0 in every data model has now a new draft export the pydantic export. Pydantic is a Python library that provides data validation and settings management using Python type annotations, allowing you to define data models that enforce type constraints and validate data\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\/08\/pydantic_export.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2024\/08\/pydantic_export.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2024\/08\/pydantic_export.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2024\/08\/pydantic_export.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2024\/08\/pydantic_export.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":10091,"url":"https:\/\/smartdatamodels.org\/index.php\/new-service-export-you-data-models-to-sql-schema\/","url_meta":{"origin":2603,"position":2},"title":"New service: Export you data models to SQL schema","author":"maestro","date":"30\/10\/2023","format":false,"excerpt":"We provide a service to Generate a PostgreSQL schema SQL script from the model.yaml representation of a Smart Data Model. You can access this service under this link following Tools > SQL service. You need to provide as input the standard GitHub link to the model.yaml file or the raw\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":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2023\/10\/Screen-Shot-2023-10-30-at-17.14.41-300x201.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":7921,"url":"https:\/\/smartdatamodels.org\/index.php\/sql-export-available-for-postgresql\/","url_meta":{"origin":2603,"position":3},"title":"SQL export available for Postgresql","author":"maestro","date":"21\/12\/2022","format":false,"excerpt":"There is a new file 'schema.sql' in all the directories of the data models. It is a SQL script for PostgreSQL. The script creates the structure of a relational table containing the attributes defined in the data model. It also creates the data types for those attributes with an enumeration\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":1445,"url":"https:\/\/smartdatamodels.org\/index.php\/improved-the-database-of-properties\/","url_meta":{"origin":2603,"position":4},"title":"Improved the database of properties","author":"maestro","date":"26\/01\/2021","format":false,"excerpt":"The database for the searching on data models, properties and their descriptions has been expanded to allow filtering also by : NGSI type (one of Property, Relationship or Geoproperty) data type (string, number, boolean, array, object, etc) Additionally, it has been updated containing more than 11.000 items Accessible from 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":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/01\/search_database.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/01\/search_database.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/01\/search_database.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2021\/01\/search_database.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":26834,"url":"https:\/\/smartdatamodels.org\/index.php\/updated-the-test-file-test_duplicated_attributes\/","url_meta":{"origin":2603,"position":5},"title":"updated the test file test_duplicated_attributes","author":"maestro","date":"23\/09\/2025","format":false,"excerpt":"The contributors of new data models can test their data models in their local repositories with the source code of the testing tool than also can use online Home -> tools -> test your data model it has been updated to deal with those attributes coming from languageMap properties 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\/2603","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=2603"}],"version-history":[{"count":2,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/2603\/revisions"}],"predecessor-version":[{"id":2647,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/2603\/revisions\/2647"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=2603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=2603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=2603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}