info-tech-canon/infospace/schemas/attribute-value-type.schema.yaml
tegwick d453e17952
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Canon 0.6.0 freeze: ITC-CAP draft, AVT catalog, joinable review
Finish ITC-WP-0013 (AttributeValueType under ITC-DATA) and ITC-WP-0014
T02/T03/T05/T06/T07. Capability contract schemas, live-catalog review
CLI, landscape/kernel-map pointers. Sit on this version.
2026-08-15 19:42:30 +02:00

36 lines
888 B
YAML

$schema: https://json-schema.org/draft/2020-12/schema
$id: https://info-tech-canon.local/schemas/attribute-value-type.schema.yaml
title: InfoTechCanon Attribute Value Type Catalog
type: object
required:
- canon
- types
properties:
canon:
type: object
required: [id, version, owner]
types:
type: array
minItems: 1
items:
type: object
required: [id, status, kind, wire]
properties:
id:
type: string
pattern: "^[a-z][a-z0-9-]*$"
status:
enum: [current, reserved]
kind:
enum: [scalar, quantity, choice]
wire:
enum: [string, object, array, boolean]
representation:
type: string
requires_codelist:
type: [boolean, string]
aliases:
type: array
items:
type: string
additionalProperties: true