Skip to content

Commit 4f6fceb

Browse files
committed
schema: Allow to set a single standard
1 parent 36a6530 commit 4f6fceb

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/schema/okh.schema.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -953,10 +953,17 @@
953953
"ISO 1337",
954954
["DIN SPEC 3105", "ISO 1337"]
955955
],
956-
"type": "array",
957-
"items": {
958-
"type": "string"
959-
}
956+
"anyOf": [
957+
{
958+
"type": "string"
959+
},
960+
{
961+
"type": "array",
962+
"items": {
963+
"type": "string"
964+
}
965+
}
966+
]
960967
},
961968
"technology-readiness-level": {
962969
"description": "OTRL-ID representing the development stage of the OSH module; get it from: <https://w3id.org/oseg/ont/otrl>",

0 commit comments

Comments
 (0)