{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-note-data-schema.json",
  "title": "NoteData",
  "description": "Note data to be saved",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-notes-api-openapi.yml#/components/schemas/NoteData",
  "type": "object",
  "properties": {
    "companyIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Company Ids linked to a note"
    },
    "contactIds": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "Contact Ids linked to a note"
    },
    "dealIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Deal Ids linked to a note"
    },
    "text": {
      "type": "string",
      "description": "Content of the note. Supports HTML for rich text formatting. Supported tags include: `<p>` (paragraph), `<b>` / `<strong>` (bold), `<i>` / `<em>` (italic), `<u>` (underline), `<br>` (line break), `<a href=\"...\">` (labelled hyperlink). Example labelled link: `<a href=\"https://example.com\">Link text</a>`."
    }
  },
  "required": [
    "text"
  ]
}