ontoref-code/domains/librosys/domain.ncl
2026-07-10 01:44:59 +01:00

27 lines
1.4 KiB
Text

let s = import "../schema.ncl" in
# Knowledge Works domain — authored coherent wholes and their multi-modal expression.
# The unit is the Work (book as archetype): a coherent, authored whole.
# Dissemination — print, digital, web, interactive, RAG — is an *expression* of the
# Work across modes/formats/channels, an effect, not the Work's definition.
# Authority: librosys project. Schemas queried via schema_cmd.
# Consumers declare .librosys.ontoref/ for their implementation.
s.Domain & {
id = "librosys",
name = "Knowledge Works",
repo_kinds = ["KnowledgeBase", "ContentProject"],
description = "Authored coherent Works (book as archetype) and their expression across modes, formats and channels. The unit is the Work — a Central work with Satellites and Elements; content-type schemas (concepto, ejemplo, ejercicio, pauta, reflexion, glosario) are its internal fabric; print / digital / web / interactive / RAG are expressions of the Work, not its definition.",
short_alias = "lb",
# NCL schemas live in the librosys project — not in ontoref.
schema_cmd = "ore project root librosys",
commands = [
{ id = "content-types", description = "List declared content-type schemas" },
{ id = "index", description = "RAG index status and last rebuild" },
{ id = "chapters", description = "Chapter map from config/project.toml" },
],
pages = [],
}