{ "lexicon": 1, "id": "sh.weaver.notebook.entry", "defs": { "main": { "type": "record", "description": "A notebook entry", "key": "tid", "record": { "type": "object", "required": ["content", "title", "path", "createdAt"], "properties": { "title": { "type": "ref", "ref": "sh.weaver.notebook.defs#title" }, "path": { "type": "ref", "ref": "sh.weaver.notebook.defs#path" }, "tags": { "type": "ref", "ref": "sh.weaver.notebook.defs#tags" }, "authors": { "type": "array", "items": { "type": "ref", "ref": "sh.weaver.actor.defs#author" } }, "content": { "type": "string", "description": "The content of the notebook entry. This should be some flavor of Markdown." }, "createdAt": { "type": "string", "format": "datetime", "description": "Client-declared timestamp when this was originally created." }, "updatedAt": { "type": "string", "format": "datetime", "description": "Client-declared timestamp of last modification. Used for canonicality tiebreaking in multi-author scenarios." }, "contentWarnings": { "type": "ref", "ref": "sh.weaver.notebook.defs#contentWarnings" }, "rating": { "type": "ref", "ref": "sh.weaver.notebook.defs#contentRating" }, "embeds": { "type": "object", "description": "The set of images and records, if any, embedded in the notebook entry.", "properties": { "images": { "type": "ref", "ref": "sh.weaver.embed.images" }, "records": { "type": "ref", "ref": "sh.weaver.embed.records" }, "videos": { "type": "ref", "ref": "sh.weaver.embed.video" }, "externals": { "type": "ref", "ref": "sh.weaver.embed.external" }, "recordsWithMedia": { "type": "array", "items": { "type": "ref", "ref": "sh.weaver.embed.recordWithMedia" } } } } } } } } }