Skip to content

Commit f5b7935

Browse files
authored
Sync with BCP-004-01 proposed change to match RFC 8141 NID definition
1 parent 30ebc74 commit f5b7935

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

APIs/schemas/constraint_set.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@
2323
}
2424
},
2525
"patternProperties": {
26-
"^urn:[a-z0-9][a-z0-9-]+:cap:(?!meta:)": {
26+
"^urn:[a-z0-9][a-z0-9-]{0,30}[a-z0-9]:cap:(?!meta:)": {
2727
"$ref": "param_constraint.json"
2828
},
29-
"^urn:(?!x-nmos)[a-z0-9][a-z0-9-]+:cap:meta:": {
29+
"^urn:(?!x-nmos)[a-z0-9][a-z0-9-]{0,30}[a-z0-9]:cap:meta:": {
3030
"oneOf": [
31-
{
32-
"type": [ "boolean", "integer", "number", "string", "null" ]
33-
},
34-
{
35-
"type": "array",
36-
"items": {
37-
"type": [ "boolean", "integer", "number", "string" ]
38-
}
31+
{
32+
"type": [ "boolean", "integer", "number", "string", "null" ]
33+
},
34+
{
35+
"type": "array",
36+
"items": {
37+
"type": [ "boolean", "integer", "number", "string" ]
3938
}
39+
}
4040
]
41-
}
41+
}
4242
}
4343
}

0 commit comments

Comments
 (0)