{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"schemaVersion": {
"type": "string",
"const": "1"
},
"assetId": {
"type": "string",
"pattern": "^[a-f0-9]{24}$"
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"mimeType": {
"type": "string"
},
"totalBytes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100000000
},
"generation": {
"type": "string",
"pattern": "^\\d+$"
},
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"dataBase64": {
"type": "string",
"maxLength": 699052
}
},
"required": [
"schemaVersion",
"assetId",
"sha256",
"mimeType",
"totalBytes",
"generation",
"offset",
"nextOffset",
"dataBase64"
],
"additionalProperties": {}
}