{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "title": "AuthToken",
    "type": "object",
    "required": [
        "client_id",
        "iss",
        "sub",
        "aud",
        "iat",
        "exp",
        "cnf"
    ],
    "properties": {
        "sub": {
            "type": "string",
            "pattern": "^[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}\\z$"
        },
        "aud": {
            "type": "string",
            "format": "uri"
        },
        "iss": {
            "type": "string",
            "format": "uri"
        },
        "cnf": {
            "type": "object",
            "properties": {
                "jkt": {
                    "type": "string"
                }
            },
            "required": [
                "jkt"
            ],
            "additionalProperties": false
        },
        "exp": {
            "type": "number"
        },
        "iat": {
            "type": "number"
        },
        "client_id": {
            "type": "string"
        },
        "jti": {
            "type": "string",
            "pattern": "^[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}$"
        }
    }
}