{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/busyboard-app/json-schema/busyboard-app-block-schema.json",
  "title": "Block",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/busyboard-app-api-openapi.yml#/components/schemas/Block",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "userId": {
      "type": "string",
      "format": "uuid"
    },
    "startTime": {
      "type": "string",
      "format": "date-time"
    },
    "endTime": {
      "type": "string",
      "format": "date-time"
    },
    "isAllDay": {
      "type": "boolean"
    },
    "responseStatus": {
      "type": "string",
      "enum": [
        "accepted",
        "tentative",
        "needsAction"
      ],
      "description": "Only included for own blocks (dual-detail model)"
    },
    "mergedCount": {
      "type": "integer"
    }
  }
}