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#
| Name | Description | Modifies Slot |
|---|
| Concept | A single unit of knowledge within a bundle, represented as one markdown docum… | no |
| Dataset | A collection of data, published or curated for access and reuse | no |
| Table | A structured, tabular dataset (e | no |
| Metric | A precisely defined, measurable quantity — the canonical definition of a busi… | no |
| Service | A callable service or API endpoint | no |
| Playbook | A procedure or runbook — an ordered set of steps to accomplish a task or resp… | no |
| Tutorial | A learning-oriented lesson: a guided, end-to-end practical activity through w… | no |
| Explanation | An understanding-oriented, discursive treatment of a topic that permits refle… | no |
| Policy | A governance, compliance, or operational policy document | no |
| GlossaryTerm | A defined term in a controlled vocabulary or glossary | no |
| Reference | A concept that mirrors an external source (a page, paper, or document) as a f… | no |
| Document | A general knowledge document that does not fit a more specific type | no |
| Role | A role an agent holds within an organization over a period of time — a job, a… | no |
| AttestedComputation | A sanctioned, immutable recipe for computing a value (OKF v0 | no |
| Person | An individual person | no |
| Organization | An organization, team, or group | no |
Properties#
Type and Range#
In Subsets#
Aliases#
- diataxis_mode
- documentation_mode
Examples#
| Value |
|---|
| tutorial |
| how-to |
| reference |
| explanation |
- 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#
Schema Source#
Mappings#
| Mapping Type | Mapped Value |
|---|
| self | schema:genre |
| native | lokf: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