# 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,
}
