{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/componecat-ai/json-schema/componecat-ai-organization-resource-schema.json",
  "title": "OrganizationResource",
  "description": "An organization as returned by the REST endpoints.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/componecat-ai-organizations-api-openapi.yml#/components/schemas/OrganizationResource",
  "required": [
    "id",
    "name",
    "slug",
    "isPublic",
    "createdAt",
    "updatedAt"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "slug": {
      "type": [
        "null",
        "string"
      ]
    },
    "isPublic": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}