Skip to content

Commit 72e3279

Browse files
committed
support discarding tags, not just keys
1 parent 17e6bac commit 72e3279

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

schemas/discarded.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://github.com/ideditor/schema-builder/raw/main/schemas/discarded.json",
44
"title": "Discarded tags",
5-
"description": "Keys of tags to be deleted when editing features.",
5+
"description": "Keys or tags to be deleted when editing features.",
66
"type": "object",
77
"additionalProperties": {
8-
"type": "boolean"
8+
"anyOf": [
9+
{ "type": "boolean", "enum": [true] },
10+
{ "type": "object", "additionalProperties": { "type": "boolean", "enum": [true] } }
11+
]
912
}
1013
}

0 commit comments

Comments
 (0)