Grist · Schema

GristDocument

Metadata for a Grist document.

SpreadsheetDatabaseCollaborationNo-CodeData ManagementWebhooksOpen Source

Properties

Name Type Description
id string Unique document identifier.
name string Human-readable document name.
isPinned boolean Whether the document is pinned at the top of workspace listings.
urlId stringnull Optional URL-friendly alias for the document.
access string Caller's access level for this document.
View JSON Schema on GitHub

JSON Schema

grist-document.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grist/main/json-schema/grist-document.json",
  "title": "GristDocument",
  "description": "Metadata for a Grist document.",
  "type": "object",
  "required": ["id", "name", "isPinned", "urlId", "access"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique document identifier.",
      "example": "9PJhBDZPyCNoayZxaCwFfS"
    },
    "name": {
      "type": "string",
      "description": "Human-readable document name.",
      "example": "Project Lollipop"
    },
    "isPinned": {
      "type": "boolean",
      "description": "Whether the document is pinned at the top of workspace listings.",
      "example": false
    },
    "urlId": {
      "type": ["string", "null"],
      "description": "Optional URL-friendly alias for the document.",
      "example": null
    },
    "access": {
      "type": "string",
      "enum": ["owners", "editors", "viewers"],
      "description": "Caller's access level for this document."
    }
  }
}