February 2026 edition
UI Components Schema
Overview
This document defines the JSON Schema for UI component declarations in OKHAM capabilities, including rendering profiles and artifact references.
Status: DRAFT (v0.1.0)
Canonical Schema
Canonical schema: https://okham.org/schemas/oucc/0.1.0/component.schema.json
Field Overview
Required fields:
component: OUCC schema versionid: Unique component IDname: Human-readable nameversion: Component semantic version
Optional fields:
descriptionstatus: draft | stable | deprecated | removedcategory: layout | form | data-display | navigation | feedbacktagspropsslotseventsprofilesi18na11y
Non-Normative Excerpt
{
"component": "0.1.0",
"id": "okham_ui_card",
"name": "Card",
"version": "1.0.0",
"profiles": [
{
"engine": "templ",
"artifact": {
"kind": "file",
"path": "templ/card.templ",
"sha256": "a1b2c3d4e5f6789abcdef0123456789abcdef0123456789abcdef0123456789"
}
}
]
}
Notes
- This schema is DRAFT and may change before finalization.
- Artifact kinds beyond
fileare reserved and remain permissive.