Add validation indexes and generated views

This commit is contained in:
2026-05-23 03:32:16 +02:00
parent dc44208c9f
commit c112bf5c74
37 changed files with 2007 additions and 8 deletions

View File

@@ -0,0 +1,27 @@
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://info-tech-canon.local/schemas/agent-brief.schema.yaml
title: InfoTechCanon Agent Brief
type: object
required:
- id
- title
- audience
- purpose
properties:
id:
type: string
title:
type: string
audience:
type: string
purpose:
type: string
commands:
type: array
items:
type: string
entrypoints:
type: array
items:
type: string
additionalProperties: true

View File

@@ -0,0 +1,28 @@
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://info-tech-canon.local/schemas/assimilation.schema.yaml
title: InfoTechCanon Assimilation Record
type: object
required:
- id
- title
- source
- disposition
properties:
id:
type: string
title:
type: string
source:
type: string
disposition:
enum:
- observe
- map
- adopt
- adapt
- reject
impacts:
type: array
items:
type: string
additionalProperties: true

View File

@@ -0,0 +1,26 @@
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://info-tech-canon.local/schemas/concept.schema.yaml
title: InfoTechCanon Concept
type: object
required:
- id
- title
- owner
properties:
id:
type: string
title:
type: string
owner:
type: string
definition:
type: string
aliases:
type: array
items:
type: string
relationships:
type: array
items:
type: object
additionalProperties: true

View File

@@ -0,0 +1,17 @@
schemas:
- id: standard
path: standard.schema.yaml
- id: concept
path: concept.schema.yaml
- id: mapping
path: mapping.schema.yaml
- id: profile
path: profile.schema.yaml
- id: assimilation
path: assimilation.schema.yaml
- id: interface-card
path: interface-card.schema.yaml
- id: agent-brief
path: agent-brief.schema.yaml
- id: workplan
path: workplan.schema.yaml

View File

@@ -0,0 +1,25 @@
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://info-tech-canon.local/schemas/interface-card.schema.yaml
title: Canon Interface Card
type: object
required:
- id
- title
- consumer
- canon_surfaces
properties:
id:
type: string
title:
type: string
consumer:
type: string
canon_surfaces:
type: array
items:
type: string
expectations:
type: array
items:
type: string
additionalProperties: true

View File

@@ -0,0 +1,23 @@
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://info-tech-canon.local/schemas/mapping.schema.yaml
title: InfoTechCanon Mapping
type: object
required:
- id
- title
- source
- target
properties:
id:
type: string
title:
type: string
source:
type: string
target:
type: string
mapping_type:
type: string
confidence:
type: string
additionalProperties: true

View File

@@ -0,0 +1,24 @@
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://info-tech-canon.local/schemas/profile.schema.yaml
title: InfoTechCanon Profile
type: object
required:
- id
- title
- scope
properties:
id:
type: string
title:
type: string
scope:
type: string
includes:
type: array
items:
type: string
constraints:
type: array
items:
type: object
additionalProperties: true

View File

@@ -0,0 +1,33 @@
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://info-tech-canon.local/schemas/standard.schema.yaml
title: InfoTechCanon Standard
type: object
required:
- id
- title
- type
- status
properties:
id:
type: string
title:
type: string
type:
enum:
- standard
- specialized-standard
- model
- kernel
status:
type: string
version:
type: string
imports:
type: array
items:
type: string
owned_concepts:
type: array
items:
type: string
additionalProperties: true

View File

@@ -0,0 +1,38 @@
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://info-tech-canon.local/schemas/workplan.schema.yaml
title: State Hub Workplan
type: object
required:
- id
- type
- title
- domain
- repo
- status
properties:
id:
type: string
type:
const: workplan
title:
type: string
domain:
type: string
repo:
type: string
status:
enum:
- proposed
- ready
- active
- blocked
- backlog
- finished
- archived
depends_on_workplans:
type: array
items:
type: string
state_hub_workstream_id:
type: string
additionalProperties: true