schema-sidecar
Theme
Text size
GitHub Menu

Slot in Linked Open Knowledge Format (LOKF)

genre

The Diátaxis documentation mode of the concept's markdown body (tutorial, how-to, reference, or explanation). An optional facet orthogonal to type: type says what the concept is *about*, genre says how its prose *serves the reader*.

URI: schema:genre

Applicable Classes#

NameDescriptionModifies Slot
ConceptA single unit of knowledge within a bundle, represented as one markdown docum…no
DatasetA collection of data, published or curated for access and reuseno
TableA structured, tabular dataset (eno
MetricA precisely defined, measurable quantity — the canonical definition of a busi…no
ServiceA callable service or API endpointno
PlaybookA procedure or runbook — an ordered set of steps to accomplish a task or resp…no
TutorialA learning-oriented lesson: a guided, end-to-end practical activity through w…no
ExplanationAn understanding-oriented, discursive treatment of a topic that permits refle…no
PolicyA governance, compliance, or operational policy documentno
GlossaryTermA defined term in a controlled vocabulary or glossaryno
ReferenceA concept that mirrors an external source (a page, paper, or document) as a f…no
DocumentA general knowledge document that does not fit a more specific typeno
RoleA role an agent holds within an organization over a period of time — a job, a…no
AttestedComputationA sanctioned, immutable recipe for computing a value (OKF v0no
PersonAn individual personno
OrganizationAn organization, team, or groupno

Properties#

Type and Range#

PropertyValue
RangeDiataxisMode
Domain OfConcept
Slot URIschema:genre

In Subsets#

Aliases#

  • diataxis_mode
  • documentation_mode

Examples#

Value
tutorial
how-to
reference
explanation

Comments#

  • Consumers MUST tolerate absent or unknown values.
  • Orthogonal to type, so the same subject can appear in several modes: a Dataset whose body lists its columns is genre: reference, while an Explanation about that dataset is genre: explanation. Keep one mode per concept - if a body drifts between teaching, task steps, and background, split it and link the parts with references/about.

See Also#

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfschema:genre
nativelokf:genre

LinkML Source#

YAML
name: genre
description: 'The Diátaxis documentation mode of the concept''s markdown body (tutorial,
  how-to, reference, or explanation). An optional facet orthogonal to `type`: `type`
  says what the concept is *about*, `genre` says how its prose *serves the reader*.'
comments:
- Consumers MUST tolerate absent or unknown values.
- 'Orthogonal to `type`, so the same subject can appear in several modes: a `Dataset`
  whose body lists its columns is `genre: reference`, while an `Explanation` *about*
  that dataset is `genre: explanation`. Keep one mode per concept - if a body drifts
  between teaching, task steps, and background, split it and link the parts with `references`/`about`.'
examples:
- value: tutorial
  description: A Tutorial whose body walks a newcomer end-to-end through authoring
    their first concept.
- value: how-to
  description: A Playbook whose body walks through resolving a data-freshness incident.
- value: reference
  description: A Table whose body austerely describes each column.
- value: explanation
  description: An Explanation discussing why a metric is defined the way it is.
in_subset:
- lokf_semantic
from_schema: https://w3id.org/lokf/schema
see_also:
- https://diataxis.fr/
aliases:
- diataxis_mode
- documentation_mode
rank: 1000
slot_uri: schema:genre
domain_of:
- Concept
range: DiataxisMode