1
0
cms11/resources/schemas/index.json

79 lines
2.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Bundle metadata",
"type": "object",
"properties": {
"title": {
"type": "string"
},
"hideTitle": {
"type": "boolean"
},
"subTitle": {
"type": "string"
},
"description": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"generator": {
"type": "string"
},
"model": {
"type": "string"
},
"edited": {
"type": "boolean"
}
},
"required": ["text", "generator", "model", "edited"],
"additionalProperties": false
}
]
},
"date": {
"type": "string",
"pattern": "^(\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}(\\+|-)\\d{2}:\\d{2})?)$"
},
"coauthor": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": ["name"]
}
},
"cover": {
"type": "string"
},
"logo": {
"type": "string"
},
"virtualMetadata": {
"type": "array"
},
"wikidataEntityId": {
"type": "string"
},
"rebrickableId": {
"type": "string"
},
"productId": {
"type": "string"
}
},
"required": ["title"],
"additionalProperties": false
}