{"version":1,"format":"json-render","components":[{"type":"CmsStack","description":"Arrange child parts vertically.","props":{"gap":"integer 0–48, default 16"},"children":true},{"type":"RecordForm","description":"Validated fields for creating or editing a draft record.","props":{"collection":"Exact collection path in the host content system.","recordSlug":"Optional stable record slug; omitted forms create a new record."},"children":false},{"type":"RecordTable","description":"Compare records using their declared fields.","props":{"collection":"Exact collection path in the host content system.","recordSlug":"Optional stable record slug; omitted forms create a new record."},"children":false},{"type":"RecordCards","description":"Browse content cards using title and summary fields.","props":{"collection":"Exact collection path in the host content system.","recordSlug":"Optional stable record slug; omitted forms create a new record."},"children":false},{"type":"RecordDetail","description":"Inspect every declared field in one record.","props":{"collection":"Exact collection path in the host content system.","recordSlug":"Optional stable record slug; omitted forms create a new record."},"children":false}],"rules":["The host supplies authorized collections and edit capabilities. Never put read keys, content, HTML or JavaScript in the UI spec.","RecordTable and RecordCards repeat over collection records. RecordForm derives validated controls from the declared schema and saves drafts only.","Only CmsStack has children. Maximum 40 parts, 8 levels, one parent per part. No arbitrary actions, expressions, URLs or bindings."],"example":{"root":"records","elements":{"records":{"type":"RecordCards","props":{"collection":"posts"},"children":[]}}},"contentProposalSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":120},"collections":{"maxItems":32,"type":"array","items":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":240},"name":{"type":"string","minLength":1,"maxLength":120},"fields":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":240},"type":{"default":"string","type":"string","enum":["string","number","boolean","object","array","json"]},"required":{"type":"boolean"}},"required":["name","type"],"additionalProperties":false}},"records":{"default":[],"maxItems":200,"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}}},"required":["path","name","records"],"additionalProperties":false}},"notes":{"default":[],"maxItems":50,"type":"array","items":{"type":"string","maxLength":2000}}},"required":["title","collections","notes"],"additionalProperties":false}}