Additive Semantics (v2)
v2 is additive and backward compatible with v1: it introduces semantics and viewer attributes on top of the Markdown + Components grammar. No grammar changes in v2. New attributes/viewers are validated downstream. Key additions:
artifact.json:json_pointer(RFC 6901) for static projection;depthbound;collapsedflag.artifact.table:columns(keys or JSON Pointers); optionalcaption; optionalkindhint for schema.artifact.image: optionalcaption;altremains required;max_heightbounds.artifact.text: new viewer withmax_lines=1..500and optionalcaption.
Validation and rendering layers enforce bounds, unknown attrs, and advisory schema hints.