ontoref/reflection/schemas/session.ncl
Jesús Pérez 0396e4037b
Some checks failed
Nickel Type Check / Nickel Type Checking (push) Has been cancelled
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
chore: add ontology and reflection
2026-03-13 00:21:04 +00:00

24 lines
663 B
Plaintext

# Session schema — re-exports from coder.ncl (canonical source).
# FileMeta is the only session-specific type: lightweight companion NCL
# for markdown files that only need relates_to/tags/supersedes.
#
# For full entry types (Entry, Record), use coder.ncl directly.
let c = import "coder.ncl" in
let file_meta_type = {
relates_to | Array String | default = [],
tags | Array String | default = [],
supersedes | String | default = "",
} in
{
ActorKind = c.ActorKind,
Kind = c.Kind,
Category = c.Category,
ContentRole = c.ContentRole,
Author = c.Author,
Context = c.Context,
FileMeta = file_meta_type,
}