Schema Manager

Schema Manager is the admin app for defining and managing JCR metadata schemas and mixins — property types and constraints, calculated fields, inheritance via mixins, and bulk import from JSON.

Admin only (adminOnly) / editor (application/vnd.webtop.metadata-schema+json) / singleton.

Opening it

Open Schema Manager from the menu.

Layout

  • Sidebar (left) — a tree of schemas and their properties (filterable); mixins carry a badge
  • Editor (right) — the edit form for the selected schema / property
  • Status bar — schema / mixin / property counts, unsaved count, save state

Key tasks

Create a schema

Use New → Add Schema, then enter a key (e.g. article), label and description. Expand to Add Property and save with Ctrl+S.

Define a property

For each property, set key, type (required), label and description, plus:

  • Behavior — calculated, default value (static or a formula)
  • Validation — required, multiple
  • Constraints — length, pattern (regex), min/max value, decimal places, choices
  • UI hints — read only, editor type, display format, and more

Use mixins

Define shared properties as a mixin and attach it to schemas to inherit them. A same-keyed property on the schema shadows (overrides) the mixin's. You can also extract selected properties into a new mixin.

Import from JSON

Use Scan Properties, drag a JSON file, and adjust which items, naming conventions and prefix to import in bulk.

Tips

  • Deletion is a soft delete confirmed on save; use Restore to undo.
  • Renaming a key cascades updates to schemas that reference it.