{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-note-schema.json",
  "title": "Note",
  "description": "Note Details",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brevo-notes-api-openapi.yml#/components/schemas/Note",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique note Id"
    },
    "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>`."
    },
    "contactIds": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "Contact ids linked to a note"
    },
    "companyIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Company ids linked to a note"
    },
    "dealIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Deal ids linked to a note"
    },
    "authorId": {
      "$ref": "#/$defs/NoteAuthorId",
      "description": "Account details of user which created the note"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Note created date/time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Note updated date/time"
    }
  },
  "required": [
    "text"
  ],
  "$defs": {
    "NoteAuthorId": {
      "type": "object",
      "properties": {},
      "description": "Account details of user which created the note",
      "title": "NoteAuthorId"
    }
  }
}