addedInput schema / $schema
Added value: +"http://json-schema.org/draft-07/schema#"
addedInput schema / additionalProperties
Added value: +{}
addedInput schema / properties / active
Added value: +{
+ "type": "boolean"
+}
addedInput schema / properties / adventureId
Added value: +{
+ "description": "Adventure to add the page to.",
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / aliases
Added value: +{
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / content
Added value: +{
+ "description": "Page body in markdown. Imagine renders this verbatim. WARNING: REPLACED wholesale on update; prefer imagine_replace_in_adventure_page for surgical edits.",
+ "type": "string"
+}
addedInput schema / properties / details
Added value: +{
+ "description": "Label/value list of arbitrary metadata pairs.",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+}
addedInput schema / properties / documentType
Added value: +{
+ "description": "Structural type. Drives shape-specific fields.",
+ "enum": [
+ "generic",
+ "act",
+ "scene",
+ "location",
+ "character",
+ "handout",
+ "lore",
+ "appendix",
+ "map"
+ ],
+ "type": "string"
+}
addedInput schema / properties / duration
Added value: +{
+ "type": "string"
+}
addedInput schema / properties / goal
Added value: +{
+ "type": "string"
+}
addedInput schema / properties / image
Added value: +{
+ "type": "string"
+}
addedInput schema / properties / link
Added value: +{
+ "description": "URL-safe slug. Lowercase letters, numbers, hyphens, slashes.",
+ "type": "string"
+}
addedInput schema / properties / locationKey
Added value: +{
+ "type": "string"
+}
addedInput schema / properties / map
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Location shape: Mongo `_id` of the Map this location belongs to. Pass null to clear."
+}
addedInput schema / properties / mapPin
Added value: +{
+ "type": "string"
+}
addedInput schema / properties / menuOrder
Added value: +{
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+}
addedInput schema / properties / name
Added value: +{
+ "description": "Page name. Required.",
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / outboundLinks
Added value: +{
+ "description": "AdventurePage ids this page links to. Imagine recomputes this on save when missing; explicit values override.",
+ "items": {
+ "description": "Mongo `_id` reference (24-character hex string).",
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / parentId
Added value: +{
+ "description": "Mongo `_id` of the parent page (for tree structure).",
+ "type": "string"
+}
addedInput schema / properties / relationships
Added value: +{
+ "description": "Sibling AdventurePage ids the page relates to.",
+ "items": {
+ "description": "Mongo `_id` reference (24-character hex string).",
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / summary
Added value: +{
+ "description": "Short page summary. Max 150 characters (matches the AdventurePage Mongoose schema's maxlength). Sibling Adventure and WorldPage summaries share the same cap; legacy World summaries cap at 255 (cross-app convention).",
+ "maxLength": 150,
+ "type": "string"
+}
addedInput schema / properties / tags
Added value: +{
+ "description": "Tag list. Imagine stores as a comma-separated `keywords` string.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / properties / template
Added value: +{
+ "description": "Template id when authored from a template.",
+ "type": "string"
+}
addedInput schema / properties / treasureRefs
Added value: +{
+ "description": "Treasure entries. Same shape as `vaultRefs`.",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "count": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "vaultId": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+}
addedInput schema / properties / vaultRefs
Added value: +{
+ "description": "Participants on the page. Each entry `{ vaultId?, type?, count?, name? }`.",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "count": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "vaultId": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+}
addedInput schema / properties / worldPageRefs
Added value: +{
+ "description": "Mongo `_id` list of referenced world pages.",
+ "items": {
+ "description": "Mongo `_id` reference (24-character hex string).",
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "array"
+}
addedInput schema / required
Added value: +[
+ "adventureId",
+ "name"
+]