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.
This commit is contained in:
parent
7805560a60
commit
d453e17952
44 changed files with 1485 additions and 137 deletions
36
infospace/schemas/attribute-value-type.schema.yaml
Normal file
36
infospace/schemas/attribute-value-type.schema.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
$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
|
||||
Loading…
Add table
Add a link
Reference in a new issue