{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-note-schema.json",
  "title": "Note",
  "description": "Notes used to contact customer and agents.",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-us-shortcode-campaigns-api-openapi.yml#/components/schemas/Note",
  "properties": {
    "author": {
      "description": "Author. It can be either a customer or an agent.",
      "enum": [
        "CUSTOMER",
        "AGENT"
      ],
      "x-enumDescriptions": {
        "CUSTOMER": "Customer",
        "AGENT": "Agent"
      },
      "format": "enum",
      "type": "string"
    },
    "text": {
      "description": "Note text",
      "type": "string"
    },
    "createdAt": {
      "description": "Note creation date",
      "type": "string",
      "format": "date-time"
    }
  },
  "type": "object"
}