Skip to content

Commit b44f65c

Browse files
committed
Update taxonomy definitions
Now shared taxonomy defs across schema (8 instances), correctly referencing codelist csv
1 parent 3aee335 commit b44f65c

File tree

1 file changed

+35
-90
lines changed

1 file changed

+35
-90
lines changed

_static/rdls_schema_v0.3.json

Lines changed: 35 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -585,18 +585,8 @@
585585
},
586586
"taxonomy": {
587587
"title": "Exposure taxonomy scheme",
588-
"type": "string",
589-
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset. Use of GED4ALL is recommended.",
590-
"minLength": 1,
591-
"openCodelist": false,
592-
"$ref": "#/$defs/taxonomy",
593-
"examples": [
594-
"GED4ALL",
595-
"HAZUS",
596-
"EMS-98",
597-
"PAGER",
598-
"Custom taxonomy v1.0"
599-
]
588+
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset, from the closed [classification_scheme codelist](https://docs.riskdatalibrary.org/en/latest/reference/codelists/#classification-scheme). Use of GED4ALL is recommended.",
589+
"$ref": "#/$defs/taxonomy"
600590
},
601591
"analysis_details": {
602592
"title": "Analysis details",
@@ -702,18 +692,8 @@
702692
},
703693
"taxonomy": {
704694
"title": "Exposure taxonomy scheme",
705-
"type": "string",
706-
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset. Use of GED4ALL is recommended.",
707-
"minLength": 1,
708-
"openCodelist": false,
709-
"$ref": "#/$defs/taxonomy",
710-
"examples": [
711-
"GED4ALL",
712-
"HAZUS",
713-
"EMS-98",
714-
"PAGER",
715-
"Custom taxonomy v1.0"
716-
]
695+
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset, from the closed [classification_scheme codelist](https://docs.riskdatalibrary.org/en/latest/reference/codelists/#classification-scheme). Use of GED4ALL is recommended.",
696+
"$ref": "#/$defs/taxonomy"
717697
},
718698
"analysis_details": {
719699
"title": "Analysis details",
@@ -848,18 +828,8 @@
848828
},
849829
"taxonomy": {
850830
"title": "Exposure taxonomy scheme",
851-
"type": "string",
852-
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset. Use of GED4ALL is recommended.",
853-
"minLength": 1,
854-
"openCodelist": false,
855-
"$ref": "#/$defs/taxonomy",
856-
"examples": [
857-
"GED4ALL",
858-
"HAZUS",
859-
"EMS-98",
860-
"PAGER",
861-
"Custom taxonomy v1.0"
862-
]
831+
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset, from the closed [classification_scheme codelist](https://docs.riskdatalibrary.org/en/latest/reference/codelists/#classification-scheme). Use of GED4ALL is recommended.",
832+
"$ref": "#/$defs/taxonomy"
863833
},
864834
"analysis_details": {
865835
"title": "Analysis details",
@@ -994,18 +964,8 @@
994964
},
995965
"taxonomy": {
996966
"title": "Exposure taxonomy scheme",
997-
"type": "string",
998-
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset. Use of GED4ALL is recommended.",
999-
"minLength": 1,
1000-
"openCodelist": false,
1001-
"$ref": "#/$defs/taxonomy",
1002-
"examples": [
1003-
"GED4ALL",
1004-
"HAZUS",
1005-
"EMS-98",
1006-
"PAGER",
1007-
"Custom taxonomy v1.0"
1008-
]
967+
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset, from the closed [classification_scheme codelist](https://docs.riskdatalibrary.org/en/latest/reference/codelists/#classification-scheme). Use of GED4ALL is recommended.",
968+
"$ref": "#/$defs/taxonomy"
1009969
},
1010970
"analysis_details": {
1011971
"title": "Analysis details",
@@ -1154,18 +1114,8 @@
11541114
},
11551115
"taxonomy": {
11561116
"title": "Exposure taxonomy scheme",
1157-
"type": "string",
1158-
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset. Use of GED4ALL is recommended.",
1159-
"minLength": 1,
1160-
"openCodelist": false,
1161-
"$ref": "#/$defs/taxonomy",
1162-
"examples": [
1163-
"GED4ALL",
1164-
"HAZUS",
1165-
"EMS-98",
1166-
"PAGER",
1167-
"Custom taxonomy v1.0"
1168-
]
1117+
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset, from the closed [classification_scheme codelist](https://docs.riskdatalibrary.org/en/latest/reference/codelists/#classification-scheme). Use of GED4ALL is recommended.",
1118+
"$ref": "#/$defs/taxonomy"
11691119
},
11701120
"analysis_details": {
11711121
"title": "Analysis details",
@@ -1218,22 +1168,8 @@
12181168
"properties": {
12191169
"scheme": {
12201170
"title": "Indicator scheme",
1221-
"description": "The classification scheme or framework from which the indicator is taken.",
1222-
"type": "string",
1223-
"codelist": "socioeconomic_scheme.csv",
1224-
"openCodelist": true,
1225-
"suggestions": [
1226-
"GED4ALL-socio-economic",
1227-
"MOVER-social-vulnerability-categories",
1228-
"CDC-SVI",
1229-
"INFORM-risk-index",
1230-
"custom"
1231-
],
1232-
"examples": [
1233-
"GED4ALL-socio-economic",
1234-
"CDC-SVI",
1235-
"INFORM-risk-index"
1236-
]
1171+
"description": "The classification scheme or framework from which the indicator is taken, from the closed [classification_scheme codelist](https://docs.riskdatalibrary.org/en/latest/reference/codelists/#classification-scheme).",
1172+
"$ref": "#/$defs/taxonomy"
12371173
},
12381174
"indicator_name": {
12391175
"title": "Indicator name",
@@ -1331,6 +1267,25 @@
13311267
"development_index"
13321268
]
13331269
},
1270+
"taxonomy": {
1271+
"type": "string",
1272+
"codelist": "classification_scheme.csv",
1273+
"openCodelist": false,
1274+
"enum": [
1275+
"GED4ALL",
1276+
"MOVER",
1277+
"GLIDE",
1278+
"EMDAT",
1279+
"USGS_EHP",
1280+
"OED",
1281+
"HAZUS",
1282+
"EMS-98",
1283+
"PAGER",
1284+
"CDC-SVI",
1285+
"INFORM",
1286+
"Custom"
1287+
]
1288+
},
13341289
"metric_dimension": {
13351290
"type": "string",
13361291
"enum": [
@@ -2689,9 +2644,8 @@
26892644
},
26902645
"taxonomy": {
26912646
"title": "Exposure taxonomy scheme",
2692-
"type": "string",
2693-
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset.",
2694-
"minLength": 1
2647+
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset, from the closed [classification_scheme codelist](https://docs.riskdatalibrary.org/en/latest/reference/codelists/#classification-scheme).",
2648+
"$ref": "#/$defs/taxonomy"
26952649
},
26962650
"metrics": {
26972651
"title": "Exposure metrics",
@@ -2843,17 +2797,8 @@
28432797
"properties": {
28442798
"scheme": {
28452799
"title": "Scheme",
2846-
"description": "The scheme or codelist from which the classification code is taken, using the open [classification_scheme](https://docs.riskdatalibrary.org/en/latest/reference/codelists/#classification-scheme) codelist.",
2847-
"type": "string",
2848-
"codelist": "classification_scheme.csv",
2849-
"openCodelist": false,
2850-
"enum": [
2851-
"GED4ALL-socio-economic",
2852-
"MOVER-social-vulnerability-categories",
2853-
"GLIDE",
2854-
"EMDAT",
2855-
"USGS_EHP"
2856-
]
2800+
"description": "The scheme or codelist from which the classification code is taken, from the closed [classification_scheme codelist](https://docs.riskdatalibrary.org/en/latest/reference/codelists/#classification-scheme).",
2801+
"$ref": "#/$defs/taxonomy"
28572802
},
28582803
"id": {
28592804
"title": "Classification identifier",

0 commit comments

Comments
 (0)