Files
chemenu/types/entity.schema.yaml
T
torbenandClaude Opus 5.5 4ec22d376d
CI / verify (push) Successful in 5m26s
CI / pwsh (push) Successful in 2m8s
Release / release (push) Successful in 34s
feat: people live on their organization's page until promoted; organization subtype, member-of, broken_anchors lint (#172)
Files changed:
- CHANGES.md
- README.md
- VERSION
- instructions/kb-profiles.md
- instructions/link-taxonomy.md
- instructions/page-lifecycle.md
- instructions/wiki-ingest/SKILL.md
- instructions/wiki-lint/SKILL.md
- kb/entities/COLLECTION.md
- kb/entities/INDEX.md
- kb/entities/organizations/E3DC GmbH.md
- kb/entities/people/E3DC GmbH.md
- kb/index.md
- kb/log.md
- tools/CONTRACT.md
- tools/chemenu/commands/lint.py
- tools/chemenu/kb_scan.py
- tools/chemenu/lint_core.py
- tools/chemenu/tests/test_lint.py
- tools/chemenu/tests/test_new_page.py
- tools/chemenu/tests/test_type_resolver.py
- tools/chemenu/tests/test_types_cmd.py
- types/entity.md
- types/entity.organization.md
- types/entity.person.md
- types/entity.schema.yaml

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SnAJ7Z3CpVD3PRbN73QtU2
2026-10-04 10:51:46 +02:00

66 lines
1.8 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: [codebase, system, tool, technology, person, organization]
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
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