diff --git a/src/test/resources/schemas/isPartOf.json b/src/test/resources/schemas/isPartOf.json index e6fa0d52f..50963f863 100644 --- a/src/test/resources/schemas/isPartOf.json +++ b/src/test/resources/schemas/isPartOf.json @@ -1,37 +1,40 @@ { - "$id": "isPartOf.json", - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Is part of", - "description": "The isPartOf relation", - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "array", - "items": { - "type": "string", - "const": "IsPartOfRelation" - } - }, - "numbering": { - "type": "string" + "$id": "isPartOf.json", + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Is part of", + "description": "The isPartOf relation", + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "array", + "items": { + "type": "string", + "const": "IsPartOfRelation" + } + }, + "numbering": { + "type": "string" + }, + "hasSuperordinate": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "uri" }, - "hasSuperordinate": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uri" - }, - "label": { - "type": "string" - } - } - } + "label": { + "type": "string" } + } } - } + } + }, + "required": [ + "hasSuperordinate" + ] + } }