{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/historis-app/json-schema/historis-app-event-input-schema.json",
  "title": "EventInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/historis-app-api-openapi.json#/components/schemas/EventInput",
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "in_progress",
        "done"
      ]
    },
    "deadline": {
      "type": "string",
      "format": "date"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "personIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "visibility": {
      "$ref": "#/$defs/Visibility"
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false,
  "$defs": {
    "Visibility": {
      "type": "string",
      "enum": [
        "organization",
        "teams",
        "private"
      ]
    }
  }
}