{"id":41,"date":"2020-03-17T16:36:39","date_gmt":"2020-03-17T16:36:39","guid":{"rendered":"http:\/\/data-models.fiware.org\/?page_id=41"},"modified":"2020-12-09T17:34:44","modified_gmt":"2020-12-09T17:34:44","slug":"attributes-and-enumerations-database","status":"publish","type":"page","link":"https:\/\/smartdatamodels.org\/index.php\/attributes-and-enumerations-database\/","title":{"rendered":"Attributes and Enumerations database"},"content":{"rendered":"<p>Our recommendation is that whenever you are coding the properties (fields) of any data model you could code it with the same name for equal concepts.<br \/>\nthen you can write down on the blue cell and in the yellow columns, you will see what other data models have coded something containing this string.<\/p>\n\n<div class=\"wpdt-c wdt-skin-light\">\n    \n<input type=\"hidden\" id=\"wdtFrontendelementorNonce_1\" name=\"wdtFrontendelementorNonce_1\" value=\"a1807ae7a9\" \/>    <input type=\"hidden\" id=\"table_1_desc\"\n           value='{\"tableId\":\"table_1\",\"tableType\":\"json\",\"selector\":\"#table_1\",\"responsive\":true,\"responsiveAction\":\"icon\",\"editable\":false,\"inlineEditing\":false,\"infoBlock\":true,\"pagination_top\":0,\"pagination\":1,\"paginationAlign\":\"right\",\"paginationLayout\":\"full_numbers\",\"paginationLayoutMobile\":\"simple\",\"file_location\":\"\",\"tableSkin\":\"light\",\"table_wcag\":0,\"simple_template_id\":0,\"scrollable\":true,\"fixedLayout\":false,\"globalSearch\":true,\"showRowsPerPage\":true,\"popoverTools\":false,\"loader\":\"1\",\"showCartInformation\":1,\"hideBeforeLoad\":false,\"number_format\":1,\"decimalPlaces\":2,\"spinnerSrc\":\"https:\\\/\\\/smartdatamodels.org\\\/wp-content\\\/plugins\\\/wpdatatables\\\/assets\\\/\\\/img\\\/spinner.gif\",\"index_column\":0,\"groupingEnabled\":true,\"groupingColumnIndex\":1,\"tableWpId\":1,\"dataTableParams\":{\"sDom\":\"BT\\u003C\\u0027clear\\u0027\\u003Elf\\u003C\\u0027wdtscroll\\u0027t\\u003Eip\",\"bSortCellsTop\":false,\"bFilter\":true,\"bPaginate\":true,\"sPaginationType\":\"full_numbers\",\"aLengthMenu\":[[1,5,10,25,50,100,-1],[1,5,10,25,50,100,\"All\"]],\"iDisplayLength\":10,\"columnDefs\":[{\"sType\":\"string\",\"wdtType\":\"string\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"text\",\"name\":\"name\",\"origHeader\":\"name\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-name\",\"aTargets\":[0]},{\"sType\":\"string\",\"wdtType\":\"string\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"text\",\"name\":\"dataModel\",\"origHeader\":\"dataModel\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-datamodel\",\"aTargets\":[1]},{\"sType\":\"string\",\"wdtType\":\"link\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"text\",\"name\":\"schema\",\"origHeader\":\"schema\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-schema\",\"aTargets\":[2]},{\"sType\":\"string\",\"wdtType\":\"string\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"text\",\"name\":\"dataType\",\"origHeader\":\"dataType\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-datatype\",\"aTargets\":[3]},{\"sType\":\"string\",\"wdtType\":\"string\",\"bVisible\":true,\"orderable\":true,\"searchable\":true,\"InputType\":\"text\",\"name\":\"type\",\"origHeader\":\"type\",\"notNull\":false,\"conditionalFormattingRules\":[],\"transformValueRules\":\"\",\"className\":\" column-type\",\"aTargets\":[4]}],\"bAutoWidth\":false,\"order\":[[1,\"asc\"]],\"ordering\":true,\"fixedHeader\":{\"header\":false,\"headerOffset\":0},\"fixedColumns\":false,\"buttons\":[{\"extend\":\"print\",\"exportOptions\":{\"columns\":\":visible\",\"stripHtml\":true},\"className\":\"DTTT_button DTTT_button_print\",\"title\":\"attributes and enumerations\",\"text\":\"Print\"},{\"extend\":\"excelHtml5\",\"exportOptions\":{\"columns\":\":visible\",\"stripHtml\":true},\"className\":\"DTTT_button DTTT_button_xls\",\"filename\":\"attributes and enumerations\",\"title\":null,\"text\":\"Excel\"},{\"extend\":\"csvHtml5\",\"exportOptions\":{\"columns\":\":visible\",\"stripHtml\":true},\"className\":\"DTTT_button DTTT_button_csv\",\"title\":\"attributes and enumerations\",\"text\":\"CSV\"},{\"extend\":\"copyHtml5\",\"exportOptions\":{\"columns\":\":visible\",\"stripHtml\":true},\"className\":\"DTTT_button DTTT_button_copy\",\"filename\":\"attributes and enumerations\",\"title\":null,\"text\":\"Copy\"}],\"oLanguage\":{\"sSearchPlaceholder\":\"\"},\"bProcessing\":false,\"oSearch\":{\"bSmart\":false,\"bRegex\":false,\"sSearch\":\"\"}},\"customRowDisplay\":\"\",\"tabletWidth\":\"1024\",\"mobileWidth\":\"480\",\"renderFilter\":\"footer\",\"advancedFilterEnabled\":false,\"serverSide\":false,\"columnsFixed\":0,\"sumFunctionsLabel\":\"\",\"avgFunctionsLabel\":\"\",\"minFunctionsLabel\":\"\",\"maxFunctionsLabel\":\"\",\"columnsDecimalPlaces\":{\"name\":-1,\"dataModel\":-1,\"schema\":-1,\"dataType\":-1,\"type\":-1},\"columnsThousandsSeparator\":[],\"sumColumns\":[],\"avgColumns\":[],\"sumAvgColumns\":[],\"timeFormat\":\"h:i A\",\"datepickFormat\":\"dd\\\/mm\\\/yy\"}'\/>\n\n    <table id=\"table_1\"\n           class=\" wpdt-has-grouping scroll responsive display nowrap wdt-no-display data-t data-t wpDataTable wpDataTableID-1 \"\n           style=\"\"\n           data-described-by='table_1_desc'\n           data-wpdatatable_id=\"1\">\n        \n        <!-- Table header -->\n        \n<thead>\n<tr>\n                    <th\n        data-class=\"expand\"                class=\" wdtheader sort \"\n        style=\"\">        name<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        dataModel<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        schema<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        dataType<\/th>        <th\n                        class=\" wdtheader sort \"\n        style=\"\">        type<\/th>    <\/tr>\n<\/thead>\n        <!-- \/Table header -->\n\n        <!-- Table body -->\n        \n<tbody>\n<!-- Table body -->\n<div data-id=\"1\"\n     class=\"wdt-timeline-item wdt-timeline-table_1\"\n     style=\"\">\n    <div class=\"wdt-table-loader\">\n        <div class=\"wdt-table-loader-row wdt-table-loader-header\">\n            <div class=\"wdt-table-loader-header-cell wdt-animated-background\"><\/div>\n            <div class=\"wdt-table-loader-header-cell wdt-animated-background\"><\/div>\n            <div class=\"wdt-table-loader-header-cell wdt-animated-background\"><\/div>\n        <\/div>\n                    <div class=\"wdt-table-loader-row\">\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n                <div class=\"wdt-table-loader-cell wdt-animated-background\"><\/div>\n            <\/div>\n            <\/div>\n<\/div><!-- \/Table body -->\n    <\/tbody>        <!-- \/Table body -->\n\n        <!-- Table footer -->\n        \n    <tfoot>\n                <tr >\n                            <td\n                class=\"wdtheader sort \"\n                style=\"\"><\/td>                <td\n                class=\"wdtheader sort \"\n                style=\"\"><\/td>                <td\n                class=\"wdtheader sort \"\n                style=\"\"><\/td>                <td\n                class=\"wdtheader sort \"\n                style=\"\"><\/td>                <td\n                class=\"wdtheader sort \"\n                style=\"\"><\/td>        <\/tr>\n                            <\/tfoot>\n        <!-- \/Table footer -->\n    <\/table>\n\n<\/div><style>\ntable.wpDataTable td.numdata { text-align: right !important; }\n<\/style>\n<style>\n        \/* table font color *\/\n    .wpdt-c.wpDataTablesWrapper table.wpdtSimpleTable thead th,\n    .wpdt-c.wpDataTablesWrapper table.wpdtSimpleTable tbody td,\n    .wpdt-c .wpDataTablesWrapper table.wpDataTable thead th,\n    .wpdt-c .wpDataTablesWrapper table.wpDataTable tbody td,\n    .wpdt-c .wpDataTablesWrapper table.wpDataTable tfoot td {\n        color: #E06969 !important;\n    }\n\n                    \n                                                                                                \n                <\/style>\n<style>\n<\/style>\n<style>\n                            \n                                        \n                    \n<\/style>\n\n","protected":false},"excerpt":{"rendered":"<p>Our recommendation is that whenever you are coding the properties (fields) of any data model you could code it with the same name for equal concepts. then you can write down on the blue cell and in the yellow columns, you will see what other data models have coded something&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/smartdatamodels.org\/index.php\/attributes-and-enumerations-database\/\">More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/template-onecolumn.php","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-41","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1476,"url":"https:\/\/smartdatamodels.org\/index.php\/instructions-to-be-listed-as-a-data-model-adopter-of-smart-data-models\/","url_meta":{"origin":41,"position":0},"title":"Instructions to be listed as a data model adopter of Smart Data Models","author":"maestro","date":"01\/02\/2021","format":false,"excerpt":"find here the Instructions to be listed as a data model adopter. Try to do a Pull Request on the repository\/ies of the data model you are a user\/adopter of (recommended). See this example https:\/\/github.com\/smart-data-models\/dataModel.Battery\/blob\/master\/BatteryStatus\/ADOPTERS.yaml . If this option does not suit you, here there is an alternative Create a\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10279,"url":"https:\/\/smartdatamodels.org\/index.php\/details-of-data-models-in-a-data-space\/","url_meta":{"origin":41,"position":1},"title":"Details of data models in a Data Space","author":"maestro","date":"20\/02\/2024","format":false,"excerpt":"","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20,"url":"https:\/\/smartdatamodels.org\/index.php\/learning-zone\/","url_meta":{"origin":41,"position":2},"title":"Learning zone","author":"maestro","date":"17\/03\/2020","format":false,"excerpt":"TEST YOU KNOWLEDGE ABOUT THE INITIATIVE [ays_quiz id='2'] INTRODUCTION TO THE INITIATIVE Frontend and github interface presentation These are our recommendations to encode a data model\u00a0 https:\/\/github.com\/smart-data-models\/data-models\/blob\/master\/guidelines.md Understanding linking elements in data models. Our main page on github https:\/\/github.com\/smart-data-models CREATING YOUR DATA MODEL WITHOUT MUCH TECHNICAL KNOWLEDGE These 3 videos\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/rqfNEThIx2Q\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":8287,"url":"https:\/\/smartdatamodels.org\/index.php\/pysmatdatamodels-documentation\/","url_meta":{"origin":41,"position":3},"title":"pysmartdatamodels documentation","author":"maestro","date":"10\/02\/2023","format":false,"excerpt":"1- Load all datamodels in a dict like the official list. Function load_all_datamodels() Returns a dict with all data models with this object structure - repoName: The name of the subject - repoLink: the link to the repository of the subject - dataModels: An array with all the datamodels of\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":37,"url":"https:\/\/smartdatamodels.org\/index.php\/domain-repositories\/","url_meta":{"origin":41,"position":4},"title":"Domain repositories","author":"maestro","date":"17\/03\/2020","format":false,"excerpt":"List of main domains repositories https:\/\/github.com\/smart-data-models\/CrossSector https:\/\/github.com\/smart-data-models\/Smart-Sensoring https:\/\/github.com\/smart-data-models\/SmartAgrifood https:\/\/github.com\/smart-data-models\/SmartCities https:\/\/github.com\/smart-data-models\/SmartEnergy https:\/\/github.com\/smart-data-models\/SmartEnvironment https:\/\/github.com\/smart-data-models\/SmartWater \u00a0","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1834,"url":"https:\/\/smartdatamodels.org\/index.php\/procedure-to-update-a-data-model\/","url_meta":{"origin":41,"position":5},"title":"Procedure to update a data model","author":"maestro","date":"02\/03\/2021","format":false,"excerpt":"In case it is being updated a data model 1.- Update the schema.json of the data model 2.- Run the script to update the README of the data model (restricted to this data model) 3.- Update the model.yaml 4.- Update the spec.md 5.- Update the rest of specs in other\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"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=41"}],"version-history":[{"count":16,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/41\/revisions"}],"predecessor-version":[{"id":497,"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/pages\/41\/revisions\/497"}],"wp:attachment":[{"href":"https:\/\/smartdatamodels.org\/index.php\/wp-json\/wp\/v2\/media?parent=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}