schema-sidecar
Theme
Text size
GitHub Menu

Class in Linked Open Knowledge Format (LOKF)

UsageWindow

The { from, to } date range framing every usage_count signal (OKF v0.2 §5.1). Written once as a sibling of sources; a single Source entry MAY carry its own override.

URI: dcterms:PeriodOfTime

 classDiagram
    class UsageWindow
    click UsageWindow href "../../classes/UsageWindow/"
      UsageWindow : from
        
      UsageWindow : to
        
      

Class Properties#

PropertyValue
Class URIdcterms:PeriodOfTime

Slots#

NameCardinality and RangeDescriptionInheritance
from0..1
Datetime
Start (inclusive) of a usage window, an ISO 8601 datetimedirect
to0..1
Datetime
End (inclusive) of a usage window, an ISO 8601 datetimedirect

Usages#

used byused intypeused
Conceptusage_windowrangeUsageWindow
Datasetusage_windowrangeUsageWindow
Tableusage_windowrangeUsageWindow
Metricusage_windowrangeUsageWindow
Serviceusage_windowrangeUsageWindow
Playbookusage_windowrangeUsageWindow
Tutorialusage_windowrangeUsageWindow
Explanationusage_windowrangeUsageWindow
Policyusage_windowrangeUsageWindow
GlossaryTermusage_windowrangeUsageWindow
Referenceusage_windowrangeUsageWindow
Documentusage_windowrangeUsageWindow
Roleusage_windowrangeUsageWindow
AttestedComputationusage_windowrangeUsageWindow
Personusage_windowrangeUsageWindow
Organizationusage_windowrangeUsageWindow
Sourceusage_windowrangeUsageWindow

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfdcterms:PeriodOfTime
nativelokf:UsageWindow

LinkML Source#

Direct#

YAML
name: UsageWindow
description: The `{ from, to }` date range framing every `usage_count` signal (OKF
  v0.2 §5.1). Written once as a sibling of `sources`; a single Source entry MAY carry
  its own override.
from_schema: https://w3id.org/lokf/schema
slots:
- from
- to
class_uri: dcterms:PeriodOfTime

Induced#

YAML
name: UsageWindow
description: The `{ from, to }` date range framing every `usage_count` signal (OKF
  v0.2 §5.1). Written once as a sibling of `sources`; a single Source entry MAY carry
  its own override.
from_schema: https://w3id.org/lokf/schema
attributes:
  from:
    name: from
    description: Start (inclusive) of a usage window, an ISO 8601 datetime. A bare
      YYYY-MM-DD is read as that day at 00:00:00Z.
    comments:
    - 'dcat:startDate is defined by DCAT 2 precisely for dcterms:PeriodOfTime — exactly
      this shape. `from` is a Python reserved word: the authored YAML key and JSON-LD
      term stay `from`, but generated Python needs the induced attribute aliased.
      LinkML currently generates `from_` without mapping the authored `from` key when
      loading dataclasses (https://github.com/linkml/linkml/pull/4083). LOKF''s build
      patches its own generated module; domain vocabularies importing LOKF and generating
      their own dataclasses do not receive that patch. Keep the authored key `from`;
      after an upstream release fixes loading, update the LinkML minimum and remove
      the local workaround and expected failure in tests/test_keyword_dataclasses.py.'
    in_subset:
    - okf_v02
    from_schema: https://w3id.org/lokf/schema
    close_mappings:
    - schema:startDate
    rank: 1000
    slot_uri: dcat:startDate
    owner: UsageWindow
    domain_of:
    - UsageWindow
    range: datetime
  to:
    name: to
    description: End (inclusive) of a usage window, an ISO 8601 datetime. A bare YYYY-MM-DD
      is read as that day at 00:00:00Z.
    in_subset:
    - okf_v02
    from_schema: https://w3id.org/lokf/schema
    close_mappings:
    - schema:endDate
    rank: 1000
    slot_uri: dcat:endDate
    owner: UsageWindow
    domain_of:
    - UsageWindow
    range: datetime
class_uri: dcterms:PeriodOfTime