Skip to content

Commit

Permalink
Move media schema into item schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtich committed Jul 3, 2023
1 parent bb6c994 commit 4136ec8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 21 deletions.
19 changes: 18 additions & 1 deletion item.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,23 @@
"country": { "type": "string" }
},
"additionalProperties": false
},
"media": {
"description": "Media based on IIIF Manifest Data Model",
"type": "object",
"properties": {
"type": {
"const": "Manifest"
},
"items": {
"type": "array"
}
},
"additionalProperties": true,
"required": [
"type",
"items"
]
}
},
"allOf": [
Expand Down Expand Up @@ -178,7 +195,7 @@
"description": "audiovisual or other digital content representing the item",
"type": "array",
"items": {
"$ref": "media.schema.json"
"$ref": "#/definitions/media"
}
}
}
Expand Down
20 changes: 0 additions & 20 deletions media.schema.json

This file was deleted.

0 comments on commit 4136ec8

Please sign in to comment.