{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "targetType": "document_surface1d",
    "schemaType": "Timex3",
    "title": "Timex3",
    "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
                    }
                }
            }
        },
        "tid": {
            "type": "string",
            "description": "Non-optional attribute.  Each TIMEX3 expression has to be identified by a unique ID number.",
            "searchable": true,
            "searchModes": [
                "noop"
            ],
            "locked": true
        },
        "type": {
            "description": "Type of expression",
            "type": "string",
            "enum": [
                "TIME",
                "DATE",
                "DURATION",
                "SET"
            ],
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": true
        },
        "value": {
            "type": "string",
            "description": "This value is given in an extended ISO 8601 format.",
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": false
        },
        "text": {
            "type": "string",
            "description": "Targeted text",
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": false
        },
        "temporalFunction": {
            "type": "boolean",
            "description": "Indicates if the temporal expression needs to be determined via evaluation of a temporal function.",
            "searchable": true,
            "searchModes": [
                "noop"
            ],
            "locked": false
        },
        "mod": {
            "type": "string",
            "description": "",
            "enum": [
                "Points.BEFORE",
                "Points.AFTER",
                "Points.ON_OR_BEFORE",
                "Points.ON_OR_AFTER",
                "Durations.LESS_THAN",
                "Durations.MORE_THAN",
                "Durations.EQUAL_OR_LESS",
                "Durations.EQUAL_OR_MORE",
                "PointsDurations.START",
                "PointsDurations.MID",
                "PointsDurations.END",
                "PointsDurations.APPROX"
            ]
        },
        "anchorTimeID": {
            "type": "string",
            "description": "ID of the temporal expression to which the TIMEX3 in question is temporally anchored",
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": false
        },
        "beginPoint": {
            "type": "string",
            "description": "Used when a duration is anchored by another time expression, as well a for range expressions.",
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": false
        },
        "endPoint": {
            "type": "string",
            "description": "Used when a duration is anchored by another time expression, as well a for range expressions.",
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": false
        },
        "quant": {
            "type": "string",
            "description": "Used when a temporal expression is of the type SET. A literal from the text that quantifies",
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": false
        },
        "freq": {
            "type": "string",
            "description": "Used when a temporal expression is of the type SET. Contains an integer value and a time granularity that represent the frequency at which the temporal expression regularly reoccurs",
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": false
        }
    }
}