Description on Chubfrom Chub
Simple way to make Lorebook JSON, for when you want to add more lorebook entries.
Originally a part of my Card Creator card Simulator Card Creator (SCC), thought might be useful as a separate lorebook entry too.
Lorebook Schema
1 entries · scan depth 2 · budget 512 tokens · recursive scanning off
Simple way to make Lorebook JSON.
Book settings
Showing 1 of 1
- #1Lorebook Schema
Keys: Lorebook, Schema, JSON
Enabled · After character · Order 10 · 100%
Use this JSON Schema when making Lorebook JSON:
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Lorebook Schema", "description": "Schema for a standalone lorebook containing world information, character profiles, and system mechanics.", "type": "object", "properties": { "extensions": { "description": "Extensions object. Unused, default empty.", "type": "object", "const": {} }, "entries": { "type": "array", "items": { "$ref": "#/definitions/CharacterBookEntry" }, "description": "Lorebook entries containing world information, character profiles, and system mechanics." } }, "required": ["extensions", "entries"], "definitions": { "CharacterBookEntry": { "type": "object", "description": "A lorebook entry for a world element, character, or rule.", "properties": { "name": { "description": "A human-readable name for the entry, typically matching the first key.", "type": "string" }, "id": { "description": "Unique ID (assigned sequentially starting from 0).", "type": "integer" }, "keys": { "description": "Trigger keywords or phrases for this entry (e.g., [\"King's Landing\", \"Red Keep\"]).", "type": "array", "items": { "type": "string" }, "minItems": 1 }, "content": { "description": "The information about the world, character, or rule to be injected.", "type": "string" }, "enabled": { "description": "Entry enabled status.", "type": "boolean", "const": true }, "insertion_order": { "description": "Entry insertion order.", "type": "integer", "const": 100 }, "position": { "description": "Entry position.", "type": "string", "const": "after_char" }, "extensions": { "description": "Entry extensions object. Unused, default empty.", "type": "object", "const": {} } }, "required": ["name", "id", "keys", "content", "enabled", "insertion_order", "position", "extensions"] } } }Entry settings
1 file
- .jsonjson_lorebookoriginal
3.5 KBfirst seen 9fbf9d34f49064f2
Opens with the tab.
