Files
chemenu/types/entity.schema.yaml
T
torben 177c7e9ce8
CI / verify (push) Successful in 55s
Release / release (push) Successful in 38s
feat: Prosa ist kein Identifier - Link-Taxonomie als Enum, generierte Regionen mit Markern (4.0.0)
Files changed:
- .gitea/workflows/ci.yml
- AGENTS.md
- CHANGES.md
- VERSION
- instructions/CONTRACT.md
- instructions/link-taxonomy.md
- instructions/migrations/4.0.0-link-taxonomy.md
- instructions/setup-instance.md
- kb/CONTRACT.md
- kb/CONVENTIONS.md
- kb/CONVENTIONS.md.template
- kb/comparisons/COLLECTION.md
- kb/concepts/COLLECTION.md
- kb/entities/COLLECTION.md
- kb/sources/COLLECTION.md
- tools/CONTRACT.md
- tools/README.md
- tools/chemenu/blocks.py
- tools/chemenu/cli.py
- tools/chemenu/commands/cite_cmd.py
- tools/chemenu/commands/dist_cmd.py
- tools/chemenu/commands/docs_verify.py
- tools/chemenu/commands/doctor.py
- tools/chemenu/commands/links_cmd.py
- tools/chemenu/commands/migrate_cmd.py
- tools/chemenu/commands/new_page.py
- tools/chemenu/commands/page_ops.py
- tools/chemenu/commands/run_budget.py
- tools/chemenu/commands/xref.py
- tools/chemenu/conventions.py
- tools/chemenu/corpus_diff.py
- tools/chemenu/frontmatter_io.py
- tools/chemenu/kb_collections.py
- tools/chemenu/kb_state.py
- tools/chemenu/links.py
- tools/chemenu/lint_core.py
- tools/chemenu/provenance.py
- tools/chemenu/sections.py
- tools/chemenu/tests/conftest.py
- tools/chemenu/tests/test_blocks.py
- tools/chemenu/tests/test_cite_cmd.py
- tools/chemenu/tests/test_conventions.py
- tools/chemenu/tests/test_dist_cmd.py
- tools/chemenu/tests/test_doctor.py
- tools/chemenu/tests/test_migrate_cmd.py
- tools/chemenu/tests/test_new_page.py
- tools/chemenu/tests/test_pipeline_l0.py
- tools/chemenu/tests/test_types_cmd.py
- tools/chemenu/tests/test_xref.py
- types/concept.schema.yaml
- types/entity.md
- types/entity.schema.yaml
- types/instruction.schema.yaml
- types/type-spec.md
- work/link-taxonomy-migration/README.md
- work/link-taxonomy-migration/plan.md
2026-09-02 18:39:22 +02:00

78 lines
2.3 KiB
YAML

# YAML Schema for entity type
type: object
properties:
type:
type: string
const: "types/entity.md"
description: Must reference the entity type-spec
entity_type:
type: string
enum: [project, system, tool, technology, person]
description: The specific category of entity
tags:
type: array
items:
type: string
description: Navigation tags for categorization
created:
type: string
format: date
pattern: "^\\d{4}-\\d{2}-\\d{2}$"
description: Creation date in YYYY-MM-DD format
modified:
type: string
format: date
pattern: "^\\d{4}-\\d{2}-\\d{2}$"
description: Last modification date in YYYY-MM-DD format
related:
type: array
items:
oneOf:
- type: string
- type: object
minProperties: 1
maxProperties: 1
additionalProperties:
type: string
description: >-
Declared outbound edges. Each entry is either `<label>: <page title>` - the
label drawn from instructions/link-taxonomy.md and authorised per
destination by the source collection's `outbound:` block - or a bare page
title for an edge whose label has not been declared yet. The bare form is
the pre-4.0.0 shape and is what `lint` reports until the migration reaches
the page; it is accepted rather than rejected so that a corpus stays
readable while it is being converted.
sources:
type: array
items:
type: string
description: Source page titles that support claims
confidence:
type: number
minimum: 0.0
maximum: 1.0
default: 0.5
description: Confidence score for the entity's information (derived - recomputed by `wikitool confidence decay` from confidence_base)
confidence_base:
type: number
minimum: 0.0
maximum: 1.0
default: 0.5
description: Undecayed confidence at last confirmation; the input `wikitool confidence decay` decays from. Set this, not `confidence`, when re-assessing a page.
provenance:
type: string
enum: [sourced, general, mixed]
default: general
description: Provenance classification
summary:
type: string
description: 1-line summary for index.md
minLength: 1
required:
- type
- entity_type
- created
- modified
- provenance
- summary
additionalProperties: false