Files
info-tech-canon/infospace/schemas/alignment-review.schema.yaml

218 lines
4.3 KiB
YAML

$schema: https://json-schema.org/draft/2020-12/schema
$id: https://info-tech-canon.local/schemas/alignment-review.schema.yaml
title: InfoTechCanon Consumer Alignment Review
type: object
required:
- id
- title
- repository
- reviewer
- review_mode
- repository_context
- selected_canon_surfaces
- mapping_findings
- scorecard
- recommended_workplans
- canon_feedback
properties:
id:
type: string
title:
type: string
repository:
type: object
required:
- slug
- path_or_url
properties:
slug:
type: string
path_or_url:
type: string
branch:
type: string
commit:
type: string
additionalProperties: true
reviewer:
type: object
required:
- name
- reviewed_at
properties:
name:
type: string
reviewed_at:
type: string
method:
type: string
additionalProperties: true
review_mode:
enum:
- quick-scan
- full-alignment-review
- focused-domain-review
repository_context:
type: object
required:
- producer_intent
- current_scope
- consumer_purposes
- evidence_inventory
properties:
producer_intent:
type: array
items:
type: string
current_scope:
type: array
items:
type: string
consumer_purposes:
type: array
items:
type: string
evidence_inventory:
type: array
items:
type: object
required:
- source
- role
properties:
source:
type: string
role:
type: string
notes:
type: string
additionalProperties: true
additionalProperties: true
selected_canon_surfaces:
type: array
items:
type: object
required:
- id
- reason_selected
properties:
id:
type: string
reason_selected:
type: string
required_evidence:
type: array
items:
type: string
additionalProperties: true
mapping_findings:
type: array
items:
type: object
required:
- id
- source_concept
- canon_target
- fit
- evidence
properties:
id:
type: string
source_concept:
type: string
canon_target:
type: string
fit:
enum:
- direct
- partial
- conflict
- gap
- unknown
evidence:
type: array
items:
type: string
notes:
type: string
additionalProperties: true
scorecard:
type: array
items:
type: object
required:
- dimension
- rating
- rationale
properties:
dimension:
type: string
rating:
type: integer
minimum: 0
maximum: 4
rationale:
type: string
evidence:
type: array
items:
type: string
additionalProperties: true
recommended_workplans:
type: array
items:
type: object
required:
- id
- title
- target_repo
- priority
- rationale
properties:
id:
type: string
title:
type: string
target_repo:
type: string
priority:
enum:
- low
- medium
- high
- critical
rationale:
type: string
tasks:
type: array
items:
type: string
additionalProperties: true
canon_feedback:
type: array
items:
type: object
required:
- id
- feedback_type
- summary
properties:
id:
type: string
feedback_type:
enum:
- no-change
- open-question
- proposed-profile
- proposed-pattern
- proposed-schema
- proposed-model-change
- proposed-standard-change
- benchmark-pressure
summary:
type: string
proposed_owner:
type: string
additionalProperties: true
additionalProperties: true