{
    "$schema": "https://themost-framework.github.io/themost/models/2018/2/schema.json",
    "@id": "http://schema.org/EvaluationEvent",
    "name": "EvaluationEvent",
    "title": "EvaluationEvents",
    "abstract": false,
    "sealed": false,
    "inherits": "Event",
    "version": "1.0",
    "classPath": "./models/evaluation-event-model",
    "fields": [
        {
            "name": "id",
            "type": "Integer",
            "primary": true,
            "nullable": false
        },
        {
            "@id": "http://schema.org/evaluationDocument",
            "name": "evaluationDocument",
            "title": "evaluationDocument",
            "type": "EvaluationDocument",
            "nullable": false
        },
        {
            "name": "additionalType",
            "title": "Additional Type",
            "description": "An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.",
            "type": "Text",
            "readonly": true,
            "value": "javascript:return this.model.name;"
        },
        {
            "name": "subEvents",
            "title": "Sub events",
            "type": "EvaluationEvent",
            "many": true,
            "mapping": {
                "parentModel": "EvaluationEvent",
                "childModel": "EvaluationEvent",
                "parentField": "id",
                "childField": "superEvent",
                "associationType": "association"
            }
        }
    ],
    "privileges": [
        {
            "mask": 15,
            "type": "global"
        },
        {
            "mask": 1,
            "type": "global",
            "account": "*"
        },
        {
            "mask": 15,
            "type": "global",
            "account": "Administrators"
        }
    ]
}
