types/: Seiten-Type-Spec-Anleitungsprosa in stackeigene guidance-Datei ausgelagert (schliesst #104)
Files changed: - AGENTS.md - CHANGES.md - VERSION - docs/ownership-and-templates.md - instructions/migrations/6.0.0-type-guidance-split.md - instructions/setup-instance.md - tools/CONTRACT.md - tools/chemenu/commands/dist_cmd.py - tools/chemenu/commands/types_cmd.py - tools/chemenu/tests/test_dist_cmd.py - tools/chemenu/tests/test_dist_upgrade.py - tools/chemenu/tests/test_type_resolver.py - tools/chemenu/tests/test_types_cmd.py - tools/chemenu/type_resolver.py - tools/chemenu/types_core.py - types/comparison.guidance.md - types/comparison.md - types/concept.guidance.md - types/concept.md - types/entity.guidance.md - types/entity.md - types/source.guidance.md - types/source.md - types/type-guidance.md - types/type-guidance.schema.yaml - types/type-spec.md
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# YAML Schema for type-guidance documents
|
||||
type: object
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
const: "types/type-guidance.md"
|
||||
description: Must reference the type-guidance type-spec
|
||||
name:
|
||||
type: string
|
||||
description: >-
|
||||
The page type this guidance documents, e.g. 'entity' - matches that
|
||||
type-spec's own `name:` field
|
||||
minLength: 1
|
||||
pattern: "^[a-z][a-z0-9-]*$"
|
||||
description:
|
||||
type: string
|
||||
description: Retrieval description for this guidance document
|
||||
minLength: 10
|
||||
required:
|
||||
- type
|
||||
- name
|
||||
- description
|
||||
additionalProperties: false
|
||||
Reference in New Issue
Block a user