{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://adnotare.crim.ca/schema/custom-meta-schema#",
    "targetType": "document",
    "schemaType": "Face_Detect",
    "title": "Face_Detect",
    "description": "A representation of a face detection in a video media file",
    "type": "object",
    "required": [
        "@context",
        "@type",
        "schemaType",
        "_corpusID",
        "_documentID",
        "begin",
        "end",
        "confidence"
    ],
    "properties": {
        "@context": {
            "format": "url",
            "type": "string",
            "description": "JSON-LD context",
            "searchable": false,
            "locked": true
        },
        "@type": {
            "type": "string",
            "description": "JSON-LD type",
            "searchable": false,
            "locked": true
        },
        "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
        },
        "begin": {
            "type": "number",
            "description": "Annotation starting time in miliseconds",
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": true
        },
        "end": {
            "type": "number",
            "description": "Annotation ending time in miliseconds",
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": true
        },
        "confidence": {
            "maximum": 100,
            "minimum": 0,
            "type": "number",
            "description": "Confidence degree",
            "searchable": true,
            "searchModes": [
                "basic"
            ],
            "locked": true
        },
        "faceId": {
            "title": "Face Id",
            "description": "Face detection faceId",
            "type": "string",
            "language": "fr",
            "searchable": false
        },
        "poseType": {
            "title": "Pose Type",
            "description": "Face detection poseType [ -2: 'Low', -1: 'Left profile', 0: 'Frontal', 1: 'Right profile', 2: 'High' ]",
            "type": "number",
            "enum": [
                -2,
                -1,
                0,
                1,
                2
            ],
            "searchable": false,
            "default": 0
        }
    }
}