{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/connections-icu/json-schema/connections-icu-contact-write-input-schema.json",
  "title": "ContactWriteInput",
  "description": "Contact write input. POST requires name. PATCH updates only supplied fields.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/connections-icu-contacts-api-openapi.yml#/components/schemas/ContactWriteInput",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "context": {
      "type": "string"
    },
    "locationLabel": {
      "type": "string"
    },
    "lastMetLabel": {
      "type": "string"
    },
    "color": {
      "type": "string"
    },
    "isFavorite": {
      "type": "boolean"
    },
    "needsFollowUp": {
      "type": "boolean"
    },
    "company": {
      "type": "string",
      "description": "Overwrites unconditionally when supplied - never merged with the existing value."
    },
    "jobTitle": {
      "type": "string",
      "description": "Overwrites unconditionally when supplied - never merged with the existing value."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}