{
  "specification": "RedBook Open XML",
  "version": "1.0",
  "status": "normative",
  "count": 113,
  "profiles": {
    "core-operations": "Standard world model, communication, participant conceptual authoring and explicit domain-processing operations; the normative name set is every entry with this capability.",
    "authoring": "Compound, advanced administrative and package/resource-management operations; complete contracts apply to every declared name."
  },
  "commonContract": "/redbook-specification/#4-3-action-contract-and-atomic-execution",
  "actions": [
    {
      "name": "rb.document.describe",
      "description": "Read world identity, available definitions, presentation and time without recording activity.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "formatVersion": {
            "const": "1.0"
          },
          "time": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/time-rule.schema.json"
          },
          "counts": {
            "type": "object",
            "properties": {
              "valid": {
                "const": true
              },
              "elements": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "relationships": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "types": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "valid",
              "elements",
              "relationships",
              "types"
            ],
            "additionalProperties": false
          },
          "presentation": {
            "type": "object",
            "properties": {
              "defaultViewbox": {
                "oneOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "theme": {
                "type": "string",
                "minLength": 1
              },
              "language": {
                "type": "string",
                "minLength": 1
              }
            },
            "required": [
              "defaultViewbox"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "id",
          "title",
          "formatVersion",
          "time",
          "counts",
          "presentation"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "A valid world is selected.",
      "effects": "Return identity, version, time, presentation and structural counts without mutation.",
      "result": "Document metadata and structural counts.",
      "profile": "core.document",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-document-describe",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.document.rename",
      "description": "Change the current document title without retaining its previous value.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          }
        },
        "required": [
          "title"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          }
        },
        "required": [
          "title"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "RedBook administration; title is a string.",
      "effects": "Replace only the current document title; retain identity and chronology.",
      "result": "Object containing the resulting title.",
      "profile": "core.document",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-document-rename",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.records.query",
      "description": "Select current authored records; reads do not mark attention.",
      "effect": "read",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "minLength": 1
          },
          "primitive": {
            "enum": [
              "element",
              "relationship"
            ]
          },
          "text": {
            "type": "string"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "array",
        "items": {
          "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Query uses declared keys and valid paging.",
      "effects": "Filter the complete base enumeration (Elements then Relationships) using exact primitive/type predicates and the Unicode 15.1 full-default-fold searchable token algorithm in Part 4.4; apply offset then limit. No locale-dependent scalar conversion, sorting or implicit attention.",
      "result": "An ordered list of matching record snapshots.",
      "profile": "core.records",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {
        "type": "No type restriction.",
        "primitive": "Both primitives.",
        "text": "",
        "limit": 100,
        "offset": 0
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-records-query",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.records.read",
      "description": "Read an authored record without altering the world.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "The record identity resolves locally.",
      "effects": "Read one record without changing it or creating defaults.",
      "result": "The selected record snapshot.",
      "profile": "core.records",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-records-read",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.types.list",
      "description": "Read carried CET/CRT definitions and specializations.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "array",
        "items": {
          "$ref": "https://redbook.fun/specification/1.0/schemas/type.schema.json"
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "A world is selected.",
      "effects": "Return carried declarations including unused supplied definitions.",
      "result": "All current type definitions in declaration order.",
      "profile": "core.types",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-types-list",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.types.register",
      "description": "Author a new root type or one further specialization.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "definition": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/type.schema.json"
          }
        },
        "required": [
          "definition"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/type.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; fresh type identity; valid root or specialization.",
      "effects": "Add the complete definition, validate satisfiable inheritance and existing references atomically.",
      "result": "The registered type definition.",
      "profile": "core.types",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-types-register",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.types.update",
      "description": "Deliberately replace a carried type definition while retaining its identity, primitive and parent. Existing records must still validate.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "definition": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/type.schema.json"
          }
        },
        "required": [
          "definition"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/type.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; identity, key, primitive and parent remain stable; supplied meaning is retained for a core claim.",
      "effects": "Replace the definition only if all affected records and inherited constraints remain valid.",
      "result": "The updated type definition.",
      "profile": "core.types",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-types-update",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.elements.create",
      "description": "Create a typed Element; Digital/context Neocortexes are formed in the same transaction.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "allOf": [
          {
            "if": {
              "properties": {
                "type": {
                  "enum": [
                    "poll",
                    "urn:redbook:type:poll"
                  ]
                }
              },
              "required": [
                "type"
              ]
            },
            "then": {
              "properties": {
                "properties": {
                  "type": "object",
                  "properties": {
                    "options": {
                      "$ref": "https://redbook.fun/specification/1.0/schemas/domain-response.schema.json#/$defs/options"
                    }
                  }
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "type": {
                  "enum": [
                    "questionnaire",
                    "urn:redbook:type:questionnaire"
                  ]
                }
              },
              "required": [
                "type"
              ]
            },
            "then": {
              "properties": {
                "properties": {
                  "type": "object",
                  "properties": {
                    "questions": {
                      "$ref": "https://redbook.fun/specification/1.0/schemas/domain-response.schema.json#/$defs/questions"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; declared CET; supplied Properties satisfy the effective contract. Poll option and Questionnaire question definitions, including inherited core specializations, must satisfy Part 3.9 and domain-response.schema.json before allocation; exactly $rb is reserved in those local ID fields.",
      "effects": "Create one Element with materialized creation defaults; initialize mandatory Neocortex dependencies atomically.",
      "result": "The new Element; dependent records are accessible by their relationships.",
      "profile": "core.elements",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "LOCAL_ID_RESERVED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "title": "",
        "properties": {}
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-elements-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.relationships.create",
      "description": "Create one typed, potentially multi-participant Relationship.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "slots": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            }
          }
        },
        "required": [
          "type",
          "slots"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; declared CRT; slot participants and Properties are valid.",
      "effects": "Create an independently identified Relationship; no universal binary-edge restriction.",
      "result": "The new Relationship.",
      "profile": "core.relationships",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "title": "",
        "properties": {}
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-relationships-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.records.edit",
      "description": "Edit current content in place. No revision snapshot is retained.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "patch": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record-patch.schema.json"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; record exists; patch names only title, properties, categories, tags or slots. Applicable Poll/Questionnaire local IDs must be valid and cannot be exactly $rb; reject a reserved descriptor or response key with LOCAL_ID_RESERVED before changing state.",
      "effects": "Replace supplied simple members; shallow-merge supplied Property keys. Validate final invariants; no revision copy.",
      "result": "The changed record snapshot.",
      "profile": "core.records",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "LOCAL_ID_RESERVED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-records-edit",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.records.unset-properties",
      "description": "Remove named property keys, distinct from assigning null.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "keys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "uniqueItems": true
          }
        },
        "required": [
          "id",
          "keys"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; record exists; removing keys preserves required fields.",
      "effects": "Remove the explicitly named Property keys; assigning null is a different operation.",
      "result": "The changed record snapshot.",
      "profile": "core.records",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-records-unset-properties",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.records.deletion-preview",
      "description": "Read the complete dependency-aware deletion plan without changing the world.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "ids"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "relationships": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "propertyReferrers": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "attributionReferrers": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "ownershipBlockers": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "resourceDependencies": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "ids",
          "relationships",
          "propertyReferrers",
          "attributionReferrers",
          "ownershipBlockers",
          "resourceDependencies"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Every selected identity exists.",
      "effects": "Compute dependent relationships, typed references, ownership implications and retained credits; no mutation.",
      "result": "Deletion plan with identities and blockers.",
      "profile": "core.records",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-records-deletion-preview",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.records.delete",
      "description": "Permanently remove an explicit selection. Optional relationship removal is reported; no hidden edit archive.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "removeRelationships": {
            "type": "boolean"
          }
        },
        "required": [
          "ids"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "removed": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "retainedAuthorCredits": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "removed",
          "retainedAuthorCredits"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; all required references resolved explicitly; relationship deletion selected when needed.",
      "effects": "Delete selected records and explicitly permitted dependent links; detach surviving author credits; validate atomically.",
      "result": "Removed identities and records whose author links became credits.",
      "profile": "core.records",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "removeRelationships": false
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-records-delete",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.taxonomy.define",
      "description": "Create a Category or Tag definition shared by both primitives.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "enum": [
              "category",
              "tag"
            ]
          },
          "label": {
            "type": "string",
            "minLength": 1
          },
          "parent": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "kind",
          "label"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              },
              "label": {
                "type": "string"
              },
              "parent": {
                "oneOf": [
                  {
                    "type": "string",
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "label",
              "parent"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              },
              "label": {
                "type": "string"
              }
            },
            "required": [
              "id",
              "label"
            ],
            "additionalProperties": false
          }
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; valid term kind; optional Category parent resolves.",
      "effects": "Create a Category or Tag with a fresh identity and given label.",
      "result": "The created taxonomy term.",
      "profile": "core.taxonomy",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "parent": "Category root; Tags reject a supplied parent."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-taxonomy-define",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.taxonomy.assign",
      "description": "Set the current Categories and/or Tags of either primitive.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; target record and all assigned terms exist.",
      "effects": "Replace supplied assignment lists; preserve omitted lists; no duplicate assignment.",
      "result": "The changed record snapshot.",
      "profile": "core.taxonomy",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "categories": "Leave existing Categories unchanged.",
        "tags": "Leave existing Tags unchanged."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-taxonomy-assign",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.time.read",
      "description": "Evaluate the optional central time rule. No activity or scheduling is manufactured.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "recordedAt": {
            "type": "string",
            "pattern": "^[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])T(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]\\.[0-9]{3}Z(?![\\s\\S])"
          }
        },
        "required": [],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/time-rule.schema.json"
          },
          "worldTime": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json"
          }
        },
        "required": [
          "rule",
          "worldTime"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Valid central rule; custom provider available when required.",
      "effects": "Compute a reading from explicit recordedAt or host time without recording activity.",
      "result": "The rule and its computed portable worldTime.",
      "profile": "core.time",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {
        "recordedAt": "Current host recording instant; unlike other read actions this explicit clock request may consult the host clock."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-time-read",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.time.configure",
      "description": "Replace the central time rule without redating existing authored events.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "rule": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/time-rule.schema.json"
          }
        },
        "required": [
          "rule"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/time-rule.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; new rule satisfies its mode contract.",
      "effects": "Replace the central rule; do not recalculate old event observations.",
      "result": "The installed rule.",
      "profile": "core.time",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-time-configure",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.time.advance",
      "description": "Explicitly advance a manually stepped world clock.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "milliseconds": {
            "type": "string",
            "pattern": "^(?:0|-?[1-9][0-9]*)(?![\\s\\S])"
          }
        },
        "required": [
          "milliseconds"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/time-rule.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; central mode is manual; increment is exact signed milliseconds.",
      "effects": "Add the increment exactly to currentMilliseconds; do not create events or execute jobs.",
      "result": "The updated manual rule.",
      "profile": "core.time",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-time-advance",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.digitals.create",
      "description": "Create an ordinary Digital and exactly one personal Soma Neocortex; no automatic Wall, Mailbox or AI.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "minLength": 1,
            "default": "digital"
          },
          "title": {
            "type": "string"
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          }
        },
        "required": [
          "title"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; type is Digital or its specialization; omitted type means root Digital.",
      "effects": "Create the Digital, one personal Neocortex and their ownership Relationship atomically.",
      "result": "The new Digital.",
      "profile": "core.digitals",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "type": "digital",
        "properties": {}
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-digitals-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.communication.start",
      "description": "Create an explicitly selected communication context with its shared Neocortex and memberships.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "participants": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "targetIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "minItems": 1,
            "uniqueItems": true
          }
        },
        "required": [
          "type",
          "title"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "allOf": [
          {
            "if": {
              "properties": {
                "type": {
                  "enum": [
                    "poll",
                    "urn:redbook:type:poll"
                  ]
                }
              },
              "required": [
                "type"
              ]
            },
            "then": {
              "properties": {
                "properties": {
                  "type": "object",
                  "properties": {
                    "options": {
                      "$ref": "https://redbook.fun/specification/1.0/schemas/domain-response.schema.json#/$defs/options"
                    }
                  }
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "type": {
                  "enum": [
                    "questionnaire",
                    "urn:redbook:type:questionnaire"
                  ]
                }
              },
              "required": [
                "type"
              ]
            },
            "then": {
              "properties": {
                "properties": {
                  "type": "object",
                  "properties": {
                    "questions": {
                      "$ref": "https://redbook.fun/specification/1.0/schemas/domain-response.schema.json#/$defs/questions"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Selected actor exists; declared type has shared-neocortex trait; participants are valid Digitals. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields. Review creation requires nonempty accessible targetIds; every other selected root rejects targetIds. Poll option and Questionnaire question definitions, including inherited core specializations, must satisfy Part 3.9 and domain-response.schema.json before allocation; exactly $rb is reserved in those local ID fields.",
      "effects": "Create context, one shared Neocortex and unique explicit active memberships. Duplicate supplied participants are coalesced without changing their first-occurrence order. Preserve supplied valid state or the selected type’s declared state default (for example Event planned and Gathering open); never force every context to open. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types. Review creation also creates its Review Target association atomically, using targetIds in supplied order.",
      "result": "The new communication context.",
      "profile": "core.communication",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "LOCAL_ID_RESERVED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "properties": {},
        "participants": [],
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "targetIds": "Required and nonempty for Review creation; forbidden for all other selected roots."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-communication-start",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": null,
        "typeSelection": "shared-neocortex",
        "propertiesMode": "declared-content",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.conversations.create",
      "description": "Start a conversation with explicit participants and a shared conceptual home.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "participants": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "title"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Selected actor exists; type is Conversation or specialization; participants resolve. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create Conversation, shared Neocortex, owner link and participant memberships atomically. Duplicate supplied participants are coalesced without changing their first-occurrence order. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Conversation.",
      "profile": "core.conversations",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "type": "conversation",
        "properties": {},
        "participants": [],
        "categories": "Empty on creation.",
        "tags": "Empty on creation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-conversations-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "conversation",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "declared-content",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.conversations.send",
      "description": "Contribute a message, question, answer or summary as the selected Digital.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "conversationId": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "replyTo": {
            "type": "string",
            "minLength": 1
          },
          "mentions": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "conversationId",
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Open Conversation; active participant; optional reply and mentions resolve in correct scope. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create sent Message, recording fields, Contribution, optional Reply and Mention links. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Message.",
      "profile": "core.conversations",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "type": "message",
        "title": "",
        "replyTo": "No reply Relationship is created.",
        "mentions": [],
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-conversations-send",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "message",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.conversations.messages",
      "description": "Read messages in authored sequence, without attention effects.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "conversationId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "conversationId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "array",
        "items": {
          "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Conversation exists.",
      "effects": "Return its contributions in exact local event order without modifying attention or chronology.",
      "result": "The ordered contribution snapshots.",
      "profile": "core.conversations",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-conversations-messages",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.conversations.close",
      "description": "Explicitly close a conversation as its author or administrator.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "id": {
            "type": "string",
            "minLength": 1
          },
          "closed": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "closed"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Selected actor is attributed context author, or administrator.",
      "effects": "Set state to closed or open explicitly; preserve all content and conceptual homes.",
      "result": "The updated Conversation.",
      "profile": "core.conversations",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-conversations-close",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.messages.edit",
      "description": "Correct a current message without keeping its prior body.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "id": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          }
        },
        "required": [
          "id",
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Message exists; selected actor is its author, or administrator.",
      "effects": "Replace current body without adding an event, edition or edit-history record.",
      "result": "The updated Message.",
      "profile": "core.messages",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-messages-edit",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.questions.accept-answer",
      "description": "Select an answer explicitly; clearing or changing it does not claim a truth score.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "questionId": {
            "type": "string",
            "minLength": 1
          },
          "answerId": {
            "oneOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "questionId",
          "answerId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          },
          {
            "type": "null"
          }
        ]
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Question and Answer are Message instances; selected actor is question author or administrator.",
      "effects": "With non-null answerId, set or replace the Accepted Answer relationship after verifying the selected question and answer. With explicit null, remove only the Accepted Answer relationships for that question; retain question, answer, their observations and credits. Repeated clear is an authorized no-op.",
      "result": "Selected Accepted Answer relationship, or null when cleared.",
      "profile": "core.questions",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-questions-accept-answer",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.discussions.split",
      "description": "Create a new conversation and move an explicitly selected set of contributions into it.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "conversationId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "messageIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "conversationId",
          "title",
          "messageIds"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Context author or administrator; all selected messages belong to source; reply scope can remain valid.",
      "effects": "Create a new Thread with participant memberships and empty shared Neocortex; move selected Contribution links atomically.",
      "result": "The new Thread; source conceptual content is not silently copied.",
      "profile": "core.discussions",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-discussions-split",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.walls.create",
      "description": "Create a Wall or specialization with an explicit contribution policy.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "title"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Selected actor exists; type is Wall or specialization; policy is valid. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create attributed Wall with exactly one shared Neocortex; no Post is implied. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Wall.",
      "profile": "core.walls",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "type": "wall",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-walls-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "wall",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "declared-content",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.posts.create",
      "description": "Author a Post or specialization as an ordinary contribution.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "publish": {
            "type": "boolean"
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Selected actor exists; type is Post or specialization; body is portable. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create one attributed event in draft by default, or published when explicitly requested. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Post.",
      "profile": "core.posts",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "title": "",
        "type": "post",
        "publish": false,
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-posts-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "post",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.posts.publish",
      "description": "Make the current authored contribution available as published, without making a hidden edition.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Post exists; selected actor is its author or administrator.",
      "effects": "Set current state to published without cloning or rewriting its original event fields.",
      "result": "The published Post.",
      "profile": "core.posts",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-posts-publish",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.walls.place",
      "description": "Place published content on a Wall; content and placement have distinct identities.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "wallId": {
            "type": "string",
            "minLength": 1
          },
          "itemId": {
            "type": "string",
            "minLength": 1
          },
          "position": {
            "type": "number"
          },
          "pinned": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "wallId",
          "itemId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Wall and content exist; Post is published; actor satisfies Wall policy. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create a distinct placement with pin, position and published/pending state; retain content authorship. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The Wall Placement Relationship.",
      "profile": "core.walls",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "position": "Use the item’s event sequence if exactly representable as a safe ordinary integer; otherwise append after the greatest existing placement position using a representable value. If no such value exists, reject with ORDER_RANGE.",
        "pinned": false,
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "wall-placement"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-walls-place",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "wall-placement",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.walls.entries",
      "description": "Read placed entries with pins and authored order, without duplicating source content.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "wallId": {
            "type": "string",
            "minLength": 1
          },
          "includePending": {
            "type": "boolean"
          }
        },
        "required": [
          "wallId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "placement": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
            },
            "items": {
              "type": "array",
              "items": {
                "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
              }
            }
          },
          "required": [
            "placement",
            "items"
          ],
          "additionalProperties": false
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Wall exists.",
      "effects": "Select published placements, or include pending when explicitly requested, in standard Wall order.",
      "result": "Ordered objects with placement and referenced item snapshots.",
      "profile": "core.walls",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {
        "includePending": false
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-walls-entries",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.walls.review",
      "description": "Approve or reject a Wall placement as the Wall author or administrator.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "placementId": {
            "type": "string",
            "minLength": 1
          },
          "accept": {
            "type": "boolean"
          }
        },
        "required": [
          "placementId",
          "accept"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Placement exists; selected actor is Wall author or administrator.",
      "effects": "Set placement state to published or rejected; leave source content unchanged.",
      "result": "The changed placement.",
      "profile": "core.walls",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-walls-review",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.mail.send",
      "description": "Dispatch internal correspondence and create independent recipient delivery and mailbox state.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "subject": {
            "type": "string"
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "to": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "cc": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "bcc": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "replyTo": {
            "type": "string",
            "minLength": 1
          },
          "threadMode": {
            "enum": [
              "continue",
              "new"
            ]
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "body",
          "to"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "message": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          },
          "conversationId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "message",
          "conversationId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Actor exists; nonempty recipients; no duplicates across To/Cc/Bcc. With an antecedent and threadMode=continue, its typed threadId and unique matching Contribution resolve an open mail-thread context; ambiguity fails THREAD_UNRESOLVED and closure fails STATE. Explicit new bypasses reuse, not source visibility checks. Reusing an unchanged-audience thread additionally requires active sender Membership; otherwise PARTICIPATION. Explicit new does not rejoin the old thread. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create sent Mail Message, correspondence context/shared home, deliveries and recipient inbox state atomically. The public audience is sender plus To/Cc in first-occurrence order; Bcc receives Delivery and Mailbox Entry only, not automatic thread Membership. Continue reuses the antecedent thread iff its stored mailParticipants set equals the new public audience; otherwise create a new mail-thread and shared Neocortex. A new Message stores typed threadId and has exactly one matching Contribution. No implicit historic audience or shared-home grant is added to a Bcc recipient. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "New Mail Message snapshot and conversationId of the deterministically selected existing or new correspondence context.",
      "profile": "core.mail",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE",
        "THREAD_UNRESOLVED"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "subject": "",
        "cc": [],
        "bcc": [],
        "replyTo": "No reply Relationship is created.",
        "threadMode": "continue when there is an antecedent; new when there is none.",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "mail-message"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-mail-send",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "mail-message",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.mail.read",
      "description": "Read an addressed message. Digital perspective omits other Bcc recipients; the file holder retains full access.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "messageId": {
            "type": "string",
            "minLength": 1
          },
          "actorId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "messageId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "message": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          },
          "deliveries": {
            "type": "array",
            "items": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
            }
          }
        },
        "required": [
          "message",
          "deliveries"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Message exists; Digital is sender or recipient unless administrator.",
      "effects": "Project envelope under Bcc rules; no read-state mutation.",
      "result": "Message and visible Delivery snapshots.",
      "profile": "core.mail",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-mail-read",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.mail.reply",
      "description": "Compose a new internal message using the visible envelope for reply or reply-all.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "messageId": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "replyAll": {
            "type": "boolean"
          },
          "threadMode": {
            "enum": [
              "continue",
              "new"
            ]
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "messageId",
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "message": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          },
          "conversationId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "message",
          "conversationId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Source correspondence is visible to actor; reply has a valid nonempty derived recipient set. With an antecedent and threadMode=continue, its typed threadId and unique matching Contribution resolve an open mail-thread context; ambiguity fails THREAD_UNRESOLVED and closure fails STATE. Explicit new bypasses reuse, not source visibility checks. Reusing an unchanged-audience thread additionally requires active sender Membership; otherwise PARTICIPATION. Explicit new does not rejoin the old thread. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Derive reply/reply-all recipients from visible envelope; perform internal send; link reply to source. The public audience is sender plus To/Cc in first-occurrence order; Bcc receives Delivery and Mailbox Entry only, not automatic thread Membership. Continue reuses the antecedent thread iff its stored mailParticipants set equals the new public audience; otherwise create a new mail-thread and shared Neocortex. A new Message stores typed threadId and has exactly one matching Contribution. No implicit historic audience or shared-home grant is added to a Bcc recipient. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "New Mail Message snapshot and conversationId of the deterministically selected existing or new correspondence context.",
      "profile": "core.mail",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE",
        "THREAD_UNRESOLVED"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "replyAll": false,
        "threadMode": "continue when there is an antecedent; new when there is none.",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "mail-message"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-mail-reply",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "mail-message",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.mail.inbox",
      "description": "Read a Digital’s delivered messages and independent organization without setting read flags.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "entry": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
            },
            "message": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
            }
          },
          "required": [
            "entry",
            "message"
          ],
          "additionalProperties": false
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Selected Digital exists.",
      "effects": "Return its current Mailbox Entry and Message pairs without setting read flags.",
      "result": "Ordered entry/message snapshots.",
      "profile": "core.mail",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-mail-inbox",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.mail.organize",
      "description": "Set this recipient’s labels, read, acknowledgment, star or snooze values without changing another recipient.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "entryId": {
            "type": "string",
            "minLength": 1
          },
          "patch": {
            "type": "object",
            "properties": {
              "labels": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              },
              "read": {
                "type": "boolean"
              },
              "acknowledged": {
                "type": "boolean"
              },
              "starred": {
                "type": "boolean"
              },
              "snoozedUntil": {
                "type": "string"
              }
            },
            "required": [],
            "additionalProperties": false
          }
        },
        "required": [
          "entryId",
          "patch"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Mailbox Entry belongs to selected recipient; patch keys are labels, read, acknowledged, starred or snoozedUntil.",
      "effects": "Update that entry’s current organization only; validate declared property types.",
      "result": "The changed Mailbox Entry Relationship.",
      "profile": "core.mail",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-mail-organize",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.mail.template.render",
      "description": "Render declared template variables without sending correspondence.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "minLength": 1
          },
          "values": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "required": [
          "templateId",
          "values"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "subject": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "subject",
          "text"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Template exists; every referenced substitution has a supplied string value.",
      "effects": "Substitute declared placeholders without sending or mutating anything.",
      "result": "Rendered subject and text.",
      "profile": "core.mail",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-mail-template-render",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.memberships.set",
      "description": "Explicitly set one Digital’s membership; this represents participation, not host authentication.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "contextId": {
            "type": "string",
            "minLength": 1
          },
          "digitalId": {
            "type": "string",
            "minLength": 1
          },
          "state": {
            "enum": [
              "active",
              "invited",
              "requested",
              "declined",
              "left"
            ]
          },
          "role": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "contextId",
          "digitalId",
          "state"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Context and target Digital exist. Administrator or attributed context author may manage others. A Digital may change its own existing membership only as specified in 4.5, without increasing its role or bypassing an invitation or closed enrollment.",
      "effects": "Upsert a single-member Membership with explicit state and role; no inference of host access. When a relationship includes other members, split or reduce it without changing their membership; reject if typed references prevent a valid split.",
      "result": "The resulting Membership Relationship.",
      "profile": "core.memberships",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "role": "Preserve an existing role; use member only when creating a permitted new membership."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-memberships-set",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.invitations.respond",
      "description": "Explicitly accept or decline your invitation and record corresponding membership.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "invitationId": {
            "type": "string",
            "minLength": 1
          },
          "accept": {
            "type": "boolean"
          }
        },
        "required": [
          "invitationId",
          "accept"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Invitation identifies this Digital as its single invitee and is pending. A multi-invitee invitation must be explicitly split before this singleton action.",
      "effects": "Record accepted/declined state; acceptance explicitly activates membership; no AI wake-up.",
      "result": "The changed Invitation Relationship.",
      "profile": "core.invitations",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-invitations-respond",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.reactions.set",
      "description": "Set or update an attributed reaction without inferring agreement, reading or responsibility.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "targetId": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "value": {
            "type": "string"
          },
          "criteria": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "targetId",
          "value"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Target and actor exist; type is Reaction or specialization. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Upsert the actor/type/target current reaction with value, criteria and enabled state. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The resulting Reaction Relationship.",
      "profile": "core.reactions",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "type": "reaction",
        "criteria": "",
        "enabled": true,
        "properties": {},
        "categories": "Empty on creation; preserve existing assignments on an upsert.",
        "tags": "Empty on creation; preserve existing assignments on an upsert."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-reactions-set",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "reaction",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "preserve-type"
      }
    },
    {
      "name": "rb.annotations.create",
      "description": "Annotate an Element with an explicit selector and a separately authored body.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "targetId": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "selector": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "targetId",
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Target exists; selector has a declared supported interpretation. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create an attributed Annotation event and Annotation Target link without altering its subject. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Annotation.",
      "profile": "core.annotations",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "selector": {
          "kind": "whole"
        },
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "annotation"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-annotations-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "annotation",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.comments.create",
      "description": "Add a comment to an existing Element without changing its content.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "targetId": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "targetId",
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Target and actor exist. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create an attributed Comment event and a Reply link to its subject. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Comment.",
      "profile": "core.comments",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "comment"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-comments-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "comment",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.sharing.reference",
      "description": "Create an attributed repost, quotation, forward or other circulation relation.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "sourceIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "destinationId": {
            "type": "string",
            "minLength": 1
          },
          "commentary": {
            "type": "string"
          },
          "quotedText": {
            "type": "string"
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "sourceIds"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Actor and sources exist; type is Circulation or specialization; optional destination resolves. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create attributed circulation with source references, commentary and explicit quote text; do not duplicate originals implicitly. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Circulation Relationship.",
      "profile": "core.sharing",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "type": "circulation",
        "destinationId": "No destination slot.",
        "commentary": "",
        "quotedText": "",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-sharing-reference",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "circulation",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.collections.add",
      "description": "Add an ordered reference and note to a Collection or Agenda without copying the source.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "collectionId": {
            "type": "string",
            "minLength": 1
          },
          "itemIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "position": {
            "type": "number"
          },
          "note": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "collectionId",
          "itemIds"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Collection or Agenda and selected items exist; position is finite. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create ordered Collection Entry with note; preserve item identities. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Collection Entry Relationship.",
      "profile": "core.collections",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "position": "Append after the greatest existing collection position, or use zero for an empty collection; reject ORDER_RANGE if no representable append position is available.",
        "note": "",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "collection-entry"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-collections-add",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "collection-entry",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.collections.entries",
      "description": "Read a collection’s current authored arrangement.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "collectionId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "collectionId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "entry": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
            },
            "items": {
              "type": "array",
              "items": {
                "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
              }
            }
          },
          "required": [
            "entry",
            "items"
          ],
          "additionalProperties": false
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Collection/Agenda exists.",
      "effects": "Return ordered entries and referenced items without copying them into new authored records.",
      "result": "Entry/item snapshots.",
      "profile": "core.collections",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-collections-entries",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.collections.reorder",
      "description": "Reorder all current entries with an explicit identity list.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "collectionId": {
            "type": "string",
            "minLength": 1
          },
          "entryIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "collectionId",
          "entryIds"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "order": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "order"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Author or administrator; each current entry ID is supplied once.",
      "effects": "Assign consecutive local positions in requested order; reject missing/repeated entries atomically.",
      "result": "The resulting ordered entry identities.",
      "profile": "core.collections",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-collections-reorder",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.feeds.read",
      "description": "Evaluate a stored feed query without duplicating records or recording attention.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "feedId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "feedId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "array",
        "items": {
          "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Feed exists and query is supported.",
      "effects": "Filter the complete base enumeration using the standard query, apply the declared Feed ordering to all matches, then offset and limit; title ties use exact identity and chronology uses exact sequences under Part 3.23. No paging before sorting and no authored changes.",
      "result": "Ordered current result snapshots.",
      "profile": "core.feeds",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-feeds-read",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.attention.mark",
      "description": "Record deliberate focus, read, acknowledgment or dismissal as an authored relationship.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "targetId": {
            "type": "string",
            "minLength": 1
          },
          "kind": {
            "type": "string",
            "minLength": 1
          },
          "position": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "targetId",
          "kind"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Selected Digital and target exist; attention kind is explicit. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Upsert that Digital/target/kind Attention and stamp this deliberate report; no hidden earlier-state archive. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The current stamped Attention Relationship.",
      "profile": "core.attention",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "position": {},
        "properties": {},
        "categories": "Empty on creation; preserve existing assignments on an upsert.",
        "tags": "Empty on creation; preserve existing assignments on an upsert.",
        "type": "Existing target type on update; otherwise attention"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-attention-mark",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "attention",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "preserve-type"
      }
    },
    {
      "name": "rb.bookmarks.set",
      "description": "Save or remove a personal reference and note.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "targetId": {
            "type": "string",
            "minLength": 1
          },
          "note": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "targetId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Selected Digital and target exist. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Upsert current bookmark note/enabled state without implying reading or acknowledgment. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The Bookmark Relationship.",
      "profile": "core.bookmarks",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "note": "",
        "enabled": true,
        "properties": {},
        "categories": "Empty on creation; preserve existing assignments on an upsert.",
        "tags": "Empty on creation; preserve existing assignments on an upsert.",
        "type": "Existing target type on update; otherwise bookmark"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-bookmarks-set",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "bookmark",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "preserve-type"
      }
    },
    {
      "name": "rb.notifications.send",
      "description": "Author an addressed notice, without network delivery, scheduling or waking an AI.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "recipients": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "sourceIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "recipients",
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Actor, recipients and optional sources exist. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create an attributed Notification event and Notice Target link; no external delivery or wake-up. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Notification.",
      "profile": "core.notifications",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "sourceIds": [],
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "notification"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-notifications-send",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "notification",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.subscriptions.set",
      "description": "Set an authored subscription; it does not start a background task.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "sourceId": {
            "type": "string",
            "minLength": 1
          },
          "enabled": {
            "type": "boolean"
          },
          "filters": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "sourceId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Subscriber and source exist. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Upsert current enabled and filter settings; no scheduler starts. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The Subscription Relationship.",
      "profile": "core.subscriptions",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "enabled": true,
        "filters": {},
        "properties": {},
        "categories": "Empty on creation; preserve existing assignments on an upsert.",
        "tags": "Empty on creation; preserve existing assignments on an upsert.",
        "type": "Existing target type on update; otherwise subscription"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-subscriptions-set",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "subscription",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "preserve-type"
      }
    },
    {
      "name": "rb.newsletters.publish",
      "description": "Publish a prepared issue in its newsletter; does not automatically deliver it.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "newsletterId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "newsletterId",
          "title",
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Newsletter author or administrator; body valid; present nextIssueNumber is canonical positive text and exceeds retained ordinals. If absent, publication may initialize to 1 only for a series with no retained numbered issues; otherwise ALLOCATION_UNINITIALIZED. Allocated issueNumber must be at most 9007199254740991. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Allocate the Newsletter frontier as the new Issue issueNumber, increment nextIssueNumber exactly, create the published attributed Issue event and Newsletter Entry in one transaction. Deleting issues never lowers the frontier. Failure rolls all counters and records back. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Newsletter Issue.",
      "profile": "core.newsletters",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "ALLOCATION_UNINITIALIZED",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "NUMBER_RANGE",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "newsletter-issue"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-newsletters-publish",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "newsletter-issue",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.newsletters.deliver",
      "description": "Explicitly create one delivery per current subscriber, without external mail or automatic scheduling.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "newsletterId": {
            "type": "string",
            "minLength": 1
          },
          "issueId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "newsletterId",
          "issueId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "delivered": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "delivered"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Newsletter author or administrator; Issue belongs to Newsletter and is published.",
      "effects": "Create missing deliveries and inbox entries for selected enabled subscribers; do not redeliver existing pairs.",
      "result": "Number of newly created deliveries.",
      "profile": "core.newsletters",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-newsletters-deliver",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.requests.create",
      "description": "Address a request or offer to explicit Digitals.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "responders": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "title",
          "body",
          "responders"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Actor and responders exist; type is Request or specialization. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create an attributed Request event and Request Address Relationship. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Request or Offer.",
      "profile": "core.requests",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "type": "request",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-requests-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "request",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.requests.respond",
      "description": "Accept responsibility as a distinct Commitment, or decline the request.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "requestId": {
            "type": "string",
            "minLength": 1
          },
          "accept": {
            "type": "boolean"
          }
        },
        "required": [
          "requestId",
          "accept"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "request": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          },
          "commitment": {
            "oneOf": [
              {
                "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "request",
          "commitment"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Request is open; selected actor is a designated responder.",
      "effects": "Decline without commitment, or accept and create attributed Commitment/responsibility atomically. A decline returns commitment=null; acceptance may not create a second commitment for the same accepted request/responder pair.",
      "result": "Request and optional new Commitment snapshots.",
      "profile": "core.requests",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-requests-respond",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.commitments.progress",
      "description": "Record an update, reported completion or independent explicit verification.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "commitmentId": {
            "type": "string",
            "minLength": 1
          },
          "kind": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "commitmentId",
          "kind",
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "commitment": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          },
          "progress": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          }
        },
        "required": [
          "commitment",
          "progress"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Commitment exists; responsible actor reports, requester/admin verifies reported-complete work. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create attributed Progress and link; set current Commitment state according to requested transition. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "Commitment and new Progress snapshots.",
      "profile": "core.commitments",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "progress"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-commitments-progress",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "progress",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.polls.vote",
      "description": "Cast or replace this Digital’s current ballot; no previous ballot is automatically kept.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "pollId": {
            "type": "string",
            "minLength": 1
          },
          "choices": {
            "type": "array",
            "items": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/domain-response.schema.json#/$defs/localId"
            },
            "uniqueItems": true
          },
          "ranking": {
            "type": "array",
            "items": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/domain-response.schema.json#/$defs/localId"
            },
            "uniqueItems": true
          },
          "ratings": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/domain-response.schema.json#/$defs/ratings"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "pollId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Poll is open; options, ballot method, actor and selections are valid. Actor is an active eligible participant or the context explicitly declares open response eligibility. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields. Applicable Poll/Questionnaire local IDs must be valid and cannot be exactly $rb; reject a reserved descriptor or response key with LOCAL_ID_RESERVED before changing state.",
      "effects": "Replace current actor ballot; preserve distinct tally semantics; no vote history. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The current Ballot Relationship.",
      "profile": "core.polls",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "LOCAL_ID_RESERVED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "choices": [],
        "ranking": [],
        "ratings": {},
        "properties": {},
        "categories": "Empty on creation; preserve existing assignments on an upsert.",
        "tags": "Empty on creation; preserve existing assignments on an upsert.",
        "type": "Existing target type on update; otherwise ballot"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-polls-vote",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "ballot",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "preserve-type"
      }
    },
    {
      "name": "rb.polls.tally",
      "description": "Compute the declared tally: counts, summed ratings, or Borda points for ranked ballots.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "pollId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "pollId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "method": {
            "enum": [
              "single",
              "multiple",
              "ranked",
              "rating"
            ]
          },
          "rankedMethod": {
            "enum": [
              "borda",
              null
            ]
          },
          "ballots": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "scores": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/domain-response.schema.json#/$defs/scores"
          }
        },
        "required": [
          "method",
          "rankedMethod",
          "ballots",
          "scores"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Poll options and retained ballots satisfy method constraints. Applicable Poll/Questionnaire local IDs must be valid and cannot be exactly $rb; reject a reserved descriptor or response key with LOCAL_ID_RESERVED before changing state.",
      "effects": "Compute declared counts, rating sums or Borda points without changing the Poll.",
      "result": "Method, ranked method where applicable, ballot count and scores by option ID.",
      "profile": "core.polls",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "LOCAL_ID_RESERVED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-polls-tally",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.polls.close",
      "description": "Close the poll and record its current tally without deleting ballots.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "pollId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "pollId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Poll author or administrator. Applicable Poll/Questionnaire local IDs must be valid and cannot be exactly $rb; reject a reserved descriptor or response key with LOCAL_ID_RESERVED before changing state.",
      "effects": "Compute current tally and store results with state closed atomically.",
      "result": "The changed Poll.",
      "profile": "core.polls",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "LOCAL_ID_RESERVED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-polls-close",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.questionnaires.respond",
      "description": "Save draft answers or explicitly submit them after required-field and value checks.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "questionnaireId": {
            "type": "string",
            "minLength": 1
          },
          "answers": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/domain-response.schema.json#/$defs/answers"
          },
          "submit": {
            "type": "boolean"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "questionnaireId",
          "answers"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Questionnaire is open; known question IDs; submitted answers meet required fields/kinds/choices. Actor is an active eligible participant or the context explicitly declares open response eligibility. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields. Applicable Poll/Questionnaire local IDs must be valid and cannot be exactly $rb; reject a reserved descriptor or response key with LOCAL_ID_RESERVED before changing state.",
      "effects": "Upsert respondent’s current draft or submitted response; no hidden earlier answer set. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The Questionnaire Response Relationship.",
      "profile": "core.questionnaires",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "LOCAL_ID_RESERVED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "submit": false,
        "properties": {},
        "categories": "Empty on creation; preserve existing assignments on an upsert.",
        "tags": "Empty on creation; preserve existing assignments on an upsert.",
        "type": "Existing target type on update; otherwise questionnaire-response"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-questionnaires-respond",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "questionnaire-response",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "preserve-type"
      }
    },
    {
      "name": "rb.events.respond",
      "description": "Record RSVP independently of attendance or execution.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "eventId": {
            "type": "string",
            "minLength": 1
          },
          "response": {
            "type": "string",
            "minLength": 1
          },
          "occurrence": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "eventId",
          "response"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Event and actor exist; response is explicit. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Upsert actor/occurrence RSVP; do not infer attendance. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The Event Response Relationship.",
      "profile": "core.events",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "occurrence": "",
        "properties": {},
        "categories": "Empty on creation; preserve existing assignments on an upsert.",
        "tags": "Empty on creation; preserve existing assignments on an upsert.",
        "type": "Existing target type on update; otherwise event-response"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-events-respond",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "event-response",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "preserve-type"
      }
    },
    {
      "name": "rb.events.attendance",
      "description": "Record an explicit attendance report; no RSVP inference.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "eventId": {
            "type": "string",
            "minLength": 1
          },
          "status": {
            "type": "string",
            "minLength": 1
          },
          "occurrence": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "eventId",
          "status"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Event/Gathering and actor exist; status and occurrence explicit. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Record a deliberate stamped Attendance report separate from RSVP. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The current Attendance Relationship.",
      "profile": "core.events",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "occurrence": "",
        "note": "",
        "properties": {},
        "categories": "Empty on creation; preserve existing assignments on an upsert.",
        "tags": "Empty on creation; preserve existing assignments on an upsert.",
        "type": "Existing target type on update; otherwise attendance"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-events-attendance",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "attendance",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "preserve-type"
      }
    },
    {
      "name": "rb.reviews.submit",
      "description": "Record a finding within a review and preserve the distinction from the target content.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "reviewId": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "disposition": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "reviewId",
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Review is open and actor actively participates. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create attributed Finding event and Finding In relationship; honour declared presentation release. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Finding.",
      "profile": "core.reviews",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "disposition": "comment",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "finding"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-reviews-submit",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "finding",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.decisions.respond",
      "description": "Record an explicit proposal position, not inferred agreement.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "subjectId": {
            "type": "string",
            "minLength": 1
          },
          "position": {
            "type": "string",
            "minLength": 1
          },
          "reason": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "subjectId",
          "position"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Subject is Proposal or Decision Round; actor and position explicit. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Upsert actor’s current position/reason without creating a Decision automatically. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The Decision Position Relationship.",
      "profile": "core.decisions",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "reason": "",
        "properties": {},
        "categories": "Empty on creation; preserve existing assignments on an upsert.",
        "tags": "Empty on creation; preserve existing assignments on an upsert.",
        "type": "Existing target type on update; otherwise decision-position"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-decisions-respond",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "decision-position",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "preserve-type"
      }
    },
    {
      "name": "rb.reservations.request",
      "description": "Request use of an authored resource; confirmation remains separate.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "resourceId": {
            "type": "string",
            "minLength": 1
          },
          "start": {
            "type": "string",
            "minLength": 1
          },
          "end": {
            "type": "string",
            "minLength": 1
          },
          "clock": {
            "enum": [
              "world",
              "recorded"
            ]
          },
          "quantity": {
            "type": "number"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "resourceId",
          "start",
          "end"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "allOf": [
          {
            "if": {
              "properties": {
                "clock": {
                  "const": "recorded"
                }
              },
              "required": [
                "clock"
              ]
            },
            "then": {
              "properties": {
                "start": {
                  "type": "string",
                  "pattern": "^[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])T(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]\\.[0-9]{3}Z(?![\\s\\S])"
                },
                "end": {
                  "type": "string",
                  "pattern": "^[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])T(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]\\.[0-9]{3}Z(?![\\s\\S])"
                }
              }
            }
          }
        ]
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Actor and Resource exist; ordered interval, supported clock and positive quantity. Clock defaults to world. Recorded coordinates are canonical UTC instants; world coordinates follow Part 3, clause 3.15, including ms: exact integers or an explicitly declared custom coordinate profile. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create requested Reservation event and Reservation For link; no real-world booking. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The requested Reservation.",
      "profile": "core.reservations",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "clock": "world",
        "quantity": 1,
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "reservation"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-reservations-request",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "reservation",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.reservations.confirm",
      "description": "Confirm capacity for a reservation against other confirmed/lent intervals.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "reservationId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "reservationId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Resource author/admin; pending request; comparable clock intervals and available capacity.",
      "effects": "Confirm only after exact overlap/capacity evaluation; reject atomically if unavailable.",
      "result": "The confirmed Reservation.",
      "profile": "core.reservations",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-reservations-confirm",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.works.capture-edition",
      "description": "Deliberately make one separately authored edition; ordinary edits never call this automatically.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "workId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "note": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "workId",
          "title"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Work exists; actor explicitly requests an edition. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create separate Edition event containing selected current body and an explicit source Reference. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Edition.",
      "profile": "core.works",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "note": "",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "edition"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-works-capture-edition",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "edition",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.gatherings.contribute",
      "description": "Add an attributed contribution to a facilitated gathering.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "gatheringId": {
            "type": "string",
            "minLength": 1
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "gatheringId",
          "body"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Gathering is open; selected actor actively participates. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create attributed Message event and Contribution to Gathering. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new contribution Message.",
      "profile": "core.gatherings",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "message"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-gatherings-contribute",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "message",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.moderation.report",
      "description": "Author a report without silently removing the source.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "targetIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "reason": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "targetIds",
          "reason"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Actor and targets exist; reason explicit. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create attributed Moderation Report event and target links; do not remove targets. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new report.",
      "profile": "core.moderation",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "moderation-report"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-moderation-report",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "moderation-report",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.streams.append",
      "description": "Record metadata for a supplied encoded segment; does not capture, transcode or transmit media.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "streamId": {
            "type": "string",
            "minLength": 1
          },
          "asset": {
            "type": "string",
            "minLength": 1
          },
          "mediaType": {
            "type": "string",
            "minLength": 1
          },
          "timestamp": {
            "type": "number"
          },
          "duration": {
            "type": "number"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "streamId",
          "asset",
          "mediaType",
          "timestamp",
          "duration"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Open Stream; declared existing asset; valid timing; active unmuted publishing role. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create encoded-segment metadata event and Stream Entry; no capture/transcoding/network transport. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Stream Segment.",
      "profile": "core.streams",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use the selected Digital. A RedBook administrator must supply actorId for an attributed participant operation.",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "stream-segment"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-streams-append",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "stream-segment",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.soma.neocortex",
      "description": "Read the conceptual home of a Digital or communication context.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "ownerId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "ownerId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Owner exists and has one valid conceptual home.",
      "effects": "Read the actual home without creating or repairing it.",
      "result": "The Soma Neocortex.",
      "profile": "core.soma",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-soma-neocortex",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.soma.create",
      "description": "Create a conceptual world inside one Neocortex, never loose in the RedBook.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "neocortexId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "neocortexId",
          "title"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Home exists; actor is personal owner or eligible shared participant, or administrator. Type is the named core root or one direct specialization of the same primitive, and supplied Categories/Tags resolve. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create Neo Soma and one Soma Home link in one transaction. Use the selected type, materialize its valid defaults, and assign explicit classifications atomically; preserve personal/shared contribution authority and same-Soma invariants. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Neo Soma.",
      "profile": "core.soma",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "properties": {},
        "type": "neo-soma",
        "categories": [],
        "tags": []
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-soma-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "neo-soma",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "declared-content",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.soma.objects.create",
      "description": "Create a Neo Object inside one conceptual world.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "somaId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "somaId",
          "title"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Soma and home valid; selected actor can contribute there. Type is the named core root or one direct specialization of the same primitive, and supplied Categories/Tags resolve. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create Neo Object and one Neo Membership in that Soma. Use the selected type, materialize its valid defaults, and assign explicit classifications atomically; preserve personal/shared contribution authority and same-Soma invariants. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Neo Object.",
      "profile": "core.soma",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "properties": {},
        "type": "neo-object",
        "categories": [],
        "tags": []
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-soma-objects-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "neo-object",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "declared-content",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.soma.relationships.create",
      "description": "Create a meaningful conceptual relationship with named, multi-participant slots.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "somaId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "slots": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "somaId",
          "slots"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Selected actor can contribute; every role participant belongs to specified Soma. Type is the named core root or one direct specialization of the same primitive, and supplied Categories/Tags resolve. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create attributed Neo Relationship with exact Soma scope and named slots. Use the selected type, materialize its valid defaults, and assign explicit classifications atomically; preserve personal/shared contribution authority and same-Soma invariants. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Neo Relationship.",
      "profile": "core.soma",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "title": "",
        "properties": {},
        "type": "neo-relationship",
        "categories": [],
        "tags": []
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-soma-relationships-create",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "neo-relationship",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "declared-content",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.soma.read",
      "description": "Read a Neo Soma, its Objects and its Relationships without recording thought or attention.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "somaId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "somaId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "soma": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          },
          "objects": {
            "type": "array",
            "items": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
            }
          },
          "relationships": {
            "type": "array",
            "items": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
            }
          }
        },
        "required": [
          "soma",
          "objects",
          "relationships"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Neo Soma exists.",
      "effects": "Return Soma, member Objects and internal Neo Relationships without recording thought or attention.",
      "result": "Soma snapshot, Objects and Relationships.",
      "profile": "core.soma",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-soma-read",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.soma.represent",
      "description": "Relate a conceptual object to an actual world item without equating them.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "objectId": {
            "type": "string",
            "minLength": 1
          },
          "subjectIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "objectId",
          "subjectIds"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.3",
      "preconditions": "Neo Object and subject Elements exist; actor can contribute in its home. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create a Represents relationship without equating concept and subject. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The new Represents Relationship.",
      "profile": "core.soma",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "represents"
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-soma-represent",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned.",
      "primaryCreation": {
        "baseType": "represents",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.extensions.describe",
      "description": "Read carried feature, theme and plugin declarations; does not execute them.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "array",
        "items": {
          "$ref": "https://redbook.fun/specification/1.0/schemas/extension-declaration.schema.json"
        }
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.12",
      "preconditions": "A world is selected.",
      "effects": "Return carried feature/extension declarations; do not activate code.",
      "result": "Current installation declarations.",
      "profile": "core.extensions",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-extensions-describe",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.viewboxes.configure",
      "description": "Configure a world-owned experience as administration, not Digital participation.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "configuration": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          }
        },
        "required": [
          "id",
          "configuration"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.12",
      "preconditions": "Administrator; Viewbox exists; configuration satisfies declared schema.",
      "effects": "Replace current Viewbox configuration; retain content and implementation identity.",
      "result": "The updated Viewbox.",
      "profile": "core.viewboxes",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-viewboxes-configure",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.presentation.select",
      "description": "Choose the world’s default Viewbox and optional theme.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "viewboxId": {
            "oneOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "theme": {
            "oneOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [],
        "additionalProperties": false,
        "anyOf": [
          {
            "required": [
              "viewboxId"
            ]
          },
          {
            "required": [
              "theme"
            ]
          }
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$ref": "https://redbook.fun/specification/1.0/schemas/presentation.schema.json"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.13",
      "preconditions": "Administrator; each supplied non-null Viewbox belongs to this world and non-null theme is a compatible declared world theme.",
      "effects": "Set supplied defaultViewbox, including null to clear it; set supplied theme, or remove the theme member for null to restore host/default fallback. Preserve omitted members and all Viewboxes, resources and content. No interaction role or visible navigation changes.",
      "result": "Resulting presentation descriptor.",
      "profile": "core.presentation",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "viewboxId": "Retain current defaultViewbox.",
        "theme": "Retain current theme."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-presentation-select",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.blueprints.capture-graph",
      "description": "Prepare a reusable component graph, its type definitions and explicit external bindings. The host packages its required original resources.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "rootIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "includeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "typeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "categoryIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tagIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "installationIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [],
        "additionalProperties": false,
        "anyOf": [
          {
            "properties": {
              "rootIds": {
                "minItems": 1
              }
            },
            "required": [
              "rootIds"
            ]
          },
          {
            "properties": {
              "typeIds": {
                "minItems": 1
              }
            },
            "required": [
              "typeIds"
            ]
          },
          {
            "properties": {
              "categoryIds": {
                "minItems": 1
              }
            },
            "required": [
              "categoryIds"
            ]
          },
          {
            "properties": {
              "tagIds": {
                "minItems": 1
              }
            },
            "required": [
              "tagIds"
            ]
          },
          {
            "properties": {
              "installationIds": {
                "minItems": 1
              }
            },
            "required": [
              "installationIds"
            ]
          }
        ],
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/blueprint.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.7",
      "preconditions": "Administrator; at least one root record, type, Category, Tag or world-owned installation explicitly selected; included records and all selected registry identities exist. Complete transitive definition, taxonomy and declared source/resource closure is resolvable. Selected installations must exist and have complete original resources; Reader-targeted installations cannot be captured into a world Blueprint.",
      "effects": "Capture selected exports and closure without modifying source. Emit explicit exports:{records,types,categories,tags}, with roots equal to exports.records. Definition-only export needs no invented record. Include ancestor/allowed-slot types, Category ancestors, typeResources and resourceDependencies closure as Part 2 specifies. For installationIds, recursively include required world component dependencies and reconstruct complete component packages from retained manifest/resources without changing their source bytes. Add components entries, requiredParts, compatible declaration types, typed configuration references, mapped Viewbox targets and explicit external bindings according to Part 2.19. Component-only selection may have empty record exports; it does not invent a record or activate code.",
      "result": "Independent component graph and explicit binding/resource requirements, including selected installed functionality and its complete declared closure. Captured component key order follows first selected installation occurrence, then dependency closure order.",
      "profile": "core.blueprints",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "absentParameters": {
        "rootIds": [],
        "includeIds": [],
        "typeIds": [],
        "categoryIds": [],
        "tagIds": [],
        "installationIds": []
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-blueprints-capture-graph",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.blueprints.instantiate-graph",
      "description": "Place an independent component graph into this world with new identities and explicit destination bindings. Required assets must already be available.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "blueprint": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/blueprint.schema.json"
          },
          "bindings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sourceId": {
                  "type": "string",
                  "minLength": 1
                },
                "targetId": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "sourceId",
                "targetId"
              ],
              "additionalProperties": false
            }
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "resourceHandle": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "blueprint"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "roots": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "mapping": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sourceId": {
                  "type": "string",
                  "minLength": 1
                },
                "targetId": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "sourceId",
                "targetId"
              ],
              "additionalProperties": false
            }
          },
          "typeMapping": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sourceId": {
                  "type": "string",
                  "minLength": 1
                },
                "targetId": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "sourceId",
                "targetId"
              ],
              "additionalProperties": false
            }
          },
          "categoryMapping": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sourceId": {
                  "type": "string",
                  "minLength": 1
                },
                "targetId": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "sourceId",
                "targetId"
              ],
              "additionalProperties": false
            }
          },
          "tagMapping": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sourceId": {
                  "type": "string",
                  "minLength": 1
                },
                "targetId": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "sourceId",
                "targetId"
              ],
              "additionalProperties": false
            }
          },
          "resourceMapping": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "minLength": 1
            }
          },
          "resourceRoot": {
            "oneOf": [
              {
                "type": "string",
                "pattern": "^redbook/imports/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/(?![\\s\\S])"
              },
              {
                "type": "null"
              }
            ]
          },
          "componentMapping": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "minLength": 1
                },
                "installationId": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "key",
                "installationId"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "roots",
          "mapping",
          "typeMapping",
          "categoryMapping",
          "tagMapping",
          "resourceMapping",
          "resourceRoot",
          "componentMapping"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.7",
      "preconditions": "Administrator; graph valid; bindings/resources/definitions/capabilities compatible. Required resource bytes come from a scoped accepted Blueprint component handle whose graph and inventory match the supplied graph. Bindings are sourceId/targetId pairs; sourceId identifies an external requirement key. Each sourceId occurs exactly once; duplicate/contradictory pairs fail BLUEPRINT_BINDING.",
      "effects": "Atomically allocate record/taxonomy identities, bind explicit dependencies, and map chronology. Equal semantic type definitions reuse their identifiers and destination display metadata; incompatible constraints fail TYPE_CONFLICT. Type semantic comparison excludes only top-level label/description/area and field-rule description. Definition-only exports may return roots=[] and mapping=[]. Preserve whole-Newsletter allocation frontiers; importing an Issue into an existing series must respect its unused-ordinal/frontier rule in Part 3. Copy required parts unchanged under one fresh redbook/imports/<UUID>/ root, preserve relative source hierarchy, and rewrite only declared resourceReferences, asset paths and resolver-covered metadata. All parts and graph changes commit together; resource-less imports create no resource root. Persist current mapped resource closure in settings.resourceImports; stale record/type/resource dependencies are forbidden. Deletion and re-export consult this registry. Carried component declarations are installed at fresh installation roots with enabled=false; no code executes during import. Component source bytes and declarations remain unchanged, and graph, resources, configurations and installation mappings commit together.",
      "result": "Ordered imported record roots and complete record/type/Category/Tag identity maps. resourceMapping covers every required source path; resourceRoot is the imported resource namespace or null. Identity mappings are ordered sourceId/targetId pair lists covering every carried source once, in corresponding source collection order; arbitrary IDs including $rb are preserved as string values. componentMapping is an ordered list of {key,installationId} entries, in source component order, covering every carried component exactly once; empty when none are carried. Keys, including $rb, remain string values.",
      "profile": "core.blueprints",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "BLUEPRINT_BINDING",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CHRONOLOGY_DUPLICATE",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "RESOURCE_UNAVAILABLE",
        "STATE",
        "TYPE_CONFLICT"
      ],
      "absentParameters": {
        "bindings": [],
        "title": "Retain the imported root title.",
        "resourceHandle": "Allowed only when requiredParts is empty; otherwise the accepted component bytes must be supplied through this host-owned staging handle."
      },
      "capability": "core-operations",
      "referenceCarried": true,
      "contractRef": "/redbook-specification/#action-rb-blueprints-instantiate-graph",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.transaction.perform",
      "description": "Execute a compound authored change atomically under one selected role.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "steps": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "minLength": 1
                },
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "input": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "Action input template; only the exact {$result:{step,path}} object is a result binding, as specified in 4.6."
                }
              },
              "required": [
                "key",
                "name",
                "input"
              ],
              "additionalProperties": false
            },
            "minItems": 1
          }
        },
        "required": [
          "steps"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "minLength": 1
                },
                "result": {
                  "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json"
                }
              },
              "required": [
                "key",
                "result"
              ],
              "additionalProperties": false
            }
          },
          "committed": {
            "const": true
          }
        },
        "required": [
          "results",
          "committed"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "profile": "core.transaction",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "BATCH_BINDING",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.6",
      "preconditions": "Unique step keys; only world actions; no nesting or external effects; same delegated role for all steps.",
      "effects": "Evaluate earlier-result bindings, execute staged operations and validate final invariants once; roll back every step on failure.",
      "result": "Ordered step results and a committed indicator; binding includes the updated host revision.",
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-transaction-perform",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.document.configure",
      "description": "Edit world-level description, language and declared settings.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "patch": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string"
              },
              "language": {
                "type": "string",
                "minLength": 1
              },
              "settings": {
                "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
              }
            },
            "required": [],
            "additionalProperties": false
          }
        },
        "required": [
          "patch"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "presentation": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "settings": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          }
        },
        "required": [
          "description",
          "presentation",
          "settings"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.document",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; settings obey their declared profile.",
      "effects": "Apply supplied description/language; shallow-merge settings. Identity, chronology and time are not writable through this action.",
      "result": "Current description, presentation and settings.",
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-document-configure",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.records.retype",
      "description": "Deliberately assign an existing record a compatible type.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "id",
          "type"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.records",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; new type has the same primitive; final ownership and dependent-record invariants hold.",
      "effects": "Change type while retaining identity and authored fields. No existing data is silently removed and no child default silently overwrites an existing Property. Missing defaults are materialized only for newly introduced fields.",
      "result": "Current retyped record. If dependent content must change, use an explicit atomic batch.",
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-records-retype",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.records.attribute",
      "description": "Explicitly edit or remove current authorship metadata.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "attribution": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "digitalId": {
                    "type": "string",
                    "minLength": 1
                  },
                  "credit": {
                    "type": "object",
                    "properties": {
                      "documentId": {
                        "type": "string",
                        "minLength": 1
                      },
                      "digitalId": {
                        "type": "string",
                        "minLength": 1
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "documentId",
                      "digitalId",
                      "name"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [],
                "additionalProperties": false,
                "anyOf": [
                  {
                    "required": [
                      "digitalId"
                    ]
                  },
                  {
                    "required": [
                      "credit"
                    ]
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "attribution"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.records",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; local author, if supplied, is a present Digital.",
      "effects": "Replace attribution exactly, or remove it when explicitly null. This is deliberate editing, never an incidental consequence of deleting a Digital.",
      "result": "The record with the explicitly chosen attribution.",
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-records-attribute",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.types.remove",
      "description": "Remove an unused, unreferenced type definition.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "removed": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "removed"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.types",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.3",
      "preconditions": "Administrator; no surviving records, child definitions or allowed-type declarations depend on the type; complete-core claim remains valid.",
      "effects": "Remove the declaration only after all dependencies are resolved in the same transaction.",
      "result": "Removed type identity.",
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-types-remove",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.taxonomy.update",
      "description": "Change a Category or Tag label and an explicitly supplied Category parent.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "enum": [
              "category",
              "tag"
            ]
          },
          "id": {
            "type": "string",
            "minLength": 1
          },
          "label": {
            "type": "string"
          },
          "parent": {
            "oneOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "kind",
          "id"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$ref": "https://redbook.fun/specification/1.0/schemas/taxonomy.schema.json"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.taxonomy",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.3",
      "preconditions": "Term exists; parent applies only to Categories and must not form a cycle.",
      "effects": "Change supplied fields only; retain identity and assignments.",
      "result": "The updated term.",
      "absentParameters": {
        "label": "Retain existing label.",
        "parent": "Retain current Category parent; no parent is accepted for a Tag."
      },
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-taxonomy-update",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.taxonomy.remove",
      "description": "Remove an explicitly selected taxonomy term.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "enum": [
              "category",
              "tag"
            ]
          },
          "id": {
            "type": "string",
            "minLength": 1
          },
          "removeAssignments": {
            "type": "boolean"
          },
          "reparentChildrenTo": {
            "oneOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "kind",
          "id"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "removed": {
            "type": "string",
            "minLength": 1
          },
          "affectedRecords": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "removed",
          "affectedRecords"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.taxonomy",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.3",
      "preconditions": "No surviving assignment/child may dangle; an explicit reparent value is required when Category children exist.",
      "effects": "Remove only the selected term; remove assignments only if explicitly requested; otherwise reject.",
      "result": "Removed term and affected record identities.",
      "absentParameters": {
        "removeAssignments": false,
        "reparentChildrenTo": "Do not reparent; reject if children exist. A supplied null explicitly makes children roots."
      },
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-taxonomy-remove",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.assets.list",
      "description": "List original-resource declarations without reading their contents.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": [],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "array",
        "items": {
          "$ref": "https://redbook.fun/specification/1.0/schemas/asset.schema.json"
        },
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "profile": "core.assets",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "DEPENDENCY",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE"
      ],
      "clause": "4.8",
      "preconditions": "World is loaded.",
      "effects": "No mutation or external resource retrieval.",
      "result": "Declared asset descriptors.",
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-assets-list",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.assets.receive",
      "description": "Commit explicitly staged original bytes into the world package.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "resourceHandle": {
            "type": "string",
            "minLength": 1
          },
          "path": {
            "type": "string",
            "minLength": 1
          },
          "mediaType": {
            "type": "string",
            "minLength": 1
          },
          "name": {
            "type": "string"
          },
          "replace": {
            "type": "boolean"
          }
        },
        "required": [
          "resourceHandle",
          "path",
          "mediaType"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$ref": "https://redbook.fun/specification/1.0/schemas/asset.schema.json",
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.assets",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "RESOURCE_CONFLICT",
        "RESOURCE_UNAVAILABLE",
        "STATE"
      ],
      "clause": "4.8",
      "preconditions": "Source bytes were explicitly staged and are available; destination part name is valid; required dependency checks pass.",
      "effects": "Atomically insert bytes and descriptor with exact size and SHA-256, or explicitly replace that asset and update its inventory. No code executes.",
      "result": "Committed original-resource descriptor.",
      "absentParameters": {
        "name": "Use the staged descriptive name; it is not the package path.",
        "replace": false
      },
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-assets-receive",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.assets.remove",
      "description": "Remove original resources only after dependency resolution.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "paths": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "minItems": 1,
            "uniqueItems": true
          }
        },
        "required": [
          "paths"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "removed": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "removed"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.assets",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.8",
      "preconditions": "No surviving native or declared feature reference requires the selected parts; unresolved opaque dependencies cause rejection.",
      "effects": "Remove asset declarations and bytes as one transaction; do not leave a stale inventory or source reference.",
      "result": "Removed package-root-relative paths.",
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-assets-remove",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.extensions.install",
      "description": "Install a RedBook- or Viewbox-targeted Theme or Plugin package.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "resourceHandle": {
            "type": "string",
            "minLength": 1
          },
          "targetId": {
            "type": "string",
            "minLength": 1
          },
          "replaceInstallationId": {
            "type": "string",
            "minLength": 1
          },
          "configuration": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          }
        },
        "required": [
          "resourceHandle",
          "targetId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "allOf": [
          {
            "$ref": "https://redbook.fun/specification/1.0/schemas/extension-declaration.schema.json"
          },
          {
            "required": [
              "installationId",
              "targetId",
              "manifestPart",
              "resourceKey",
              "payloadRoot",
              "enabled",
              "order"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "theme",
                  "plugin"
                ]
              }
            }
          }
        ]
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.extensions",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.12",
      "preconditions": "Package kind/target/manifest valid; target is this world or a Viewbox; dependencies and staged resources resolved.",
      "effects": "Install original declared resources under a fresh canonical UUID payload root according to Annex D.2; preserve the original manifest bytes, retain entry as component-relative, and record relocated manifestPart. Allocate installation identity, or retain explicit replaceInstallationId after requiring inactivity and validating surviving dependents. A new installation sets enabled=false and order=0; replacement preserves the prior enabled/order intent while remaining inactive. Installation does not activate code; replacement removes only eligible old exclusive payload bytes atomically. No host execution grant is stored or transferred.",
      "result": "Installed descriptor.",
      "absentParameters": {
        "replaceInstallationId": "Create a new installation; replacement is never inferred from an equal filename.",
        "configuration": "Use the component manifest configuration, validated against its schema."
      },
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-extensions-install",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.extensions.configure",
      "description": "Edit a world-owned extension configuration or authored state.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "installationId": {
            "type": "string",
            "minLength": 1
          },
          "configuration": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "state": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json"
          },
          "enabled": {
            "type": "boolean"
          },
          "order": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "installationId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "allOf": [
          {
            "$ref": "https://redbook.fun/specification/1.0/schemas/extension-declaration.schema.json"
          },
          {
            "required": [
              "installationId",
              "targetId",
              "manifestPart",
              "resourceKey",
              "payloadRoot",
              "enabled",
              "order"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "theme",
                  "plugin"
                ]
              }
            }
          }
        ]
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.extensions",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.12",
      "preconditions": "Installation exists; supplied values satisfy its declared schemas and all resulting dependencies.",
      "effects": "Replace only supplied configuration, authored state, enabled intent and order. Retain omitted members. This records portable desired state without executing code or granting host permission. Effective implementation or authority changes revoke affected active generations and bound invocations; explicit reactivation requires fresh host checks.",
      "result": "Current installed descriptor.",
      "absentParameters": {
        "configuration": "Retain current configuration.",
        "state": "Retain current authored state.",
        "enabled": "Retain enabled intent.",
        "order": "Retain declared order."
      },
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-extensions-configure",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.extensions.activate",
      "description": "Activate a world-owned installed feature in this host session.",
      "effect": "external",
      "inputSchema": {
        "type": "object",
        "properties": {
          "installationId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "installationId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "activationId": {
            "type": "string",
            "minLength": 1
          },
          "installationId": {
            "type": "string",
            "minLength": 1
          },
          "state": {
            "const": "active"
          }
        },
        "required": [
          "activationId",
          "installationId",
          "state"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.extensions",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "DEPENDENCY",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.12",
      "preconditions": "Installation is enabled, its dependency plan and configuration are valid, and the host explicitly permits the requested execution. Each component's required execution/presentation profiles must be available: ECMAScript for executable module components, presentation for DOM/CSS components, templates for declared templates, and participant-authoring for its checked authoring declaration. Missing optional processor facilities make this activation unavailable; authoring capability alone does not assert those facilities.",
      "effects": "Run the scoped activation contract, rollback registrations on failure; no authored revision or history is implied.",
      "result": "Host-local activation receipt, not a serialized document record.",
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-extensions-activate",
      "failure": "Failure returns a host-operation error. All owned registrations are revoked and all cleanup is attempted; diagnostics distinguish inactive state from incomplete cleanup. No authored rollback is promised for undeclared external effects, which are prohibited."
    },
    {
      "name": "rb.extensions.deactivate",
      "description": "Deactivate a world-owned feature in this host session.",
      "effect": "external",
      "inputSchema": {
        "type": "object",
        "properties": {
          "activationId": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "activationId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "activationId": {
            "type": "string",
            "minLength": 1
          },
          "state": {
            "enum": [
              "inactive",
              "inactive-with-cleanup-errors"
            ]
          },
          "diagnostics": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "activationId",
          "state",
          "diagnostics"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.extensions",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "DEPENDENCY",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.12",
      "preconditions": "Activation belongs to selected world and host.",
      "effects": "Revoke API and attempt all cleanup. Authored state and installed source remain.",
      "result": "Truthful cleanup result, including partial cleanup diagnostics.",
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-extensions-deactivate",
      "failure": "Failure returns a host-operation error. All owned registrations are revoked and all cleanup is attempted; diagnostics distinguish inactive state from incomplete cleanup. No authored rollback is promised for undeclared external effects, which are prohibited."
    },
    {
      "name": "rb.extensions.remove",
      "description": "Remove a world-owned extension assignment and explicitly selected exclusive resources.",
      "effect": "write",
      "inputSchema": {
        "type": "object",
        "properties": {
          "installationId": {
            "type": "string",
            "minLength": 1
          },
          "deleteAuthoredData": {
            "type": "boolean"
          },
          "recordIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "installationId"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "removedInstallation": {
            "type": "string",
            "minLength": 1
          },
          "removedRecords": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "retainedParts": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "removedInstallation",
          "removedRecords",
          "retainedParts"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin"
      ],
      "profile": "core.extensions",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "ORDER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "clause": "4.12",
      "preconditions": "No active host use, dependent installation or unresolved record/resource reference; default preserves authored content.",
      "effects": "Remove descriptor and assignment references atomically. Data deletion requires deleteAuthoredData=true and an explicit recordIds list whose dependency plan validates.",
      "result": "Removal report with preserved parts.",
      "absentParameters": {
        "deleteAuthoredData": false,
        "recordIds": []
      },
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-extensions-remove",
      "failure": "Failure of preconditions, dependencies, a hook, output validation or final world validation aborts the entire operation, including created records, resources and sequence reservations. No success receipt or partial result is returned."
    },
    {
      "name": "rb.resources.read",
      "description": "Read an explicit byte range of an accepted package part without executing it.",
      "effect": "read",
      "inputSchema": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "length": {
            "type": "integer",
            "minimum": 0,
            "maximum": 16777216
          }
        },
        "required": [
          "path",
          "offset",
          "length"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1
          },
          "mediaType": {
            "type": "string",
            "minLength": 1
          },
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "bytesRead": {
            "type": "integer",
            "minimum": 0
          },
          "base64": {
            "type": "string",
            "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?(?![\\s\\S])"
          },
          "eof": {
            "type": "boolean"
          },
          "partSha256": {
            "type": "string",
            "pattern": "^[0-9a-f]{64}(?![\\s\\S])"
          }
        },
        "required": [
          "path",
          "mediaType",
          "offset",
          "bytesRead",
          "base64",
          "eof",
          "partSha256"
        ],
        "additionalProperties": false,
        "$schema": "https://json-schema.org/draft/2020-12/schema"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "profile": "core.resources",
      "requirements": [
        "authoring",
        "package-resource-read"
      ],
      "errors": [
        "ACTION_UNKNOWN",
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "HOOK_FAILURE",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "REFERENCE",
        "RESOURCE_UNAVAILABLE"
      ],
      "clause": "4.8",
      "preconditions": "Part is in the selected accepted package; host supports resource reads and the requested range.",
      "effects": "Return only the selected byte range from the bound package snapshot; no network retrieval, source execution, attention marker or authored change.",
      "result": "Base64 bytes, range metadata, effective media type and digest of the complete part.",
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-resources-read",
      "failure": "A failed read returns an error and no partial result; authored state, event allocation and attention remain unchanged."
    },
    {
      "name": "rb.content.edit",
      "description": "Revise an authorized contribution in its current home.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "patch": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record-patch.schema.json"
          }
        },
        "required": [
          "id",
          "patch"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.15",
      "preconditions": "Resolve one scope under Parts 3.17, 3.24 and 3.25: conceptual content, an author-owned descriptor from the finite initiation table, or additional fields/classifications of a standard primary record. Enforce that scope's actual owner and inherited participant-edit preconditions, including active participation and state restrictions. Never rewrite attribution, event observations, home assignment, protected state/policy fields or authority-bearing slots. Administration does not expand this action's field scope. Applicable Poll/Questionnaire local IDs must be valid and cannot be exactly $rb; reject a reserved descriptor or response key with LOCAL_ID_RESERVED before changing state.",
      "effects": "For conceptual content retain the Part 3.17 edit contract. For descriptors shallow-merge permitted Properties and replace supplied permitted members. For other standard primary records permit only properties containing specialization-declared additional keys plus categories/tags; use the domain action for title/body/state and other inherited fields. Validate the complete graph atomically; preserve identity, type, attribution and event observations.",
      "result": "Changed record.",
      "profile": "core.content",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "LOCAL_ID_RESERVED",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-content-edit",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result."
    },
    {
      "name": "rb.content.unset-properties",
      "description": "Remove explicitly named Properties from an authorized contribution.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "keys": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "uniqueItems": true
          }
        },
        "required": [
          "id",
          "keys"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.15",
      "preconditions": "Resolve one scope under Parts 3.17, 3.24 and 3.25: conceptual content, an author-owned descriptor from the finite initiation table, or additional fields/classifications of a standard primary record. Enforce that scope's actual owner and inherited participant-edit preconditions, including active participation and state restrictions. Never rewrite attribution, event observations, home assignment, protected state/policy fields or authority-bearing slots. Administration does not expand this action's field scope.",
      "effects": "Remove precisely named permitted keys, including the empty string if declared/allowed in the selected scope. Missing keys are no-ops. A required field or protected inherited field cannot be removed. Retain all other content and observations.",
      "result": "Changed record.",
      "profile": "core.content",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-content-unset-properties",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result."
    },
    {
      "name": "rb.content.classify",
      "description": "Assign Categories and Tags and optionally create assigned terms in an authorized participant edit.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "createTerms": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "enum": [
                    "category",
                    "tag"
                  ]
                },
                "label": {
                  "type": "string",
                  "minLength": 1
                },
                "parent": {
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 1
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "kind",
                "label"
              ],
              "additionalProperties": false,
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "kind": {
                        "const": "tag"
                      }
                    }
                  },
                  "then": {
                    "not": {
                      "required": [
                        "parent"
                      ]
                    }
                  }
                }
              ]
            }
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "record": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          },
          "createdTerms": {
            "type": "array",
            "items": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/taxonomy.schema.json"
            }
          }
        },
        "required": [
          "record",
          "createdTerms"
        ],
        "additionalProperties": false
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.15",
      "preconditions": "Resolve one scope under Parts 3.17, 3.24 and 3.25: conceptual content, an author-owned descriptor from the finite initiation table, or additional fields/classifications of a standard primary record. Enforce that scope's actual owner and inherited participant-edit preconditions, including active participation and state restrictions. Never rewrite attribution, event observations, home assignment, protected state/policy fields or authority-bearing slots. Administration does not expand this action's field scope.",
      "effects": "Replace supplied assignment lists, preserve omitted lists, create each requested term with a fresh identity, and append it to its matching assignment list without duplicates. A Category parent is an existing term, never a label match. Tags reject a parent. Term creation and assignment commit together; no unrelated term is edited.",
      "result": "Changed record and created taxonomy term objects in request order; Category objects include parent and Tag objects do not.",
      "profile": "core.content",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "categories": "Retain existing Category assignments before appending created Categories.",
        "tags": "Retain existing Tag assignments before appending created Tags.",
        "createTerms": []
      },
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-content-classify",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result."
    },
    {
      "name": "rb.content.delete",
      "description": "Remove authorized conceptual content or author-owned descriptive records with complete dependency checks.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "minItems": 1,
            "uniqueItems": true
          },
          "removeRelationships": {
            "type": "boolean"
          }
        },
        "required": [
          "ids"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "removed": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "retainedAuthorCredits": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "removed",
          "retainedAuthorCredits"
        ],
        "additionalProperties": false
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.15",
      "preconditions": "Every selected or automatically removed record is either conceptual content permitted by Part 3.17, or a deletable author-owned descriptor from Part 3.24. Resolve and enforce each record's exact current owner/context and deletion authority. Structural membership/home links may be removed only with selected dependent content; no owning Digital or Neocortex may be selected. Connection, Invitation, Submission and unrelated standard primary records do not gain deletion authority through this action.",
      "effects": "Compute the ordinary deletion plan, require authority for the entire removal set, and remove only explicit records and permitted incident relationships. Never cascade through another contributor or another home implicitly. Remaining reading arrangements, typed references and home invariants must validate. Every dependent record must itself be eligible and authorized; otherwise reject rather than erase another actor's work.",
      "result": "Removed identities and retained-credit report.",
      "profile": "core.content",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "removeRelationships": false
      },
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-content-delete",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result."
    },
    {
      "name": "rb.posts.edit",
      "description": "Edit current Post title or body as its author.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "id": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "body": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "anyOf": [
          {
            "required": [
              "title"
            ]
          },
          {
            "required": [
              "body"
            ]
          }
        ]
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.16",
      "preconditions": "Post exists; selected actor is its attributed author or administrator. State is draft or published; a withdrawn Post must deliberately return to draft first.",
      "effects": "Replace only supplied title/body. Preserve publication state, placements, attribution and original event observation. No edition or hidden history is created.",
      "result": "Changed Post.",
      "profile": "core.posts",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Selected Digital; administration supplies actorId.",
        "title": "Retain title.",
        "body": "Retain body."
      },
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-posts-edit",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result."
    },
    {
      "name": "rb.mail.move",
      "description": "Move only the selected recipient’s mailbox entry to a folder or clear its folder.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "entryId": {
            "type": "string",
            "minLength": 1
          },
          "folderId": {
            "oneOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "entryId",
          "folderId"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.16",
      "preconditions": "Mailbox Entry names selected recipient; non-null folder belongs to the same Mailbox as the entry. Administrator supplies the recipient actor explicitly.",
      "effects": "Set its folder slot to the one selected Mail Folder, or [] for null. Do not move other entries, alter the Message/Delivery or mark read.",
      "result": "Changed Mailbox Entry.",
      "profile": "core.mail",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Selected Digital; administration supplies actorId."
      },
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-mail-move",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result."
    },
    {
      "name": "rb.domain.transition",
      "description": "Perform one authorized state transition from the closed standard lifecycle table.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "id": {
            "type": "string",
            "minLength": 1
          },
          "to": {
            "type": "string",
            "minLength": 1
          },
          "details": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          }
        },
        "required": [
          "id",
          "to"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "record": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          },
          "createdRecords": {
            "type": "array",
            "items": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
            }
          }
        },
        "required": [
          "record",
          "createdRecords"
        ],
        "additionalProperties": false
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.16",
      "preconditions": "Record type, prior state, target state, actor and details must match one row of Part 3’s domain-transition table. A same-state request still checks that row’s authority and is a no-op. Every unlisted transition fails STATE.",
      "effects": "Apply the selected state change and its expressly required dependent records atomically. Proposal adoption/rejection and Decision Round closure require procedure/body details and create an attributed Decision event; other transitions preserve existing observations. Poll closure uses rb.polls.close and is not accepted here.",
      "result": "Resulting subject record and all new records in creation order; empty list when none were required.",
      "profile": "core.domain",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE",
        "TRANSITION_DETAILS"
      ],
      "absentParameters": {
        "actorId": "Selected Digital; administration supplies actorId when the row requires an attributed participant.",
        "details": {}
      },
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-domain-transition",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result."
    },
    {
      "name": "rb.newsletters.initialize-numbering",
      "description": "Initialize missing allocation state without resetting a present Newsletter counter.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "newsletterId": {
            "type": "string",
            "minLength": 1
          },
          "nextIssueNumber": {
            "type": "string",
            "pattern": "^[1-9][0-9]*(?![\\s\\S])"
          }
        },
        "required": [
          "newsletterId",
          "nextIssueNumber"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
      },
      "modes": [
        "redbook-admin"
      ],
      "clause": "4.16",
      "preconditions": "Administrator; Newsletter exists; nextIssueNumber is absent, and proposed frontier exceeds every retained positive numbered issue. A present frontier cannot be reset.",
      "effects": "Write the explicit canonical positive counter. It is current allocation state, not a retained publication history.",
      "result": "Updated Newsletter.",
      "profile": "core.newsletters",
      "requirements": [
        "authoring"
      ],
      "errors": [
        "ALLOCATION_INITIALIZED",
        "ALLOCATION_UNINITIALIZED",
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "NUMBER_RANGE",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {},
      "capability": "authoring",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-newsletters-initialize-numbering",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result."
    },
    {
      "name": "rb.events.occurrences",
      "description": "Expand and page a finite Event recurrence query without storing projected events.",
      "effect": "read",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "eventId": {
            "type": "string",
            "minLength": 1
          },
          "start": {
            "type": "string",
            "minLength": 1
          },
          "end": {
            "type": "string",
            "minLength": 1
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "eventId",
          "start",
          "end"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "occurrences": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "occurrence": {
                  "type": "string"
                },
                "start": {
                  "type": "string",
                  "minLength": 1
                },
                "end": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "occurrence",
                "start",
                "end"
              ],
              "additionalProperties": false
            }
          },
          "nextOffset": {
            "oneOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "occurrences",
          "nextOffset"
        ],
        "additionalProperties": false
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.16",
      "preconditions": "Event exists; query is finite, nonempty and in the Event’s clock. Recurrence and exceptions obey the two standard profiles in Part 3. Unsupported calendar/coordinate semantics fail explicitly.",
      "effects": "Expand original occurrences, apply replacements/cancellations, include projected intervals intersecting [start,end), sort by projected start then original occurrence key, then apply offset/limit. An instantaneous occurrence is included exactly when start<=point<end. Return nextOffset only if further results remain; no authored event or attention.",
      "result": "Ordered occurrence/start/end projections and nextOffset or null.",
      "profile": "core.events",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CONTEXT",
        "DEPENDENCY",
        "INPUT_SCHEMA",
        "LIMIT_EXCEEDED",
        "OUTPUT_SCHEMA",
        "RECURRENCE",
        "REFERENCE",
        "STATE",
        "TIME_RULE"
      ],
      "absentParameters": {
        "limit": 100,
        "offset": 0
      },
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-events-occurrences",
      "failure": "No authored mutation; invalid or unsupported input is an explicit error, not an empty or partial success."
    },
    {
      "name": "rb.rules.evaluate",
      "description": "Evaluate applicable rules without invoking the described operation.",
      "effect": "read",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "contextId": {
            "type": "string",
            "minLength": 1
          },
          "action": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "input": {
                "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
              }
            },
            "required": [
              "name",
              "input"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "contextId",
          "action"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "allowed": {
            "type": "boolean"
          },
          "matchedRuleIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "deniedBy": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "effects": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ruleId": {
                  "type": "string",
                  "minLength": 1
                },
                "index": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "action": {
                  "type": "string",
                  "minLength": 1
                },
                "input": {
                  "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
                }
              },
              "required": [
                "ruleId",
                "index",
                "action",
                "input"
              ],
              "additionalProperties": false
            }
          },
          "validation": {
            "const": "policy-only"
          }
        },
        "required": [
          "allowed",
          "matchedRuleIds",
          "deniedBy",
          "effects",
          "validation"
        ],
        "additionalProperties": false
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.17",
      "preconditions": "The explicit contextId is among the base action’s actual derived policy contexts under the standard resolver table; unknown or ambiguous resolution fails POLICY_CONTEXT. Base name is an available ordinary read/write action, not a transaction/rule wrapper or external action. Validate base input schema before evaluating; resolve actors under the selected role.",
      "effects": "Evaluate a snapshot of applicable rules against {actor,context,action}; sort by priority then rule identity. A failed require or matched deny denies; a matched effects rule selects its ordered literal inputs. Do not execute base action or effects and do not imply that later domain/state validation will succeed. Multiple context guard sets are evaluated in exact context identity order; no supplied contextId can bypass another actual context. Effect selection and execution use context, rule and effect-list order.",
      "result": "Explicit policy decision, matched and denying IDs, and selected effect descriptors.",
      "profile": "core.rules",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "INPUT_SCHEMA",
        "CONTEXT",
        "REFERENCE",
        "STATE",
        "PARTICIPATION",
        "POLICY_CONTEXT",
        "POLICY_DENIED",
        "RULE",
        "DEPENDENCY",
        "CAPABILITY_UNAVAILABLE",
        "EDIT_CONFLICT",
        "OUTPUT_SCHEMA"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-rules-evaluate",
      "failure": "No mutation on evaluation; processing failure restores all prior authored state, resources and allocation counters. No partial successful result."
    },
    {
      "name": "rb.rules.process",
      "description": "Apply an explicitly requested action and selected rule effects atomically.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "contextId": {
            "type": "string",
            "minLength": 1
          },
          "action": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1
              },
              "input": {
                "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
              }
            },
            "required": [
              "name",
              "input"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "contextId",
          "action"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "result": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json"
          },
          "ruleResults": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "ruleId": {
                  "type": "string",
                  "minLength": 1
                },
                "index": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "result": {
                  "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json"
                }
              },
              "required": [
                "ruleId",
                "index",
                "result"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "result",
          "ruleResults"
        ],
        "additionalProperties": false
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.17",
      "preconditions": "The explicit contextId is among the base action’s actual derived policy contexts under the standard resolver table; unknown or ambiguous resolution fails POLICY_CONTEXT. Base name is an available ordinary read/write action, not a transaction/rule wrapper or external action. Validate base input schema before evaluating; resolve actors under the selected role. Selected rules permit the base action; all effect actions are available ordinary world read/write actions and pass their own authority, policy and schema checks. Policy-changing base/effect actions are prohibited.",
      "effects": "Snapshot and evaluate policies once, execute the checked base action, then selected literal effect actions in deterministic rule/effect order in the same transaction. Ordinary action guards remain active, but effects never recursively trigger more rule processing. Any denial, effect error or final validation failure rolls back base/effects and allocations together. Multiple context guard sets are evaluated in exact context identity order; no supplied contextId can bypass another actual context. Effect selection and execution use context, rule and effect-list order.",
      "result": "Base result and rule-result receipts in execution order; no stored rule-run history.",
      "profile": "core.rules",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "INPUT_SCHEMA",
        "CONTEXT",
        "REFERENCE",
        "STATE",
        "PARTICIPATION",
        "POLICY_CONTEXT",
        "POLICY_DENIED",
        "RULE",
        "DEPENDENCY",
        "CAPABILITY_UNAVAILABLE",
        "EDIT_CONFLICT",
        "OUTPUT_SCHEMA"
      ],
      "absentParameters": {},
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-rules-process",
      "failure": "No mutation on evaluation; processing failure restores all prior authored state, resources and allocation counters. No partial successful result."
    },
    {
      "name": "rb.mail.folders.create",
      "description": "Create an attributed folder in an authorized Mailbox.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "mailboxId": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "mailboxId",
          "title"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.16",
      "preconditions": "The Mailbox exists; the selected Digital owns it or the context is RedBook administration. actorId follows the selected-role rules. Primary-record type, Properties and classifications obey Part 4.19; additional-fields input cannot override inherited domain fields.",
      "effects": "Create one MailFolder with typed mailboxId reference, title and supplied description, preserving all messages and entries. Apply ordinary creation attribution without fabricating an event. Apply primary-record defaults, additional fields and supplied classifications atomically before final validation; dependent records retain their prescribed types.",
      "result": "The newly created MailFolder record.",
      "profile": "core.mail",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Use selected Digital in digital mode; administration remains unattributed when no actor is supplied.",
        "description": "",
        "properties": {},
        "categories": "Empty on creation.",
        "tags": "Empty on creation.",
        "type": "mail-folder"
      },
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-mail-folders-create",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result.",
      "primaryCreation": {
        "baseType": "mail-folder",
        "typeSelection": "base-or-specialization",
        "propertiesMode": "additional-fields",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.content.create",
      "description": "Author a descriptor, proposal of Connection or Submission through the finite participant-initiation table.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "minLength": 1
          },
          "title": {
            "type": "string"
          },
          "properties": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/value.schema.json#/$defs/map"
          },
          "slots": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          },
          "contextId": {
            "type": "string",
            "minLength": 1
          },
          "sourceIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "uniqueItems": true
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "record": {
            "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
          },
          "createdRecords": {
            "type": "array",
            "items": {
              "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
            }
          }
        },
        "required": [
          "record",
          "createdRecords"
        ],
        "additionalProperties": false
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.19",
      "preconditions": "Selected actor exists. Type is one listed in Part 3.24 or a valid specialization. Its exact row determines permitted Properties, slots, context and dependencies. Resolve references and enforce that row's authority; reject unused contextId/sourceIds, unrelated types and protected state/policy fields. Slot order and multiplicity follow the effective CRT constraints; generic slot arrays impose no additional uniqueness rule.",
      "effects": "Construct the attributed primary record with declared defaults and valid supplied content, applying the row's fixed initial state and any explicitly required dependent records. Submission creates its Submission Target atomically. Connection sets only the selected initiator, proposed state and an empty decision list. No event, participation grant, placement, delivery or background job is implied.",
      "result": "Primary record and all newly created records, primary first, in creation order.",
      "profile": "core.content",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Selected Digital; administration must supply the attributed actor.",
        "title": "",
        "properties": {},
        "slots": {},
        "categories": [],
        "tags": [],
        "contextId": "Absent except where Part 3.24 requires it.",
        "sourceIds": "Absent except for Submission, where a nonempty list is required."
      },
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-content-create",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result.",
      "primaryCreation": {
        "baseType": null,
        "typeSelection": "participant-initiation-table",
        "propertiesMode": "table-defined",
        "existingRecord": "not-applicable"
      }
    },
    {
      "name": "rb.connections.respond",
      "description": "Record only the selected counterpart's decision on a proposed Connection.",
      "effect": "write",
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "actorId": {
            "type": "string",
            "minLength": 1
          },
          "id": {
            "type": "string",
            "minLength": 1
          },
          "accept": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "accept"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "$ref": "https://redbook.fun/specification/1.0/schemas/record.schema.json"
      },
      "modes": [
        "redbook-admin",
        "digital"
      ],
      "clause": "4.19",
      "preconditions": "Target is a proposed Connection or specialization with valid participant and decision lists; selected actor is a named counterpart. Administrative use explicitly supplies that counterpart's actorId. A terminal decision is not silently reopened.",
      "effects": "Replace only this counterpart's decision, retaining every other decision. Canonicalize decision order to counterpart-slot order. Set declined if any counterpart declines; accepted only if every counterpart accepts; otherwise keep proposed. Preserve participants, attribution and original observations.",
      "result": "The Connection with its current explicit decisions.",
      "profile": "core.connections",
      "requirements": [
        "core-operations"
      ],
      "errors": [
        "CAPABILITY_UNAVAILABLE",
        "CHRONOLOGY",
        "CONTEXT",
        "DEPENDENCY",
        "EDIT_CONFLICT",
        "INPUT_SCHEMA",
        "OUTPUT_SCHEMA",
        "PARTICIPATION",
        "REFERENCE",
        "STATE"
      ],
      "absentParameters": {
        "actorId": "Selected Digital; administration explicitly names the counterpart whose decision it asserts."
      },
      "capability": "core-operations",
      "referenceCarried": false,
      "contractRef": "/redbook-specification/#action-rb-connections-respond",
      "failure": "Reject before commitment and preserve all prior records, resources and allocation state; return no partial successful result."
    }
  ]
}
