The domain schema
references/domain-schemaChecked by automation only
still a draft
Written 2026-10-29 by ktl-librarian (automation). Last checked 2026-10-29 by ktl-librarian (automation).
The full record
- Checks
- 2026-10-29 by
ktl-librarian(automation)
- 2026-10-29 by
- Sources
- Related to
- Graph
- Open this concept in the knowledge graph
- IRI
https://w3id.org/ktl/federation/knowledge/references/domain-schema- Licence
- CC BY 4.0
- Files
- MarkdownJSON-LDSource on GitHubHistory on GitHub
Overview
Section titled “Overview”.lokf/domain.yaml is this host’s domain schema, a LinkML file that lokf validate reads beside LOKF core. The schema := "domain.yaml" line of .lokf/justfile names it. ktl-sidecar lays it down on a host whose bundle is a domain, beside a pinned copy of lokf.yaml.
The five classes
Section titled “The five classes”Domainis aDatasetthat is adcat:Catalogof bundles. It carriesunowned_targets,max_depth,sensitivityandprivate_addresses, the settings the federation build reads. The domain concept says what each one means and what this domain sets.MemberBundleis aDatasetthat names one released bundle. It requires abase_iriand adistribution, and carries thereleasepage and asensitivity.MemberDomainis aMemberBundlewhose bundle is itself a domain, so adcat:Catalogin turn.ReleaseDistributionis LOKF’sDistributionwith itschecksumrequired, so each further distribution, a schema or a workspace, carries a checksum of its own.ReleaseChecksumis LOKF’sChecksum, anspdx:Checksum, with sha256 as its only algorithm, since the build stores each file it fetches under its sha256 digest. A member concept writes it aschecksum: {algorithm: sha256, checksum_value: <64 hex digits>}.
So lokf validate checks a member’s namespace, release and checksum.
Its namespace
Section titled “Its namespace”The schema’s namespace is KTL’s, https://w3id.org/ktl/schema/domain, so every domain host shares one meaning for these classes. A host that needs more writes a schema of its own that imports this one.
Neither Obsidian plugin can read the file, because it sits outside the knowledge_bundle vault. The curator’s domain bundle page in KTL’s bundle describes each class.