Zum Inhalt

teacherAbsence

Represents a reason why a teacher is absent (e.g. ill, on vacation).

{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "ontime.js format: teacherAbsence",
    "description": "JSON schema for the data object teacherAbsence",
    "type": "object",
    "properties": {
        "id" : { 
            "description": "native id of absence",
            "type": "string" 
        },
        "externalIds" : { 
            "description": "list of external ids for the absence",
            "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "provider": {
                    "description": "id provider",
                    "type": "string"
                  },
                  "id": {
                    "description": "id value",
                    "type": "string"
                  }
                }
              }
        },
        "teacherRef" : { 
            "description": "[native reference] teacher",
            "type": "string" 
        },
        "startDate" : { 
            "description": "start date of absence",
            "type": "string" 
        },
        "endDate" : { 
            "description": "end date of absence",
            "type": "string" 
        }
        "startTime" : { 
            "description": "start time of absence",
            "type": "string" 
        },
        "endTime" : { 
            "description": "end time of absence",
            "type": "string" 
        }
        "reasonRef" : { 
            "description": "[native reference] teacherAbsentReasons",
            "type": "string" 
        },
        "note" : { 
            "description": "remarks",
            "type": "string" 
        }

    }
}