{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/connections-icu/json-schema/connections-icu-touch-response-schema.json",
  "title": "TouchResponse",
  "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/TouchResponse",
  "type": "object",
  "required": [
    "touch"
  ],
  "properties": {
    "touch": {
      "$ref": "#/$defs/Touch"
    }
  },
  "$defs": {
    "Touch": {
      "type": "object",
      "description": "Relationship touch returned by the Connections Developer API.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Touch ID."
        },
        "contact_id": {
          "type": "string",
          "description": "Contact ID for the person this touch belongs to."
        },
        "contact_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Current display name for the contact."
        },
        "kind": {
          "type": "string",
          "enum": [
            "note",
            "meeting",
            "call",
            "message",
            "email",
            "introduction"
          ],
          "description": "Touch type."
        },
        "body": {
          "type": "string",
          "description": "Touch note body."
        },
        "occurred_at": {
          "type": "string",
          "description": "ISO-8601 UTC timestamp when the touch occurred."
        },
        "metadata": {
          "type": [
            "object",
            "null"
          ],
          "description": "Source metadata for this touch."
        },
        "created_at": {
          "type": "string",
          "description": "ISO-8601 UTC timestamp when the touch was created."
        },
        "updated_at": {
          "type": "string",
          "description": "ISO-8601 UTC timestamp when the touch was last updated."
        }
      }
    }
  }
}