You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schema/rdls_schema.json
+56-40Lines changed: 56 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -194,47 +194,12 @@
194
194
},
195
195
"exposure": {
196
196
"title": "Exposure metadata",
197
-
"type": "object",
197
+
"type": "array",
198
198
"description": "Metadata that is specific to datasets that describe the situation of people, infrastructure, housing, production capacities and other tangible human assets located in hazard-prone areas.",
199
-
"required": [
200
-
"category",
201
-
"metrics"
202
-
],
203
-
"properties": {
204
-
"category": {
205
-
"title": "Exposure category",
206
-
"description": "The category of the exposed assets, from the closed [exposure_category codelist](https://docs.riskdatalibrary.org/en/{{version}}/reference/codelists/#exposure-category).",
207
-
"type": "string",
208
-
"codelist": "exposure_category.csv",
209
-
"openCodelist": false,
210
-
"enum": [
211
-
"agriculture",
212
-
"buildings",
213
-
"infrastructure",
214
-
"population",
215
-
"natural_environment",
216
-
"economic_indicator",
217
-
"development_index"
218
-
]
219
-
},
220
-
"taxonomy": {
221
-
"title": "Exposure taxonomy scheme",
222
-
"type": "string",
223
-
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset.",
224
-
"minLength": 1
225
-
},
226
-
"metrics": {
227
-
"title": "Exposure metrics",
228
-
"type": "array",
229
-
"description": "The measurements used to quantify the extent to which assets are exposed.",
230
-
"items": {
231
-
"$ref": "#/$defs/Metric"
232
-
},
233
-
"minItems": 1,
234
-
"uniqueItems": true
235
-
}
199
+
"items": {
200
+
"$ref": "#/$defs/Exposure_item"
236
201
},
237
-
"minProperties": 1
202
+
"minItems": 1
238
203
},
239
204
"vulnerability": {
240
205
"title": "Vulnerability metadata",
@@ -3100,7 +3065,58 @@
3100
3065
}
3101
3066
}
3102
3067
]
3068
+
},
3069
+
"Exposure_item": {
3070
+
"title": "Exposure item",
3071
+
"type": "object",
3072
+
"description": "Information about a specific category of exposed assets.",
3073
+
"required": [
3074
+
"id",
3075
+
"category",
3076
+
"metrics"
3077
+
],
3078
+
"properties": {
3079
+
"id": {
3080
+
"title": "Exposure item identifier",
3081
+
"type": "string",
3082
+
"description": "A locally unique identifier for this exposure item.",
3083
+
"minLength": 1
3084
+
},
3085
+
"category": {
3086
+
"title": "Exposure category",
3087
+
"description": "The category of the exposed assets, from the closed [exposure_category codelist](https://docs.riskdatalibrary.org/en/{{version}}/reference/codelists/#exposure-category).",
3088
+
"type": "string",
3089
+
"codelist": "exposure_category.csv",
3090
+
"openCodelist": false,
3091
+
"enum": [
3092
+
"agriculture",
3093
+
"buildings",
3094
+
"infrastructure",
3095
+
"population",
3096
+
"natural_environment",
3097
+
"economic_indicator",
3098
+
"development_index"
3099
+
]
3100
+
},
3101
+
"taxonomy": {
3102
+
"title": "Exposure taxonomy scheme",
3103
+
"type": "string",
3104
+
"description": "The name of the taxonomy scheme used to create descriptive individual asset feature strings within the dataset.",
3105
+
"minLength": 1
3106
+
},
3107
+
"metrics": {
3108
+
"title": "Exposure metrics",
3109
+
"type": "array",
3110
+
"description": "The measurements used to quantify the extent to which assets are exposed.",
0 commit comments