{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/inoreader/main/json-schema/inoreader-post-oauth2-token-request-schema.json",
  "title": "PostOauth2TokenRequest",
  "x-generated": "2026-09-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/inoreader-openapi-generated.yml#/components/schemas/PostOauth2TokenRequest",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Authorization code received from the consent page"
    },
    "redirect_uri": {
      "type": "string",
      "description": "Redirect URI used in the OAuth flow"
    },
    "client_id": {
      "type": "string",
      "description": "Client ID from app registration"
    },
    "client_secret": {
      "type": "string",
      "description": "Client secret from app registration"
    },
    "scope": {
      "type": "string",
      "description": "Scope parameter (may be empty)"
    },
    "grant_type": {
      "type": "string",
      "description": "Must be \"authorization_code\" for initial token exchange"
    }
  },
  "required": [
    "code",
    "redirect_uri",
    "client_id",
    "client_secret",
    "grant_type"
  ]
}