{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stacktr-ee/json-schema/stacktr-ee-client-space-schema.json",
  "title": "ClientSpace",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stacktr-ee-openapi.yml#/components/schemas/ClientSpace",
  "type": "object",
  "required": [
    "id",
    "name",
    "slug"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string",
      "description": "Display name, e.g. \"Acme Co\". Renameable."
    },
    "slug": {
      "type": "string",
      "description": "URL-safe identifier. Stable forever — renames never change it."
    },
    "hostname": {
      "type": [
        "string",
        "null"
      ],
      "description": "Custom hostname bound to the space, if any."
    },
    "page_count": {
      "type": "integer",
      "description": "Pages filed under the space."
    },
    "last_activity_at": {
      "type": "integer",
      "description": "Unix epoch seconds of the newest page update."
    },
    "archived_at": {
      "type": [
        "integer",
        "null"
      ]
    },
    "created_at": {
      "type": "integer"
    }
  }
}