Update w3c schema to 2020 format
The `thing-context` definition used a 2019 draft of how to specify a tuple (where `items` set the mandatory items and `additionalItems` set the rest). These have been renamed to `prefixItems` and `items` respectively, and I have applied this change. Schema now validates again :)
This commit is contained in:
parent
80d026d778
commit
f2f00b0d11
1 changed files with 2 additions and 2 deletions
|
|
@ -66,10 +66,10 @@
|
|||
"thing-context": {
|
||||
"oneOf": [{
|
||||
"type": "array",
|
||||
"items": [{
|
||||
"prefixItems": [{
|
||||
"$ref": "#/definitions/thing-context-w3c-uri"
|
||||
}],
|
||||
"additionalItems": {
|
||||
"items": {
|
||||
"anyOf": [{
|
||||
"$ref": "#/definitions/anyUri"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue