{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/athenahq-ai/json-schema/athenahq-ai-created-group-schema.json",
  "title": "CreatedGroup",
  "description": "A newly created group resource",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/athenahq-ai-groups-api-openapi.yml#/components/schemas/CreatedGroup",
  "type": "object",
  "required": [
    "id",
    "name",
    "orgId",
    "billingEnabled",
    "websiteIds",
    "createdAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the group"
    },
    "name": {
      "type": "string",
      "description": "Name of the group"
    },
    "orgId": {
      "type": "string",
      "format": "uuid",
      "description": "The organization ID the group belongs to"
    },
    "billingEnabled": {
      "type": "boolean",
      "description": "Whether billing is enabled for this group"
    },
    "websiteIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "List of website IDs associated with this group"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the group was created (UTC)"
    },
    "externalId": {
      "type": [
        "string",
        "null"
      ],
      "description": "**Partner-only.** Echoes the `external_id` from the create request if provided, or `null` if the partner did not supply one. Only present on responses to partner API keys — direct-customer responses omit the field."
    }
  }
}