Skip to main content

Canonical Vocabulary

The AXAG canonical vocabulary defines all reserved attribute names, their types, allowed values, and semantic meaning.

Reserved Attribute Prefix​

The prefix axag- is reserved for AXAG annotations. Implementations MUST NOT use this prefix for non-AXAG purposes.

Which attributes reach the manifest

Most attributes become a field of the manifest action and of the generated tool. These do not, in 1.1: axag-confirmation-message, axag-approval-count, axag-rate-limit, axag-cooldown, axag-role-escalation, the visibility attributes, the workflow attributes and the versioning attributes. They are valid in markup and describe intent to a reader, but AXAG tooling doesn't carry or enforce them yet — enforce the behaviour they describe in your own code. The manifest field reference lists what is carried.

Identity Attributes​

AttributeTypeDescription
axag-intentstringSemantic intent in entity.verb format
axag-entitystringDomain entity being operated on
axag-action-typeenumOperation classification
axag-descriptionstringHuman-readable description
axag-operation-idstringUnique operation identifier

Parameter Attributes​

AttributeTypeDescription
axag-required-parametersarrayJSON array of parameter names, or parameter objects ({"name":"query","type":"string","maxLength":200})
axag-optional-parametersarraySame form, for optional parameters
axag-params-fromstring#id of the form whose controls supply parameters
axag-schemastringSchema binding: zod:<file>#<export> or openapi:[<file>#]<operationId>
axag-parameterstringParameter name (on input elements)
axag-parameter-typeenumstring, number, integer, boolean, array, object
axag-parameter-requiredbooleanWhether the parameter is required
axag-parameter-descriptionstringParameter description
axag-parameter-formatenumemail, url, date, datetime, uuid
axag-parameter-enumstring[]Allowed values for enum parameters
axag-parameter-minnumberMinimum value
axag-parameter-maxnumberMaximum value
axag-parameter-patternstringRegex pattern for validation
axag-parameter-min-lengthnumberMinimum string length
axag-parameter-max-lengthnumberMaximum string length

State Attributes​

AttributeTypeDescription
axag-preconditionsstring[]Required state before execution
axag-postconditionsstring[]Guaranteed state after execution
axag-side-effectsstring[]Observable changes beyond primary result

Safety Attributes​

AttributeTypeDescription
axag-risk-levelenumnone, low, medium, high, critical
axag-confirmation-requiredbooleanWhether explicit confirmation is needed
axag-confirmation-messagestringMessage to display for confirmation
axag-approval-requiredbooleanWhether multi-party approval is needed
axag-approval-rolesstring[]Roles that can approve
axag-approval-countnumberNumber of approvals required
axag-idempotentbooleanWhether safe to repeat
axag-rate-limitstringMaximum invocation frequency
axag-cooldownstringMinimum time between invocations

Scope Attributes​

AttributeTypeDescription
axag-scopeenumpublic, user, tenant, global
axag-tenant-boundaryenumstrict (never crosses tenants) or relaxed (cross-tenant access where authorized)
axag-required-rolesstring[]Roles permitted to invoke
axag-role-escalationbooleanWhether role escalation is permitted

Visibility Attributes​

AttributeTypeDescription
axag-visiblebooleanWhether discoverable by agents
axag-operablebooleanWhether invocable by agents
axag-operability-reasonstringWhy the operation is not operable

Workflow Attributes​

AttributeTypeDescription
axag-workflow-idstringWorkflow identifier
axag-workflow-stepnumberStep position in workflow
axag-workflow-total-stepsnumberTotal steps in workflow
axag-workflow-nextstringIntent of next step
axag-workflow-previousstringIntent of previous step

Versioning Attributes​

AttributeTypeDescription
axag-versionstringAXAG specification version
axag-deprecatedbooleanWhether this annotation is deprecated
axag-deprecated-replacementstringReplacement intent for deprecated operations
axag-sincestringVersion when this annotation was introduced

Action Type Values​

ValueDescription
readNon-mutating data retrieval
writeCreates or modifies an entity
deleteRemoves, cancels, or deactivates an entity
navigateChanges the view or context without data mutation
Changed in 1.1

Earlier drafts of this page listed create and mutate. The manifest schema and all AXAG tooling only ever accepted write; use write for both.

Scope Values​

ValueDescription
publicAvailable without authentication (catalog browsing, help pages)
userAffects only the signed-in user's own data
tenantAffects data shared across the user's organization
globalAffects every tenant or the whole platform

Risk Level Values​

ValueDescriptionTypical Actions
noneNo riskSearch, browse, read
lowEasily reversibleAdd to cart, bookmark
mediumRequires attentionUpdate profile, change settings
highFinancial or data impactProcess payment, submit application
criticalIrreversible, high impactDelete account, purge data

Next Steps​