schema-sidecar
Theme
Text size
GitHub Menu

Linked Open Knowledge Format (LOKF)

Enumerations

  • ChecksumAlgorithm
    Digest algorithms for a Checksum, each mapped to its SPDX individual. Prefer sha256 or stronger; sha1 and md5 identify bytes but no longer resist tampering.
  • ConceptStatus
    Lifecycle status of a concept (OKF v0.2 §5.4). Absent means stable. Each value maps to a real IRI in the ADMS status controlled vocabulary (http://purl.org/adms/status/, the vocabulary DCAT-AP mandates for adms:status). On the flat-context path the value serializes as a text literal — sanctioned usage of schema:creativeWorkStatus, which is deliberately text-valued; the IRIs surface on the LinkML RDF/OWL path.
  • DiataxisMode
    The Diátaxis documentation mode of a concept's body - an orthogonal facet describing *how* the prose serves the reader, distinct from the concept's type (what it is *about*). Each value maps to a schema.org term. Optional: an absent value simply means the mode is unclassified, and consumers MUST treat an unknown value the same way rather than fail.
  • FieldType
    Datatypes for dataset/table fields, each mapped to its XSD (or RDF) type.
  • HttpMethod
    The IANA HTTP request method registry, restricted to the methods a LOKF Service is realistically documented as being invoked with. Permissible value names are uppercase (unlike this schema's other enums) because the method name is a case-sensitive wire token, not an authoring convenience label.
  • ParameterType
    Datatypes for Attested Computation parameters. The permissible values mirror FieldType's authoring surface exactly (one datatype vocabulary for authors), but the meanings deliberately diverge: ParameterType values are written under the type key, whose flat-context alias is @type, so each value means a designed lokf Parameter-kind CLASS rather than an XSD datatype — _:p rdf:type xsd:integer would falsely type a non-literal node with a datatype (a class of literals), while _:p rdf:type lokf:IntegerParameter is true and OWL-DL-safe. Each value's XSD value space is carried as an annotation and asserted in the generated ontology, where every Parameter-kind class is declared a subclass of lokf:Parameter.
  • RelationType
    The recommended controlled vocabulary of relationship predicates for reified Relations. Each value carries a meaning mapping to its RDF predicate in schema.org, Dublin Core Terms, PROV-O, RDFS, or OWL.