{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anjal-app/json-schema/anjal-app-workspace-key-schema.json",
  "title": "WorkspaceKey",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anjal-app-workspaces-api-openapi.yml#/components/schemas/WorkspaceKey",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "key": {
      "type": "string",
      "description": "Plain-text key — only returned on creation. Store it somewhere safe."
    },
    "prefix": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "workspaceId": {
      "type": "string",
      "format": "uuid"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}