{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cubic-dev/json-schema/cubic-dev-organization-list-schema.json",
  "title": "OrganizationList",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cubic-dev-openapi.yml#/components/schemas/OrganizationList",
  "type": "object",
  "properties": {
    "organizations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "organization": {
            "type": "string"
          },
          "githubAccountId": {
            "type": "string"
          },
          "canViewBilling": {
            "type": "boolean"
          },
          "canManageSeats": {
            "type": "boolean"
          },
          "canManageRoles": {
            "type": "boolean"
          },
          "canUpdateSubscription": {
            "type": "boolean"
          },
          "canUpdateFlexCapacity": {
            "type": "boolean"
          }
        },
        "required": [
          "organization",
          "githubAccountId",
          "canViewBilling",
          "canManageSeats",
          "canManageRoles",
          "canUpdateSubscription",
          "canUpdateFlexCapacity"
        ],
        "additionalProperties": false
      }
    },
    "nextCursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "organizations",
    "nextCursor"
  ],
  "additionalProperties": false
}