{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/foresea-ink/json-schema/foresea-ink-git-hub-auth-request-schema.json",
  "title": "GitHubAuthRequest",
  "description": "GitHub OAuth authorization code returned to the browser.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/foresea-ink-auth-api-openapi.yml#/components/schemas/GitHubAuthRequest",
  "properties": {
    "code": {
      "type": "string",
      "maxLength": 512,
      "title": "Code"
    },
    "redirect_uri": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Redirect Uri"
    }
  },
  "type": "object",
  "required": [
    "code"
  ]
}