{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/connections-icu/json-schema/connections-icu-touch-write-input-schema.json",
  "title": "TouchWriteInput",
  "description": "Touch write input. POST requires contact_id and body; kind defaults to note.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/connections-icu-touches-api-openapi.yml#/components/schemas/TouchWriteInput",
  "type": "object",
  "required": [
    "contact_id",
    "body"
  ],
  "properties": {
    "contact_id": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "note",
        "meeting",
        "call",
        "message",
        "email",
        "introduction"
      ]
    },
    "body": {
      "type": "string"
    },
    "occurred_at": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}