{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "description": "hybrid flow response",
    "id": "http://localhost:3000/schemas/authorize-hybrid-response.json#",
    "properties": {
        "access_token": {
            "description": "The OAuth 2.0 access token. Required for the UserInfo endpoint and other authorised protected resources.",
            "type": "string"
        },
        "code": {
            "description": "The OAuth 2.0 authorisation code. Required to obtain the ID token and token from the token endpoint.",
            "type": "string"
        },
        "expires_in": {
            "description": "Expiration time of the access token in seconds since the response was generated.",
            "type": "number"
        },
        "id_token": {
            "description": "The OpenID Connect ID token.",
            "type": "string"
        },
        "state": {
            "description": "The state value, if one was passed with the request. Clients must validate the value before proceeding.",
            "type": "string"
        },
        "token_type": {
            "description": "The OAuth 2.0 token type, set to bearer.",
            "enum": [
                "bearer"
            ],
            "type": "string"
        }
    },
    "required": [
        "access_token",
        "code"
    ],
    "title": "OAuth hybrid flow",
    "type": "object"
}