{
    "additionalProperties": false,
    "description": "Schema for an EMR job status context",
    "properties": {
        "created_at": {
            "_format": "date-time",
            "type": "string"
        },
        "ended_at": {
            "_format": "date-time",
            "type": [
                "string",
                "null"
            ]
        },
        "jobflow_id": {
            "maxLength": 32,
            "type": "string"
        },
        "last_state_change_reason": {
            "maxLength": 255,
            "type": [
                "string",
                "null"
            ]
        },
        "name": {
            "maxLength": 255,
            "type": "string"
        },
        "state": {
            "enum": [
                "STARTING",
                "BOOTSTRAPPING",
                "RUNNING",
                "WAITING",
                "TERMINATING",
                "TERMINATED",
                "TERMINATED_WITH_ERRORS"
            ],
            "type": "string"
        }
    },
    "required": [
        "name",
        "jobflow_id",
        "state",
        "created_at"
    ],
    "self": {
        "format": "jsonschema",
        "name": "emr_job_status",
        "vendor": "com.snowplowanalytics.monitoring.batch",
        "version": "1-0-0"
    },
    "type": "object"
}