{"id":703,"date":"2020-10-08T17:21:11","date_gmt":"2020-10-08T17:21:11","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=703"},"modified":"2020-10-08T19:24:23","modified_gmt":"2020-10-08T19:24:23","slug":"drafting-service-for-creation-of-automatic-payloads-of-a-smart-data-model","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/drafting-service-for-creation-of-automatic-payloads-of-a-smart-data-model\/","title":{"rendered":"Drafting service for creation of automatic payloads of a Smart Data Model"},"content":{"rendered":"<p>We are in the way of creating a service for testing purposes for getting payloads according to a data model.<\/p>\n<p>The service is under debugging, so it cannot be trusted for production purposes. Let us know issues <a href=\"mailto:alberto.abella@fiware.org\">here<\/a><\/p>\n<p>In order to access it has to access this URL (https:\/\/smartdatamodels.org\/extra\/payload_generator.php) with these two parameters token and dataModel<\/p>\n<p>I.e. with a weather observation in the link below:<\/p>\n<p><a href=\"https:\/\/smartdatamodels.org\/extra\/payload_generator.php?token=7&amp;dataModel=%22https:\/\/raw.githubusercontent.com\/smart-data-models\/data-models\/master\/templates\/examples\/WeatherObserved-example.json%22\">https:\/\/smartdatamodels.org\/extra\/payload_generator.php?token=sSdme8954c9&amp;dataModel=%22WeatherObserved <\/a>(reload page several times for generation)<\/p>\n<p>In the production stage, there will be necessary a token in order to, if necessary, to limit the access for a single user. Additionally, it should be available the options of normalized and keyvalues and for the NGSI v2 and LD. <\/p>\n<p><a href=\"https:\/\/smartdatamodels.org\/index.php\/submit-an-issue-2\/\">Comments are welcomed<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-706\" src=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2020\/10\/Selection_157.png\" alt=\"\" width=\"415\" height=\"679\" srcset=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2020\/10\/Selection_157.png 415w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2020\/10\/Selection_157-183x300.png 183w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are in the way of creating a service for testing purposes for getting payloads according to a data model. The service is under debugging, so it cannot be trusted for production purposes. Let us know issues here In order to access it has to access this URL (https:\/\/smartdatamodels.org\/extra\/payload_generator.php) with&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/drafting-service-for-creation-of-automatic-payloads-of-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,"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},"jetpack_post_was_ever_published":false},"categories":[105,107,109,113,115,119,117,88,143,111,125],"tags":[],"class_list":["post-703","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":698,"url":"https:\/\/smartdatamodels.org\/index.php\/drafting-service-for-checking-properties-of-a-new-data-model\/","url_meta":{"origin":703,"position":0},"title":"Drafting service for checking properties of a new data model","author":"maestro","date":"08\/10\/2020","format":false,"excerpt":"We are in the way of creating a service for those contributors willing to contribute with a complete data model. The service is under debugging, so it cannot be trusted for production purposes. Let us know issues here In order to access it has to access this URL (https:\/\/smartdatamodels.org\/extra\/check_properties.php) with\u2026","rel":"","context":"In &quot;Internal&quot;","block_context":{"text":"Internal","link":"https:\/\/smartdatamodels.org\/index.php\/category\/internal\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/smartdatamodels.org\/wp-content\/uploads\/2020\/10\/Selection_156.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":703,"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":2255,"url":"https:\/\/smartdatamodels.org\/index.php\/ngsi-ld-key-values-service-in-the-readme-of-every\/","url_meta":{"origin":703,"position":2},"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":908,"url":"https:\/\/smartdatamodels.org\/index.php\/create-automatically-the-specification-of-your-data-model\/","url_meta":{"origin":703,"position":3},"title":"Create automatically the specification of your data model","author":"maestro","date":"02\/12\/2020","format":false,"excerpt":"The new version of the smart data models specification is on progress (most of the \/doc directories of the data models have a version). If you want to check how this would look like you can have through this API call Call: https:\/\/smartdatamodels.org\/extra\/create_spec.php Parameters: (Mandatories) dataModel: The name of 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":2482,"url":"https:\/\/smartdatamodels.org\/index.php\/new-subject-datamodel-dcat-ap-for-connection-with-open-data-portals-catalogue-data-model\/","url_meta":{"origin":703,"position":4},"title":"New subject dataModel.DCAT-AP for connection with open data portals. Catalogue data model.","author":"maestro","date":"28\/05\/2021","format":false,"excerpt":"There is a new subject into Cross Sector domain for mapping the DCAT-AP 2.0.1 standard into smart data models. This is the standard for catalogs and other elements to be shared from open data portals. See the specification of this standard. The first data model is the CatalogueDCAT-AP which has\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":10306,"url":"https:\/\/smartdatamodels.org\/index.php\/minor-extension-of-pysmartdatamodels-0-6-4-1\/","url_meta":{"origin":703,"position":5},"title":"Minor extension of pysmartdatamodels 0.6.4.1","author":"maestro","date":"28\/02\/2024","format":false,"excerpt":"There is a minor new version of the package pysmartdatamodels. Now it allows to have in the metadata of a data model the direct links to the specification in the 8 languages. you can access thanks to the function list_datamodel_metadata and accessing the objects with the keys, spec, spec_DE, spec_ES,\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\/02\/pysdm_0.6.4.1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/703","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=703"}],"version-history":[{"count":4,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/703\/revisions"}],"predecessor-version":[{"id":710,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/703\/revisions\/710"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}