Slite · Schema

SearchNoteHit

DocumentationKnowledge BaseCollaborationNotesTeamAsynchronous WorkAISearch

Properties

Name Type Description
parentNotes array Breadcrumb of the note The first element is the channel
reviewState object Review state of the note Can be Verified, Outdated, VerificationRequested or VerificationExpired
highlight string Part of the note that matched the query. If an empty string is returned, it means only the title matched.
type object Type of the note It can be a collection, a discussion or a default rich_text.
archivedAt string Date of the archiving of the note (null if not archived)
iconColor string Optional icon color for the note.
iconShape string Optional icon identifier for the note.
lastEditedAt string Date of the last edition of the note
updatedAt string Date of the last update of the note
title string Title of the note
id string Id of the note
View JSON Schema on GitHub

JSON Schema

SearchNoteHit.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/slite/main/json-schema/SearchNoteHit.json",
  "title": "SearchNoteHit",
  "properties": {
    "parentNotes": {
      "items": {
        "properties": {
          "title": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "id"
        ],
        "type": "object"
      },
      "type": "array",
      "description": "Breadcrumb of the note\nThe first element is the channel"
    },
    "reviewState": {
      "$ref": "#/components/schemas/PublicApiReviewState",
      "description": "Review state of the note\nCan be Verified, Outdated, VerificationRequested or VerificationExpired"
    },
    "highlight": {
      "type": "string",
      "description": "Part of the note that matched the query.\nIf an empty string is returned, it means only the title matched."
    },
    "type": {
      "$ref": "#/components/schemas/SearchNoteType",
      "description": "Type of the note\nIt can be a collection, a discussion or a default rich_text."
    },
    "archivedAt": {
      "type": "string",
      "format": "date-time",
      "nullable": true,
      "description": "Date of the archiving of the note (null if not archived)"
    },
    "iconColor": {
      "type": "string",
      "nullable": true,
      "description": "Optional icon color for the note."
    },
    "iconShape": {
      "type": "string",
      "nullable": true,
      "description": "Optional icon identifier for the note."
    },
    "lastEditedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Date of the last edition of the note"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Date of the last update of the note"
    },
    "title": {
      "type": "string",
      "description": "Title of the note"
    },
    "id": {
      "type": "string",
      "description": "Id of the note"
    }
  },
  "required": [
    "parentNotes",
    "highlight",
    "type",
    "archivedAt",
    "lastEditedAt",
    "updatedAt",
    "title",
    "id"
  ],
  "type": "object"
}