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.
36 lines
888 B
YAML
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
|