Initial commit
This commit is contained in:
373 files changed
+16704
No files matched your search
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://scient.ing/ns/schemas/location.schema.json",
|
||||
"title": "Location",
|
||||
"description": "One line of locations.jsonl; spec/07-geometry.md.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"node": {
|
||||
"$ref": "common.schema.json#/$defs/nodeId"
|
||||
},
|
||||
"page_fp": {
|
||||
"$ref": "common.schema.json#/$defs/hash"
|
||||
},
|
||||
"page": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"page_label": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"boxes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "common.schema.json#/$defs/box"
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"approx": {
|
||||
"const": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"node",
|
||||
"page_fp",
|
||||
"page",
|
||||
"boxes"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user