← Documentation home

Canonical Markdown source · Jul 6, 2026

Linked Art API: Shared TimeSpans

linked-art/api/shared-timespans.md · 54 lines · SHA-256 ea33d788e29b

Last refreshed: 2026-07-06

Source: TimeSpans shared structure, part of Linked Art API 1.0, published under CC BY 4.0. This is a project summary; the upstream page is authoritative.

Purpose

TimeSpans describe the temporal extent of periods, events, activities, and more specific activity classes. They are designed for fuzzy starting and ending points while still supporting search and computation.

A TimeSpan is not just a display date. It can include textual labels, fuzzy boundary dates, notes, classifications, and duration.

Required Shape

A timespan structure includes:

  • `type`: required. Must be `TimeSpan`.
  • `id`: optional URI identifying the timespan.
  • `_complete`: optional completeness signal. If an `id` URI has richer dereferenceable information, `_complete: false` must be present.

Important minimum-content rule: a TimeSpan must have at least one of `identified_by`, `begin_of_the_begin`, or `end_of_the_end`. Without one of those, there is no useful information for a consumer and a dereferenceable `id` would be indistinguishable from a reference.

  • `_label`: developer-facing label.
  • `classified_as`: classifications following the `Type` structure.
  • `identified_by`: textual representation of the structured time span, following the `Name` pattern.
  • `begin_of_the_begin`: earliest possible date-time at which the timespan could have started.
  • `end_of_the_end`: latest possible date-time at which the timespan could have ended.

Optional Fields

  • `end_of_the_begin`: latest possible date-time at which the timespan could have started.
  • `begin_of_the_end`: earliest possible date-time at which the timespan could have ended.
  • `referred_to_by`: references to textual works about the timespan, or embedded statements about it.
  • `duration`: `Dimension` structure describing the length of time within the boundary range.

Common Incoming Relationships

  • `timespan`: used by activities, events, periods, and temporal endpoint records.

Meta Museum Notes

Meta Museum already preserves timespans on activities, events, provenance parts, dataset projections, and ActivityStreams evidence rows. Existing checks around real Update evidence also depend on UTC `endTime` freshness outside Linked Art, but Linked Art `TimeSpan` remains the semantic place for fuzzy historical or lifecycle dates. Future fixture work should broaden coverage for all four TimeSpan boundaries and duration dimensions.

Test Ideas

  • Preserve `begin_of_the_begin`, `end_of_the_begin`, `begin_of_the_end`, and `end_of_the_end` when supplied.
  • Preserve `identified_by` display labels without replacing structured boundary dates.
  • Preserve `referred_to_by` notes about temporal evidence.
  • Preserve `duration` as a `Dimension` with value and `MeasurementUnit`.
  • Verify a TimeSpan has at least one of `identified_by`, `begin_of_the_begin`, or `end_of_the_end`.
  • Add a dereferenceable timespan `id` with richer detail available and verify `_complete: false`.