JSON Forms Extended

Conditional template slots

This root TemplateLayout owns the object projection. The three authored decimal slots are customer type (0), VAT (1), and notes (2). With personal data, slot 1 is known but empty; notes stays in slot 2. Business data restores VAT and requires both VAT and notes. Switching back retains VAT in data and removes the two conditional required indicators. No unknown-slot warning or fallback is expected.

The Ractive profile requires the host's explicit script-evaluation permission. Use it only for trusted templates. Equivalent acceptance vectors cover named and explicit numeric addresses, supported JSX references, compiled native slots, registered Template/Slot composition, unknown names and retained editor focus. Profile support must be verified in an adapter; these fixtures alone do not certify any renderer. The original schema remains the document validator.