{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-provider-patients-interactions-document-controller-create-body-schema.json",
  "title": "Create_DocumentInteraction",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-documentinteraction-api-openapi.yml#/components/schemas/Provider.Patients.Interactions.DocumentController.create_body",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": " The status of the interaction.",
      "enum": [
        "draft",
        "signed",
        "addended",
        "deleted",
        "failed"
      ]
    },
    "title": {
      "type": "string",
      "description": "The title of the interaction."
    },
    "body": {
      "type": "string",
      "description": "The body of the interaction. Markdown formatted."
    },
    "attachments": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The attachments of the interaction. Files will be downloaded as part of the request."
    },
    "integration_record_id": {
      "type": "string"
    },
    "integration_error_message": {
      "type": "string"
    },
    "integration_web_link": {
      "type": "string"
    }
  },
  "required": [
    "status"
  ]
}