Skip to content

Commit 98eceda

Browse files
committed
Some validators do not appreciate empty required array and data string without quotes
1 parent bc88474 commit 98eceda

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

examples/yaml-as-additional-syntax-for-madr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
metadata:
33
status: decided
4-
date: 2025-12-17
4+
date: "2025-12-17"
55
decision-makers: OK, OZ
66
consulted: n/a
77

schemas/yadr-schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
"informed": {
2222
"type": "string"
2323
}
24-
},
25-
"required": []
24+
}
2625
},
2726
"title": {
2827
"type": "string"

0 commit comments

Comments
 (0)