{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "id": "http://localhost:3000/schemas/token-response.json#",
    "properties": {
        "access_token": {
            "description": "The access token issued by the server.",
            "type": "string"
        },
        "expires_in": {
            "description": "The lifetime of the access token, in seconds.",
            "type": "number"
        },
        "id_token": {
            "description": "Optional identity token, issued for the code and password grants. Not provided for client credentials grants.",
            "type": "string"
        },
        "refresh_token": {
            "description": "Optional refresh token, which can be used to obtain new access tokens. Issued only for long-lived authorisations that permit it.",
            "type": "string"
        },
        "scope": {
            "description": "The scope of the access token.",
            "type": "string"
        },
        "token_type": {
            "description": "Set to bearer.",
            "enum": [
                "bearer"
            ],
            "type": "string"
        }
    },
    "required": [
        "access_token",
        "refresh_token",
        "expires_in",
        "token_type"
    ],
    "title": "introspect",
    "type": "object"
}