{"id":698,"date":"2020-10-08T17:08:29","date_gmt":"2020-10-08T17:08:29","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=698"},"modified":"2020-10-08T17:11:25","modified_gmt":"2020-10-08T17:11:25","slug":"drafting-service-for-checking-properties-of-a-new-data-model","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/drafting-service-for-checking-properties-of-a-new-data-model\/","title":{"rendered":"Drafting service for checking properties of a new data model"},"content":{"rendered":"<p>We are in the way of creating a service for those contributors willing to contribute with a complete 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\/check_properties.php) with this parameter ?urlSchema=[url of the raw access o the JSON schema]\n<p>I.e. a complete link could be<\/p>\n<p><a href=\"https:\/\/smartdatamodels.org\/extra\/check_properties.php?urlSchema=https:\/\/raw.githubusercontent.com\/smart-data-models\/dataModel.Agrifood\/60755d5e970f18938a59dcb190a91ac5622c6c11\/AgriParcel\/schema.json\">https:\/\/smartdatamodels.org\/extra\/check_properties.php?urlSchema=https:\/\/raw.githubusercontent.com\/smart-data-models\/dataModel.Agrifood\/60755d5e970f18938a59dcb190a91ac5622c6c11\/AgriParcel\/schema.json<\/a><\/p>\n<p>It returns a JSON payload indicating if this property is available for use (not used in any other data model) or in the case it is already being used what data models are currently using.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-700\" src=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2020\/10\/Selection_156.png\" alt=\"\" width=\"467\" height=\"766\" srcset=\"https:\/\/smartdatamodels.org\/wp-content\/uploads\/2020\/10\/Selection_156.png 467w, https:\/\/smartdatamodels.org\/wp-content\/uploads\/2020\/10\/Selection_156-183x300.png 183w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/drafting-service-for-checking-properties-of-a-new-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,"_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":[74,107,109,113,115,119,117,88,143,111,125],"tags":[],"class_list":["post-698","post","type-post","status-publish","format-standard","hentry","category-internal","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":703,"url":"https:\/\/smartdatamodels.org\/index.php\/drafting-service-for-creation-of-automatic-payloads-of-a-smart-data-model\/","url_meta":{"origin":698,"position":0},"title":"Drafting service for creation of automatic payloads of a Smart Data Model","author":"maestro","date":"08\/10\/2020","format":false,"excerpt":"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\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\/2020\/10\/Selection_157.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1842,"url":"https:\/\/smartdatamodels.org\/index.php\/alpha-version-of-the-service-for-generating-an-ngsi-ld-payload-based-on-a-smart-data-model\/","url_meta":{"origin":698,"position":1},"title":"Alpha version of the service for generating an NGSI-LD payload based on a Smart Data Model","author":"maestro","date":"03\/03\/2021","format":false,"excerpt":"This is an alpha version (so you can expect errors and not being complete). Use it at your own risk. Please report errors and suggestions at info@smartdatamodels.org Call: https:\/\/smartdatamodels.org\/extra\/ngsi-ld_generator.php Parameters: (Mandatories) schemaUrl: The link to the RAW version of the json schema (see example) email: your email Example: https:\/\/smartdatamodels.org\/extra\/ngsi-ld_generator.php?schemaUrl=https:\/\/raw.githubusercontent.com\/smart-data-models\/dataModel.Streetlighting\/f56f5a7933ab05d7fce1d5adc0847f25a099cdb4\/StreetlightModel\/schema.json&email=alberto.abella@fiware.org Use\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":10091,"url":"https:\/\/smartdatamodels.org\/index.php\/new-service-export-you-data-models-to-sql-schema\/","url_meta":{"origin":698,"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":7119,"url":"https:\/\/smartdatamodels.org\/index.php\/contributors-updated-the-service-for-checking-your-schema\/","url_meta":{"origin":698,"position":3},"title":"Contributors: Updated the service for checking your schema","author":"maestro","date":"19\/09\/2022","format":false,"excerpt":"In order to create a new data model or to update an existing one, Check your schema before contributing it, to check the schema on the front page. The service has been updated to check not only the attributes of the payload but also the schema metadata (schema version, license,\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":908,"url":"https:\/\/smartdatamodels.org\/index.php\/create-automatically-the-specification-of-your-data-model\/","url_meta":{"origin":698,"position":4},"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":904,"url":"https:\/\/smartdatamodels.org\/index.php\/data-models-contribution-api\/","url_meta":{"origin":698,"position":5},"title":"Data Models Contribution API","author":"maestro","date":"30\/11\/2020","format":false,"excerpt":"The schemas to be accepted in the Smart Data Model initiative need to include a description for every property. In order to review your data models before submission, it should pass this test. Call: https:\/\/smartdatamodels.org\/extra\/check_schema.php Parameters: (Mandatories) schemaUrl: The link to the RAW version of the schema (see example) mail:\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":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/698","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=698"}],"version-history":[{"count":3,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/698\/revisions"}],"predecessor-version":[{"id":702,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/698\/revisions\/702"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}