February 2026 edition
OKHAM Glossary — Authoritative Term Definitions
Target Audience: LLMs, implementers, and anyone needing precise definitions of OKHAM terminology.
Purpose
This glossary provides authoritative, single-source-of-truth definitions for all OKHAM terms. When in doubt about terminology, refer to this document.
Key Principle: One term, one meaning. No ambiguity.
Core Concepts
Capability
Definition: A discrete unit of functionality that can be invoked, composed, and observed. A capability encapsulates behavior, exposes a contract, and can emit events.
Contract: Defined in OCC (Open Capability Contract)
Example: A "SendEmail" capability that accepts recipient, subject, and body parameters and emits a "EmailSent" event.
Not to be confused with: Function (implementation detail), Service (deployment unit), Component (UI element)
Component
Definition: A declarative UI element with typed props, slots, and semantic metadata. Components preserve structure and meaning across rendering engines.
Contract: Defined in OUCC (Open UI Component Contract)
Example: A "Button" component with props for label and variant, and a slot for an icon.
Not to be confused with: Capability (behavior unit), Widget (implementation-specific UI element), Template (rendering artifact)
Contract
Definition: A formal specification that defines the structure, semantics, and versioning rules for a specific concern (types, events, policies, components, etc.). Contracts are implementation-agnostic.
Contract: Meta-concept defined across all OKHAM standards
Example: OTC (Open Type Contract) defines how types are structured and versioned.
Not to be confused with: Schema (structure only), Interface (code-level abstraction), API (implementation-specific)
Event
Definition: An immutable fact representing something that happened at a specific point in time. Events have causality chains, correlation IDs, and semantic classification.
Contract: Defined in OEC (Open Event Contract)
Example: A "UserCreated" event with timestamp, source, data, and causation chain.
Not to be confused with: Message (transport-level concept), Log (diagnostic output), Notification (user-facing alert)
Policy
Definition: A declarative rule that constrains, allows, denies, or conditions behavior. Policies are engine-independent and define what is permitted, not how to enforce it.
Contract: Defined in OPC (Open Policy Contract)
Example: An "AdminOnly" policy that denies access unless user.role == 'admin'.
Not to be confused with: Rule (implementation-specific logic), Validation (data checking), Authorization (implementation mechanism)
Type
Definition: A canonical data structure with semantic meaning, defined using JSON Schema and enriched with semantic metadata. Types are reusable across events, policies, and components.
Contract: Defined in OTC (Open Type Contract)
Example: A "User" type with id, email, and role fields, plus semantic metadata describing its purpose.
Not to be confused with: Class (code-level construct), Schema (structure only), Model (implementation-specific)
Contract-Specific Terms
Causation (OEC)
Definition: The relationship between events where one event causes or triggers another. Represented as an array of parent event IDs.
Example: A "UserCreated" event causes an "EmailSent" event. The "EmailSent" event's causation field contains the "UserCreated" event ID.
Not to be confused with: Correlation (tracing across systems), Dependency (code-level relationship)
Correlation (OEC)
Definition: A unique identifier that links related events across system boundaries for distributed tracing. All events in a single transaction or flow share the same correlation ID.
Example: A user registration flow generates multiple events (UserCreated, EmailSent, ProfileInitialized) all with correlation ID "corr_abc123".
Not to be confused with: Causation (parent-child event relationship), Transaction ID (database-level concept)
Effect (OPC)
Definition: The outcome of a policy evaluation. Can be "allow" (permit action), "deny" (reject action), or "condition" (permit with constraints).
Example: A policy with effect "deny" prevents the action from executing.
Not to be confused with: Action (what happens), Result (evaluation outcome), Side Effect (unintended consequence)
Prop (OUCC)
Definition: A typed input parameter for a UI component. Props define what data a component accepts and how it should be validated.
Example: A Button component has a "label" prop of type string and a "variant" prop of type enum.
Not to be confused with: Attribute (HTML-level concept), Parameter (function-level concept), Field (data structure element)
Schema (OTC)
Definition: A JSON Schema definition that describes the structure and validation rules for a type. Schemas are machine-readable and can be used for automated validation.
Example: A User type's schema defines that "id" is a required string and "email" is a required string with email format.
Not to be confused with: Type (includes semantics), Contract (broader specification), Model (implementation-specific)
Semantics (All Contracts)
Definition: Metadata that describes the meaning, purpose, constraints, and relationships of a contract artifact. Semantics preserve meaning beyond structure.
Example: A User type's semantics include "purpose: Represents a user account" and "constraints: email must be unique".
Not to be confused with: Schema (structure only), Documentation (human-readable text), Metadata (generic data about data)
Slot (OUCC)
Definition: A named placeholder in a UI component where child components or content can be inserted. Slots enable component composition.
Example: A Card component has a "header" slot, a "content" slot, and a "footer" slot.
Not to be confused with: Prop (typed input), Children (generic content), Template (rendering artifact)
Versioning Terms
Breaking Change
Definition: A modification to a contract that is not backward-compatible. Breaking changes require a MAJOR version bump.
Examples:
- Removing a required field
- Changing a field's type
- Changing a field's semantics
- Removing a contract
Not to be confused with: Bug Fix (backward-compatible correction), Enhancement (backward-compatible addition)
Major Version
Definition: The first number in a semantic version (e.g., 1.0.0). Incremented when breaking changes are introduced.
Example: Changing User type from v1.5.2 to v2.0.0 because the "id" field changed from string to number.
Not to be confused with: Minor Version (backward-compatible additions), Patch Version (bug fixes)
Minor Version
Definition: The second number in a semantic version (e.g., 1.5.0). Incremented when backward-compatible features are added.
Example: Adding an optional "phoneNumber" field to User type changes version from v1.5.2 to v1.6.0.
Not to be confused with: Major Version (breaking changes), Patch Version (bug fixes)
Patch Version
Definition: The third number in a semantic version (e.g., 1.5.2). Incremented when backward-compatible bug fixes are made.
Example: Fixing a typo in User type's semantic metadata changes version from v1.5.2 to v1.5.3.
Not to be confused with: Major Version (breaking changes), Minor Version (feature additions)
Semantic Versioning
Definition: A versioning scheme using MAJOR.MINOR.PATCH format where each number has specific meaning. OKHAM contracts MUST use semantic versioning.
Format: MAJOR.MINOR.PATCH (e.g., 1.5.2)
Rules:
- MAJOR: Breaking changes
- MINOR: Backward-compatible additions
- PATCH: Backward-compatible bug fixes
Not to be confused with: Calendar Versioning (date-based), Sequential Versioning (simple incrementing)
Architectural Terms
Business Flow (OBC)
Definition: A multi-step orchestration of capabilities that represents a business process. Flows define state transitions, dependencies, and error handling.
Contract: Defined in OBC (Open Business Contract)
Example: A "UserRegistration" flow that orchestrates validation, account creation, email sending, and profile initialization.
Not to be confused with: Workflow (implementation-specific), Pipeline (CI/CD concept), Process (generic term)
Declarative
Definition: A style of specification that describes what should happen, not how it should happen. OKHAM contracts are declarative.
Example: A policy declares "deny if user.role != 'admin'" without specifying the enforcement mechanism.
Not to be confused with: Imperative (describes how), Procedural (step-by-step instructions), Functional (computation-focused)
Implementation-Agnostic
Definition: Independent of any specific programming language, runtime, framework, or platform. OKHAM contracts are implementation-agnostic.
Example: OTC types can be implemented in Go, Python, Java, JavaScript, or any other language.
Not to be confused with: Language-Agnostic (same concept), Platform-Independent (deployment concern), Framework-Agnostic (tooling concern)
Interoperability
Definition: The ability of different systems to exchange and use information through shared contracts. OKHAM enables interoperability through standardized contracts.
Example: A Go service and a Python service can exchange User types because both implement OTC.
Not to be confused with: Compatibility (version-level concern), Integration (connection mechanism), Portability (deployment concern)
Semantic Meaning
Definition: The intended purpose, constraints, and relationships of a contract artifact, beyond its structural definition. OKHAM preserves semantic meaning.
Example: A "User" type's semantic meaning includes "represents a user account" and "email must be unique", not just "has id and email fields".
Not to be confused with: Structure (shape of data), Syntax (format rules), Schema (validation rules)
Compliance Terms
Conformance Level
Definition: A measure of how completely a system implements OKHAM standards. Levels are: Minimal, Partial, Full.
Defined in: CONFORMANCE.md
Example: A system with OTC and OEC implemented has Partial conformance.
Not to be confused with: Compliance (general adherence), Certification (formal recognition), Validation (schema checking)
Normative
Definition: Binding requirements that MUST be followed for compliance. Normative sections use RFC 2119 keywords (MUST, SHALL, SHOULD, MAY).
Example: "Types MUST have a unique ID" is a normative requirement in OTC.
Not to be confused with: Non-Normative (guidance only), Recommended (best practice), Optional (not required)
Non-Normative
Definition: Guidance, examples, or explanations that are NOT binding. Non-normative sections provide context but are not required for compliance.
Example: README.md and EXAMPLES.md are non-normative; SPECIFICATION.md is normative.
Not to be confused with: Normative (binding), Informative (same as non-normative), Optional (may or may not be required)
Tooling Terms
Design Token (ODT)
Definition: A named value representing a visual design decision (color, spacing, typography, etc.). Tokens enable consistent theming across implementations.
Contract: Defined in ODT (Open Design Tokens)
Example: color.primary = #0FA958, spacing.medium = 16px
Not to be confused with: CSS Variable (implementation), Theme (collection of tokens), Style (visual appearance)
Linter
Definition: A tool that checks contracts for compliance with OKHAM standards. Linters validate structure, semantics, and versioning.
Example: okham-lint validates that all types have unique IDs and semantic metadata.
Not to be confused with: Validator (schema checking), Formatter (code styling), Compiler (code generation)
Registry
Definition: A centralized or distributed store for OKHAM contracts. Registries enable discovery, versioning, and sharing of contracts.
Example: A NATS Key-Value store containing all OTC types for a system.
Not to be confused with: Repository (code storage), Database (data storage), Catalog (listing of items)
Validator
Definition: A tool that checks contracts against JSON Schema definitions. Validators ensure structural correctness.
Example: okham-validator checks that a User type conforms to the OTC JSON Schema.
Not to be confused with: Linter (compliance checking), Parser (syntax analysis), Compiler (code generation)
Deprecated Terms
These terms were used in earlier OKHAM versions but are now deprecated or removed.
Hook (Deprecated)
Status: REMOVED from OKHAM Core
Reason: Lifecycle hooks are implementation concerns, not meaning preservation.
Replacement: Hooks may be defined in runtime specifications but are not part of normative contracts.
Interaction (Deprecated)
Status: REMOVED from OKHAM Core
Reason: Interaction protocols are implementation concerns, absorbed into OCC and runtime specs.
Replacement: Use OEC for event-driven interactions, OCC for capability metadata.
Operational Semantic Context (OSC) (Deprecated)
Status: REMOVED from OKHAM Core
Reason: Merged into OTC semantic metadata.
Replacement: Use OTC semantics field for semantic metadata.
Ambiguous Terms (Clarifications)
"Standard" vs "Contract"
Standard: A complete specification document (e.g., OTC standard includes README, SPECIFICATION, SCHEMA, EXAMPLES).
Contract: The normative part of a standard (SPECIFICATION.md and SCHEMA.md).
Usage: "OTC is a standard" (correct), "OTC is a contract" (also correct, referring to the normative part).
"Type" vs "Schema"
Type: A complete OTC artifact including ID, name, version, schema, and semantics.
Schema: The JSON Schema definition within a type (structure and validation rules only).
Usage: "Define a User type" (complete artifact), "The User schema defines required fields" (structure only).
"Event" vs "Message"
Event: An immutable fact with semantic meaning, causality, and correlation (OEC).
Message: A transport-level concept for moving data between systems (not standardized by OKHAM).
Usage: "Emit a UserCreated event" (semantic fact), "Send a message via NATS" (transport mechanism).
"Policy" vs "Rule"
Policy: A complete OPC artifact including ID, name, version, effect, rules, and scope.
Rule: A single condition-action pair within a policy.
Usage: "Define an AdminOnly policy" (complete artifact), "The policy has three rules" (individual conditions).
"Component" vs "Widget"
Component: A declarative OUCC artifact with semantic meaning and portability.
Widget: An implementation-specific UI element (not standardized by OKHAM).
Usage: "Define a Button component" (OUCC artifact), "Render a button widget in React" (implementation).
RFC 2119 Keywords
OKHAM specifications use RFC 2119 keywords to indicate requirement levels.
MUST / SHALL
Definition: Absolute requirement. Non-compliance is a critical failure.
Example: "Types MUST have a unique ID."
MUST NOT / SHALL NOT
Definition: Absolute prohibition. Violation is a critical failure.
Example: "Event IDs MUST NOT be reused."
SHOULD
Definition: Recommended but not required. Deviation requires justification.
Example: "Types SHOULD include semantic metadata."
SHOULD NOT
Definition: Not recommended but not prohibited. Use requires justification.
Example: "Types SHOULD NOT use generic names like 'Data' or 'Object'."
MAY
Definition: Optional. Implementation can choose to include or omit.
Example: "Types MAY include examples in the schema."
REQUIRED
Definition: Same as MUST. Absolute requirement.
Example: "The id field is REQUIRED."
OPTIONAL
Definition: Same as MAY. Implementation can choose.
Example: "The examples field is OPTIONAL."
Acronyms
| Acronym | Full Name | Contract Type |
|---|---|---|
| OTC | Open Type Contract | Core (Normative) |
| OEC | Open Event Contract | Core (Normative) |
| OPC | Open Policy Contract | Core (Normative) |
| OUCC | Open UI Component Contract | Core (Normative) |
| OBC | Open Business Contract | Extension (Normative) |
| OAC | Open Accessibility Contract | Extension (Normative) |
| OCD | Open Contract Document | Tooling (Non-Normative) |
| OCC | Open Capability Contract | Tooling (Non-Normative) |
| ODT | Open Design Tokens | Tooling (Non-Normative) |
| OSR | Open Snippet Registry | Tooling (Non-Normative) |
| OVR | Open Validation Report | Tooling (Non-Normative) |
| OLR | Open Linting Report | Tooling (Non-Normative) |
Usage Guidelines
When to Use This Glossary
- ✅ When implementing OKHAM contracts
- ✅ When writing documentation
- ✅ When answering questions about OKHAM
- ✅ When resolving terminology disputes
- ✅ When training LLMs on OKHAM
When NOT to Use This Glossary
- ❌ For implementation-specific terms (use your language/framework docs)
- ❌ For general software engineering terms (use standard glossaries)
- ❌ For domain-specific terms (use your domain glossary)
Contributing to This Glossary
Status: DRAFT
Once OKHAM standards reach STABLE status, this glossary will be community-maintained. Proposed changes will follow the RFC process.
Current Process: Managed by OKHAM foundation during initial stewardship.
Additional Resources
- LLM-START-HERE.md — LLM guidance and anti-hallucination rules
- IMPLEMENTER-GUIDE.md — Implementation patterns and golden path
- CONTRACT-MAP.md — Contract ownership and boundaries
- CONFORMANCE.md — Compliance levels and checklists
- Standards Documentation — All OKHAM standards
Remember: When in doubt about terminology, refer to this glossary. One term, one meaning.