{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aurinko/json-schema/aurinko-calendar-schema.json",
  "title": "Calendar",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aurinko-calendars-api-openapi.yml#/components/schemas/Calendar",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "color": {
      "type": "string",
      "readOnly": true
    },
    "description": {
      "type": "string",
      "readOnly": true
    },
    "accessRole": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "owner",
        "writer",
        "reader"
      ]
    },
    "primary": {
      "type": "boolean",
      "readOnly": true
    }
  }
}