Skip to content

Commit

Permalink
Set hasSuperordinate for isPartOf as required #2136
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Jan 23, 2025
1 parent cffd742 commit f2f0f59
Showing 1 changed file with 35 additions and 32 deletions.
67 changes: 35 additions & 32 deletions src/test/resources/schemas/isPartOf.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
}

0 comments on commit f2f0f59

Please sign in to comment.