{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apipass/json-schema/apipass-user-codex-account-list-response-schema.json",
  "title": "UserCodexAccountListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apipass-user-codex-accounts-api-openapi.yml#/components/schemas/UserCodexAccountListResponse",
  "properties": {
    "accounts": {
      "items": {
        "$ref": "#/$defs/UserCodexAccountResponse"
      },
      "type": "array",
      "title": "Accounts"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    }
  },
  "type": "object",
  "required": [
    "accounts",
    "total"
  ],
  "$defs": {
    "UserCodexAccountResponse": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "is_active": {
          "type": "boolean",
          "title": "Is Active"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "error_message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error Message"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        },
        "last_used_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Used At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "name",
        "description",
        "is_active",
        "status",
        "error_message",
        "created_at",
        "last_used_at"
      ],
      "title": "UserCodexAccountResponse"
    }
  }
}