-
Notifications
You must be signed in to change notification settings - Fork 0
Custom fields: JSON Schema field groups + MetaStore API #162
Copy link
Copy link
Closed
Labels
area:apiGo HTTP API serverGo HTTP API serverarea:plugin-sdkPlugin SDK (Go/Rust/TS)Plugin SDK (Go/Rust/TS)needs-designBlocked on a design decisionBlocked on a design decisionphase:P1-cms-corePhase 1 — CMS CorePhase 1 — CMS Corepriority:P1Important — should land in phaseImportant — should land in phaseskill:goGo programmingGo programmingtype:featNew feature or implementation taskNew feature or implementation task
Milestone
Metadata
Metadata
Assignees
Labels
area:apiGo HTTP API serverGo HTTP API serverarea:plugin-sdkPlugin SDK (Go/Rust/TS)Plugin SDK (Go/Rust/TS)needs-designBlocked on a design decisionBlocked on a design decisionphase:P1-cms-corePhase 1 — CMS CorePhase 1 — CMS Corepriority:P1Important — should land in phaseImportant — should land in phaseskill:goGo programmingGo programmingtype:featNew feature or implementation taskNew feature or implementation task
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
Implement the JSON Schema-driven custom fields ("meta box") system: field-group registration, server-side validation against
posts.metaor sidecar columns, and the typedMetaStoreAPI plugins use to read/write meta.Design reference
Acceptance criteria
field_groupsregistry table created (id, title, applies_to, namespace, schema JSONB, origin)internal/content/fields.Register(group)parses + validates the JSON Schema on registerpostsinsert/update, every applicable field group's schema is validated against incoming data; storage routes toposts.meta, sidecar, or column per thestorage.kindMetaStoreinterface implemented per §3.5:Get,Set,Delete,Querywith constrained predicate language (eq, gt/lt, exists, in)meta_namespaceDependencies
#14, #22
Complexity
XL