{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "targetType": "document_surface1d",
    "schemaType": "document_surface1d",
    "type": "object",
    "required": [
        "schemaType",
        "_corpusID",
        "_documentID",
        "offsets"
    ],
    "properties": {
        "schemaType": {
            "type": "string",
            "description": "Schema type",
            "searchable": true,
            "searchModes": [
                "noop"
            ],
            "locked": true
        },
        "_documentID": {
            "type": "string",
            "description": "Internal document GUID",
            "searchable": true,
            "searchModes": [
                "noop"
            ],
            "locked": true
        },
        "_corpusID": {
            "type": "string",
            "description": "Internal Corpus GUID",
            "searchable": true,
            "searchModes": [
                "noop"
            ],
            "locked": true
        },
        "offsets": {
            "searchable": true,
            "locked": true,
            "type": "array",
            "minItems": 1,
            "items": {
                "type": "object",
                "properties": {
                    "begin": {
                        "type": "integer",
                        "minimum": 0
                    },
                    "end": {
                        "type": "integer",
                        "minimum": 0
                    }
                }
            }
        }
    }
}