{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "content-type": "application/x-www-form-urlencoded",
    "endpoint": "/token",
    "id": "http://localhost:3000/schemas/token-authorization-code-grant-request.json#",
    "method": "POST",
    "properties": {
        "code": {
            "description": "The code received with the authentication response.",
            "type": "string"
        },
        "code_verifier": {
            "description": "The code verifier if Proof Key of Code Exchange (PKCE) is employed (for public OAuth clients).",
            "type": "string"
        },
        "grant_type": {
            "description": "Must be set to authorization_code.",
            "enum": [
                "authorization_code"
            ],
            "type": "string"
        },
        "redirect_uri": {
            "description": "The value of the redirect_uri parameter included in the original authentication request.",
            "type": "string"
        }
    },
    "required": [
        "code",
        "grant_type"
    ],
    "title": "Token authorization code grant request",
    "type": "object"
}