{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/civai-co/json-schema/civai-co-update-team-accounts-request-schema.json",
  "title": "UpdateTeamAccountsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/civai-co-teams-api-openapi.yml#/components/schemas/UpdateTeamAccountsRequest",
  "properties": {
    "accounts": {
      "items": {
        "$ref": "#/$defs/TeamAccount"
      },
      "type": "array",
      "title": "Accounts"
    }
  },
  "type": "object",
  "$defs": {
    "TeamAccount": {
      "properties": {
        "platform": {
          "type": "string",
          "title": "Platform"
        },
        "account_id": {
          "type": "string",
          "title": "Account Id"
        },
        "is_default": {
          "type": "boolean",
          "title": "Is Default",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "platform",
        "account_id"
      ],
      "title": "TeamAccount"
    }
  }
}