{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Parent", "title": "Parent", "type": "object", "description": "A Parent object represents the parent of a page, database, or block. The parent can be a workspace, page, database, or block.", "properties": { "type": { "type": "string", "description": "The type of parent.", "enum": [ "database_id", "page_id", "block_id", "workspace" ] }, "database_id": { "type": "string", "format": "uuid", "description": "The ID of the parent database. Present when type is \"database_id\"." }, "page_id": { "type": "string", "format": "uuid", "description": "The ID of the parent page. Present when type is \"page_id\"." }, "block_id": { "type": "string", "format": "uuid", "description": "The ID of the parent block. Present when type is \"block_id\"." }, "workspace": { "type": "boolean", "description": "Always true when the parent is the workspace. Present when type is \"workspace\"." } }, "required": [ "type" ] }