{"id":1969,"date":"2021-03-23T19:57:15","date_gmt":"2021-03-23T18:57:15","guid":{"rendered":"https:\/\/smartdatamodels.org\/?p=1969"},"modified":"2021-03-23T19:57:15","modified_gmt":"2021-03-23T18:57:15","slug":"include-useralias-in-common-schema-json","status":"publish","type":"post","link":"https:\/\/smartdatamodels.org\/index.php\/include-useralias-in-common-schema-json\/","title":{"rendered":"Include userAlias in common-schema.json"},"content":{"rendered":"<p>The file <a href=\"https:\/\/github.com\/smart-data-models\/data-models\/blob\/master\/common-schema.json\">common-schema.json<\/a> compiles those properties massively used across the different data models in the different domains.<br \/>\nThe property userAlias has been included to store those anonymous identifiers of a user that cannot be traced back to the user.<br \/>\nIt can be referenced in any data model just by including this code<\/p>\n<blockquote><p>&#8220;userAlias&#8221;: {<br \/>\n&#8220;$ref&#8221; : &#8220;https:\/\/smart-data-models.github.io\/data-models\/common-schema.json#\/definitions\/userAlias&#8221;<br \/>\n}<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>The file common-schema.json compiles those properties massively used across the different data models in the different domains. The property userAlias has been included to store those anonymous identifiers of a user that cannot be traced back to the user. It can be referenced in any data model just by including&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/include-useralias-in-common-schema-json\/\">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":[105,107,109,113,115,119,117,88,143,111,125],"tags":[],"class_list":["post-1969","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":8389,"url":"https:\/\/smartdatamodels.org\/index.php\/updated-common-schema-json\/","url_meta":{"origin":1969,"position":0},"title":"updated common-schema.json","author":"maestro","date":"02\/03\/2023","format":false,"excerpt":"We have noticed an error in the description of the attribute location in the file common-schema.json, a file that is embedded in most of the data models. It does not affect the data types (so the validation of the schemas is not affected) but it affects the qualification 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":2590,"url":"https:\/\/smartdatamodels.org\/index.php\/geoproperties-documented\/","url_meta":{"origin":1969,"position":1},"title":"Geoproperties documented","author":"maestro","date":"04\/06\/2021","format":false,"excerpt":"Geoproperties were formerly not documented because it was not possible to include the description into the definition of the data model. Previously, the definition of Geojson property was retrieved from the original source, which prevents the documentation to be added. No its has been cloned into the common-schema.json, and 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":1451,"url":"https:\/\/smartdatamodels.org\/index.php\/updated-waternetwork-datamodels\/","url_meta":{"origin":1969,"position":2},"title":"Updated waternetwork datamodels","author":"maestro","date":"26\/01\/2021","format":false,"excerpt":"The 8 data models in the repository dataModel.WaterNetworkManangement in the Smart Water domain have been updated to be aligned with the shared properties of GSMA commons in the shared properties common-schema.json.. This change does not affect the existing data models but with the extensions of these elements. \u00a0","rel":"","context":"In &quot;Smart Water Domain&quot;","block_context":{"text":"Smart Water Domain","link":"https:\/\/smartdatamodels.org\/index.php\/category\/smart-water\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2347,"url":"https:\/\/smartdatamodels.org\/index.php\/update-the-specs\/","url_meta":{"origin":1969,"position":3},"title":"Update the specs","author":"maestro","date":"13\/05\/2021","format":false,"excerpt":"Many of the contributors of the data models are providing changes into the spec.md and its translations. Fortunately, this is not necessary. You just need to provide the changes in the descriptions included in the schema.json file of each data model. Now in order to save time for the contributors,\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\/automatically_generated.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":796,"url":"https:\/\/smartdatamodels.org\/index.php\/french-translation-of-data-models-available\/","url_meta":{"origin":1969,"position":4},"title":"French translation of data models available","author":"maestro","date":"25\/11\/2020","format":false,"excerpt":"Most of the data models have a new file into its \/doc directory name spec_FR.md. It contains a specification generated automatically based on the schema.json with all its texts translated into French. (With the deepL tool, so you can expect some \u2018incorrect\u2019 translated elements). The official spec remains to be\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":698,"url":"https:\/\/smartdatamodels.org\/index.php\/drafting-service-for-checking-properties-of-a-new-data-model\/","url_meta":{"origin":1969,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/1969","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=1969"}],"version-history":[{"count":2,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/1969\/revisions"}],"predecessor-version":[{"id":1971,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/posts\/1969\/revisions\/1971"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=1969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/categories?post=1969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/tags?post=1969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}