feat(ITC-WP-0016): establish PracticePattern language
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a025c2-407a-7a32-b40a-f37a52f03f62
This commit is contained in:
parent
5e2435aaf9
commit
149d2ced70
27 changed files with 1119 additions and 99 deletions
54
infospace/schemas/practice-pattern.schema.yaml
Normal file
54
infospace/schemas/practice-pattern.schema.yaml
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
$schema: https://json-schema.org/draft/2020-12/schema
|
||||
$id: https://info-tech-canon.local/schemas/practice-pattern.schema.yaml
|
||||
title: InfoTechCanon PracticePattern frontmatter
|
||||
type: object
|
||||
required:
|
||||
- id
|
||||
- title
|
||||
- type
|
||||
- scheme
|
||||
- status
|
||||
- version
|
||||
- summary
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
pattern: ^practice-pattern/[a-z0-9]+(?:-[a-z0-9]+)*$
|
||||
title:
|
||||
type: string
|
||||
pattern: ^[A-Z][A-Za-z0-9]*$
|
||||
type:
|
||||
const: practice-pattern
|
||||
scheme:
|
||||
const: practice-pattern/0.1
|
||||
status:
|
||||
enum:
|
||||
- draft
|
||||
- candidate
|
||||
- active
|
||||
- deprecated
|
||||
- retired
|
||||
version:
|
||||
type: string
|
||||
pattern: ^[0-9]+\.[0-9]+(?:\.[0-9]+)?$
|
||||
summary:
|
||||
type: string
|
||||
minLength: 1
|
||||
aliases:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
uses:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
related_patterns:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
pattern: ^practice-pattern/
|
||||
known_uses:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
additionalProperties: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue