schema-sidecar
Theme
Text size
GitHub Menu

Linked Open Knowledge Format (LOKF)

Slots

  • abbreviation
    A short form or acronym for a term.
  • about
    The subject matter this concept is about.
  • access_url
    A URL that gives access to a distribution.
  • additionalType
    The producer's own type string when it names no LOKF class.
  • algorithm
    The algorithm that computed a checksum.
  • at
    ISO 8601 datetime at which the event completed.
  • attester
    The deterministic, non-LLM verdict check over a receipt.
  • audience
    The readers this concept is written for, such as readers aged 13 to 18, as an inlined Audience. Absent means the bundle's own readers.
  • audienceType
    The kind of reader, in words, such as students or dyslexic readers.
  • author
    The agent(s) responsible for authoring the concept.
  • base_iri
    The base IRI against which Concept IDs are resolved to produce each concept's stable id. An identifier namespace, not a hyperlink. Absolute http(s), ending in / or # so ids mint by plain concatenation and prefix routing respects segment boundaries (…/team/ never captures …/team-archive/).
  • body
    The markdown body of the concept document (everything after the frontmatter). Mapped to schema:text; carried as a field only in the JSON-LD / JSON serialization, not duplicated in the frontmatter.
  • by
    The actor that performed the event, as a plain OKF §7 actor string (<producer>/<version>, human:<id>, process:<id>) — a literal, never an IRI. Trust tiers derive from the human: prefix via string inspection (SPARQL STRSTARTS). Required on a generation, revision, verification or refutation event, optional on an exclusion.
  • byte_size
    The size of the distribution in bytes.
  • checksum
    A digest of the distribution's bytes, for checking a download.
  • checksum_value
    The checksum as lowercase hexadecimal digits, as many as the algorithm's digest has: 32 (md5), 40 (sha1), 56 (sha224), 64 (the 256-bit digests), 96 (the 384-bit ones) or 128 (the 512-bit ones).
  • citations deprecated
    External sources supporting claims in the body.
  • computation
    Optional path to a file holding the computation; absent means the body's # Computation fenced block IS the computation. Minted in lokf: schema:contentUrl is the nearest real property but is scoped to MediaObject bytes.
  • concepts
    The concepts contained in a bundle.
  • constraints
    Free-text or expression describing constraints on a field.
  • context
    The URL of the JSON-LD @context to attach to this bundle's concepts to interpret their frontmatter as Linked Data.
  • created
    ISO 8601 datetime the concept was created.
  • datatype
    The data type of a field.
  • definedBy
    A resource that formally defines this concept.
  • definition
    The formal definition of a term.
  • dependsOn
    A concept this concept depends on.
  • derivedFrom
    An entity this concept was derived from (provenance).
  • description
    A single-sentence summary of the concept.
  • distribution
    Accessible forms of the dataset.
  • documentation
    A link to the service's documentation.
  • educationalLevel
    The level of education the concept is written for, in words or as the IRI of a level in a published framework, such as a level of ISCED 2011.
  • email
    Contact email address.
  • endDate
    The date the role ended; omit for a role still held.
  • endpoint
    The base URL or invocation endpoint of a service.
  • excerpt
    A verbatim copy of the passage in resource that the concept relies on, taken as retrieved. Lets a claim be re-checked against its source without re-reading the whole of it.
  • exclusions
    The materials this concept's author considered and left out on purpose, each with its reason. A sibling of sources: a material listed here was not derived from, and a material used by one concept may be left out by another.
  • executor
    How the computation is run and what evidence a run must return.
  • fields
    The columns / properties that make up a dataset's schema.
  • formula
    The calculation or definition expression for a metric.
  • from
    Start (inclusive) of a usage window, an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z.
  • generated
    How and when the current content was produced: by (REQUIRED actor) and at (ISO 8601 datetime). Supersedes the v0.1 timestamp field; consumers MAY fall back to timestamp when generated is absent.
  • 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*.
  • hasPart
    A concept that is a part of this concept.
  • holder
    The agent (typically a Person) who holds the role.
  • http_method
    The HTTP method used to invoke the service, if applicable.
  • id
    The concept's stable IRI. By convention it is the bundle base IRI joined with the Concept ID (the file path within the bundle, minus the .md suffix). Becomes the JSON-LD @id / RDF subject.
  • is_key
    Whether the field is (part of) the primary key.
  • isPartOf
    The target concept that this concept is a part of.
  • isReplacedBy
    A concept that supersedes this one, without asserting equivalence.
  • last_modified
    When the SOURCE itself last changed, an ISO 8601 datetime (a bare YYYY-MM-DD is read as that day at 00:00:00Z). A recency signal about the source, distinct from generated.at, which records when this concept's content was produced. Same predicate as the deprecated timestamp, on a different subject node (source vs concept).
  • license
    The license under which the concept or bundle is offered.
  • lokf_version
    The LOKF version the bundle targets (e.g. "0.2").
  • measures
    What the metric measures (a concept IRI or description).
  • media_type
    The media (MIME) type of a distribution.
  • memberOf
    The organization within which the role is held.
  • name
    A name.
  • okf_version
    The OKF version the bundle remains compatible with (e.g. "0.2").
  • parameters
    The typed, named holes the agent may fill — the ONLY surface the agent may bind. Binding semantics follow runtime.
  • predicate
    The relationship type. SHOULD be drawn from the RelationType vocabulary.
  • publisher
    The agent responsible for making the bundle available.
  • reason
    The grounds for a decision, in a sentence a reviewer can check: why a material was left out, or what a refutation found wrong.
  • receipt
    The field names a run must return (e.g. job_id, executed_sql, result) — the evidence the attester inspects. Receipts themselves are runtime artifacts, never stored in the bundle. Minted in lokf: no established vocabulary describes a receipt-shape declaration.
  • references
    A concept or resource this concept refers to.
  • refuted
    Refutation events: an actor found the content wrong against its sources or resource, with the reason. The negative counterpart of verified, accumulated the same way. A refutation is active while it is not older than the last meaningful change (generated.at or revised.at); it never changes the trust tier, which OKF derives from verified alone, and a consumer surfaces it beside the tier.
  • relatedTo
    A generic association to another concept.
  • relation_label
    An optional human-readable label for the relationship.
  • relations
    Typed relationships whose predicate is not covered by a named relation slot. Each entry is a reified Relation (predicate + target).
  • required
    Whether a value for the parameter must be supplied.
  • resource
    A URI that uniquely identifies the underlying real-world asset the concept describes (a table console URL, an API base URL, etc.). Absent for purely abstract concepts.
  • revised
    The latest in-place edit of the content, as {by, at}, kept apart from generated, which then stays the production event and is never rewritten. A single mapping; a later edit overwrites it. The last meaningful change a consumer reads is the later of revised.at and generated.at, so a bundle that restamps generated.at on each edit instead, as 0.8.0 bundles do, reads as before.
  • revision
    The state of the resource this event refers to: a commit id, an ETag or version label, or a content digest of the resource as retrieved (<algorithm>:<hex>). Absent means unrecorded, never unchanged.
  • roleName
    The name/title of the role held (e.g. a job title).
  • runtime
    REQUIRED on an Attested Computation. How to run the computation (bigquery | postgres | dbt | python | Looker | ...); defines what parameters mean and how the executor and attester interpret the contract.
  • sameAs
    An IRI asserting this concept is the same entity as another.
  • source
    A resource from which this concept is derived or sourced.
  • sources
    The materials this concept derives from, each carrying objective credibility signals. Markdown footnotes join to entries via sources[].id. Supersedes citations and the body # Citations convention.
  • stale_after
    The absolute instant on or after which the concept is stale (OKF §5.5: stale when now >= stale_after), an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z.
  • startDate
    The date the role began (ISO 8601 date or year).
  • status
    Lifecycle status of the concept: draft | stable | deprecated. Absent means stable. Advisory, never access control.
  • suggestedMaxAge
    The oldest age, in years, the concept is written for.
  • suggestedMinAge
    The youngest age, in years, the concept is written for.
  • tags
    Short cross-cutting keywords for categorization.
  • target
    The IRI (or Concept ID) of the relationship's object.
  • timestamp deprecated
    ISO 8601 datetime of the last meaningful change.
  • title
    Human-readable display name.
  • to
    End (inclusive) of a usage window, an ISO 8601 datetime. A bare YYYY-MM-DD is read as that day at 00:00:00Z.
  • type
    The concept's type - OKF's single required field. SHOULD name a LOKF class (e.g. Metric, Dataset, Table, Playbook, GlossaryTerm).
  • typicalAgeRange
    The typical age range of the concept's readers, as schema.org writes it: 8-12, or 13- for 13 and over.
  • unit
    The unit of measurement (e.g. USD, seconds, count).
  • url
    A URL.
  • usage_count
    How often the source's resource was exercised (views, executions, reads) over the governing usage_window. An adoption/liveness signal read as order-of-magnitude and trend, not a score.
  • usage_window
    The { from, to } date range framing every usage_count. Attached both to Concept (the shared window, sibling of sources) and to Source (a per-entry override).
  • verified
    Verification events confirming the content against its sources or resource. Independent of generated: who wrote a concept need not be who confirmed it. Trust tiers derive from the actors: absent = unverified; only non-human actors = machine-confirmed; any human:<id> actor = human-reviewed.
  • version
    A version string for the concept's content.