{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audiopod-ai/json-schema/audiopod-ai-user-account-provider-create-schema.json",
  "title": "UserAccountProviderCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audiopod-ai-auth-api-openapi.yml#/components/schemas/UserAccountProviderCreate",
  "properties": {
    "provider": {
      "type": "string",
      "title": "Provider"
    },
    "provider_account_id": {
      "type": "string",
      "title": "Provider Account Id"
    },
    "type": {
      "type": "string",
      "title": "Type",
      "default": "oauth"
    },
    "user_id": {
      "type": "string",
      "format": "uuid4",
      "title": "User Id"
    },
    "access_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Access Token"
    },
    "refresh_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Refresh Token"
    },
    "expires_at": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires At"
    },
    "refresh_token_expires_at": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Refresh Token Expires At"
    },
    "token_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Token Type"
    },
    "scope": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scope"
    },
    "id_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Id Token"
    }
  },
  "type": "object",
  "required": [
    "provider",
    "provider_account_id",
    "user_id"
  ]
}