{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/antfly/json-schema/antfly-chat-gptaccounts-schema.json",
  "title": "ChatGPTAccounts",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/antfly-personal-connections-api-openapi.yml#/components/schemas/ChatGPTAccounts",
  "type": "object",
  "required": [
    "accounts"
  ],
  "properties": {
    "accounts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ChatGPTAccount"
      }
    }
  },
  "$defs": {
    "ChatGPTAccount": {
      "type": "object",
      "required": [
        "connection_id",
        "email",
        "label",
        "connected",
        "plan_enabled"
      ],
      "properties": {
        "connection_id": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "connected": {
          "type": "boolean"
        },
        "plan_enabled": {
          "type": "boolean"
        }
      }
    }
  }
}