Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Build
Start
Reference code
Tools
API reference
Public services
Agents
Bindings and crosswalks

Crosswalks

Source crosswalks/README.md

On this page
  1. Layout
  2. Row format
  3. Rules the validator enforces (python3 tools/validate.py --only crosswalks)
  4. Proposed

A crosswalk maps the fields of the protocol’s schemas to the terms of one external standard, as data, so the mapping can be checked against the schemas and cannot drift from them. A crosswalk cites each term by its identifier (an IRI where the standard has one) and the clause that defines it; it never copies the standard’s definitions. A partial match is recorded as partial, never as equivalent.

Layout

Path What it holds
crosswalks/<id>.yaml one crosswalk, checked against crosswalk.schema.json; <id> is lower case with hyphens (sosa-ssn, sensorthings, sensorml, stac, dcat, prov-o, ucum)
crosswalks/examples/<id>/ the round-trip example: the source fixture and the mapped document in the standard’s serialisation

Row format

schema (a name in scope), pointer (a JSON pointer into an instance of that schema; - stands for any array item), term, edition (when it differs from the file’s), clause, match (exact, close, broader, narrower, none), direction (to, from, both), note (required when match is none: the reason), checked (opened when the source was read, not checked otherwise).

Rules the validator enforces (python3 tools/validate.py --only crosswalks)

  • The file is valid against the schema; id equals the file name; the standard is a published edition.
  • Every schema in scope exists; every row’s pointer resolves in its schema.
  • Every required top-level property of each schema in scope has at least one row (a match: none row with its reason counts).
  • term and clause are present unless match is none.
  • Requirement ids, for the statements the specification makes about the standard, have the form XW-<STD>-NN, are unique, and are covered by a conformance case that exists or by a gap.
  • crosswalks/examples/<id>/ exists and holds at least one file. The round-trip method (which fields must survive a mapping to the standard and back) is fixed by the first crosswalk and then enforced here for all.
  • One row of registers/relations.yaml lists the file in its artefacts, and the file’s relation names that row.

Proposed

Added by draft proposals; not part of the protocol unless the editors accept them.

ProposalPatchStatus
OIP-0006crosswalksPROPOSED
OIP-0013crosswalksPROPOSED
OIP-0026crosswalksPROPOSED
OIP-0029crosswalksPROPOSED
OIP-0030crosswalkPROPOSED