45 lines
930 B
JSON
45 lines
930 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://paperspec.scient.ing/schemas/page.schema.json",
|
|
"title": "Page",
|
|
"description": "One line of pages.jsonl; spec/07-geometry.md.",
|
|
"type": "object",
|
|
"properties": {
|
|
"witness": {
|
|
"$ref": "common.schema.json#/$defs/nodeId"
|
|
},
|
|
"page": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"page_fp": {
|
|
"$ref": "common.schema.json#/$defs/hash"
|
|
},
|
|
"size": {
|
|
"$ref": "common.schema.json#/$defs/size"
|
|
},
|
|
"page_label": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"text_layer": {
|
|
"type": "boolean"
|
|
},
|
|
"stamps_removed": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "common.schema.json#/$defs/key"
|
|
},
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"required": [
|
|
"witness",
|
|
"page",
|
|
"page_fp",
|
|
"size",
|
|
"text_layer"
|
|
],
|
|
"additionalProperties": false
|
|
}
|