Skip to content

Commit 49d68dd

Browse files
k-yleFloEdelmann
andauthored
add minProperties / additionalProperties
Co-authored-by: Flo Edelmann <git@flo-edelmann.de>
1 parent ee770ab commit 49d68dd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

schemas/field.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,11 @@
375375
},
376376
"units": {
377377
"type": "object",
378-
"description": "Defines the permitted units. The key is the ID used by CLDR. The value is the value used in the OSM tag. If there are multiple values, the first one will be preferred. Use an empty string if the unit is not included in the OSM tag."
378+
"description": "Defines the permitted units. The key is the ID used by CLDR. The value is the value used in the OSM tag. If there are multiple values, the first one will be preferred. Use an empty string if the unit is not included in the OSM tag.",
379+
"additionalProperties": {
380+
"type": "string"
381+
},
382+
"minProperties": 1
379383
}
380384
},
381385
"allOf": [

0 commit comments

Comments
 (0)