{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twelfth-ai/main/json-schema/twelfth-ai-workspace-response-schema.json",
  "title": "WorkspaceResponse",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twelfth-ai-openapi.json#/components/schemas/WorkspaceResponse",
  "type": "object",
  "required": [
    "workspace"
  ],
  "properties": {
    "workspace": {
      "$ref": "#/$defs/Workspace"
    }
  },
  "additionalProperties": true,
  "$defs": {
    "Workspace": {
      "type": "object",
      "required": [
        "id",
        "name",
        "slug",
        "timezone",
        "currencyCode",
        "countryCode"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Stable workspace identifier."
        },
        "name": {
          "type": "string",
          "description": "Display name."
        },
        "slug": {
          "type": "string",
          "description": "Human-readable workspace slug."
        },
        "timezone": {
          "type": [
            "string",
            "null"
          ],
          "description": "IANA timezone used for business dates."
        },
        "currencyCode": {
          "type": [
            "string",
            "null"
          ],
          "description": "ISO 4217 reporting currency."
        },
        "countryCode": {
          "type": [
            "string",
            "null"
          ],
          "description": "ISO 3166-1 alpha-2 country code."
        }
      },
      "additionalProperties": true
    }
  }
}