Skip to content

Instantly share code, notes, and snippets.

@eknowles
Created January 27, 2025 13:55
Show Gist options
  • Save eknowles/f34533064f4a00431ae07ebd3d4505ac to your computer and use it in GitHub Desktop.
Save eknowles/f34533064f4a00431ae07ebd3d4505ac to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Generated schema for Root",
"type": "object",
"properties": {
"dublin_core": {
"type": "object",
"properties": {
"identifier": {
"type": "string"
},
"title": {
"type": "string"
},
"creator": {
"type": "string"
},
"description": {
"type": "string"
},
"subject": {
"type": "string"
},
"date": {
"type": "string"
},
"coverage": {
"type": "string"
},
"rights": {
"type": "string"
}
},
"required": [
"identifier",
"title",
"creator",
"description",
"subject",
"date",
"coverage",
"rights"
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"schemas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"schema_type": {
"type": "string"
},
"path": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"schema_type",
"path",
"version"
]
}
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"dependencies": {
"type": "array",
"items": {}
},
"explain_and_review": {
"type": "object",
"properties": {
"record_url": {
"type": "string"
}
},
"required": [
"record_url"
]
}
},
"required": [
"dublin_core",
"tags",
"schemas",
"sources",
"dependencies",
"explain_and_review"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment