Skip to content

Commit 1c21e64

Browse files
committed
Make fields → strings → options schema even stricter
1 parent 6edb329 commit 1c21e64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

schemas/field.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,12 @@
148148
{ "type": "string" },
149149
{
150150
"type": "object",
151-
"minProperties": 1,
152151
"properties": {
153152
"title": { "type": "string" },
154153
"description": { "type": "string" }
155-
}
154+
},
155+
"required": ["title", "description"],
156+
"additionalProperties": false
156157
}
157158
]
158159
}

0 commit comments

Comments
 (0)