{"$schema":"https://a2ui.org/specification/v1_0/catalog_definition.json","$id":"https://layersofthesouth.org/data/samples/a2ui-catalog.json","protocolVersion":"1.0","catalogId":"https://layersofthesouth.org/data/samples/a2ui-catalog.json","title":"Layers of the South A2UI 1.0 Evidence Catalog","description":"Read-only A2UI 1.0 profile (Edition 3.0.1) subsetting the official A2UI 1.0 Basic Catalog components for archaeological evidence comparison and How-sure inspection under strict CSP.","instructions":"Render only components declared in the A2UI 1.0 Basic Catalog (Column, Row, List, Card, Divider, Text, Icon, Button, TextField, CheckBox). Never execute inline scripts or accept untrusted catalogId values. Always preserve each study's four-tier How-sure grading without overstating certainty.","components":{"Text":{"type":"object","properties":{"component":{"const":"Text"},"text":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicString"},"variant":{"type":"string","enum":["caption","body"],"default":"body"},"weight":{"$ref":"#/$defs/Weight"}},"required":["component","text"]},"Row":{"type":"object","properties":{"component":{"const":"Row"},"children":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/ChildList"},"justify":{"type":"string","enum":["start","center","end","spaceBetween","spaceAround","spaceEvenly","stretch"]},"align":{"type":"string","enum":["start","center","end","stretch"]},"weight":{"$ref":"#/$defs/Weight"}},"required":["component","children"]},"Column":{"type":"object","properties":{"component":{"const":"Column"},"children":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/ChildList"},"justify":{"type":"string","enum":["start","center","end","spaceBetween","spaceAround","spaceEvenly","stretch"]},"align":{"type":"string","enum":["start","center","end","stretch"]},"weight":{"$ref":"#/$defs/Weight"}},"required":["component","children"]},"List":{"type":"object","properties":{"component":{"const":"List"},"children":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/ChildList"},"direction":{"type":"string","enum":["vertical","horizontal"]},"align":{"type":"string","enum":["start","center","end","stretch"]},"weight":{"$ref":"#/$defs/Weight"}},"required":["component","children"]},"Card":{"type":"object","properties":{"component":{"const":"Card"},"child":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/Child"},"weight":{"$ref":"#/$defs/Weight"}},"required":["component","child"]},"Divider":{"type":"object","properties":{"component":{"const":"Divider"},"axis":{"type":"string","enum":["horizontal","vertical"]},"weight":{"$ref":"#/$defs/Weight"}},"required":["component"]},"Button":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/Checkable"},{"type":"object","properties":{"component":{"const":"Button"},"child":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/Child"},"variant":{"type":"string","enum":["default","primary","borderless"],"default":"default"},"action":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/Action"},"weight":{"$ref":"#/$defs/Weight"}},"required":["component","child","action"]}]},"Icon":{"type":"object","properties":{"component":{"const":"Icon"},"name":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicString"},"weight":{"$ref":"#/$defs/Weight"}},"required":["component","name"]},"TextField":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/Checkable"},{"type":"object","properties":{"component":{"const":"TextField"},"label":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicString"},"placeholder":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicString"},"variant":{"type":"string","enum":["shortText","longText","number","obscured"]},"weight":{"$ref":"#/$defs/Weight"}},"required":["component","label","value"]}]},"CheckBox":{"type":"object","allOf":[{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/Checkable"},{"type":"object","properties":{"component":{"const":"CheckBox"},"label":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicString"},"value":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicBoolean"},"weight":{"$ref":"#/$defs/Weight"}},"required":["component","label","value"]}]}},"functions":{"required":{"type":"object","description":"Checks that a value is non-null and non-empty.","returnType":"boolean","properties":{"@call":{"const":"required"},"args":{"type":"object","properties":{"value":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicValue"}},"required":["value"],"unevaluatedProperties":false}},"required":["@call","args"]},"formatString":{"type":"object","description":"Formats a template string with data model bindings.","returnType":"string","properties":{"@call":{"const":"formatString"},"args":{"type":"object","properties":{"value":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicString"}},"required":["value"],"unevaluatedProperties":false}},"required":["@call","args"]},"and":{"type":"object","description":"Logical conjunction over boolean values.","returnType":"boolean","properties":{"@call":{"const":"and"},"args":{"type":"object","properties":{"values":{"type":"array","items":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicBoolean"}}},"required":["values"],"unevaluatedProperties":false}},"required":["@call","args"]},"or":{"type":"object","description":"Logical disjunction over boolean values.","returnType":"boolean","properties":{"@call":{"const":"or"},"args":{"type":"object","properties":{"values":{"type":"array","items":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicBoolean"}}},"required":["values"],"unevaluatedProperties":false}},"required":["@call","args"]},"not":{"type":"object","description":"Logical negation of a boolean value.","returnType":"boolean","properties":{"@call":{"const":"not"},"args":{"type":"object","properties":{"value":{"$ref":"https://a2ui.org/specification/v1_0/common_types.json#/$defs/DynamicBoolean"}},"required":["value"],"unevaluatedProperties":false}},"required":["@call","args"]}},"$defs":{"Weight":{"type":"number","description":"Relative flex weight inside a Row or Column."},"anyComponent":{"oneOf":[{"$ref":"#/components/Text"},{"$ref":"#/components/Row"},{"$ref":"#/components/Column"},{"$ref":"#/components/List"},{"$ref":"#/components/Card"},{"$ref":"#/components/Divider"},{"$ref":"#/components/Button"},{"$ref":"#/components/Icon"},{"$ref":"#/components/TextField"},{"$ref":"#/components/CheckBox"}]},"anyFunction":{"oneOf":[{"$ref":"#/functions/required"},{"$ref":"#/functions/formatString"},{"$ref":"#/functions/and"},{"$ref":"#/functions/or"},{"$ref":"#/functions/not"}]}}}