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: Proposals
Proposals
Drafts
Proposed registers

Proposed register: compact-keys

PROPOSED Source oips/drafts/OIP-0027/patches/registers.patch

On this page
  1. Metadata
  2. Rules
  3. Enumerations
  4. Constants
  5. Tables
  6. Cose

Proposed in OIP-0027 (status DRAFT), file registers/compact-keys.yaml of patches/registers.patch. Not part of the protocol unless the editors accept the proposal.

Generated by sdk/python/src/obsp/compact_gen.py (python3 -m obsp.compact gen-keys); check with gen-keys --check. The key table of the compact CBOR encoding (OIP-0027). The CDDL in schemas/cddl/ states the same numbers.

FieldValue
apiVersionobsp/registers/v1
kindObservatoryProtocolCompactKeys

Metadata

FieldValue
idOBSP-COMPACT-KEYS
protocolVersionobsp/0.1
specificationspec/OBSP-0.1.md
statusDRAFT
proposalOIP-0027
generatedBysdk/python/src/obsp/compact.py

Rules

  • A key is a non-negative integer, unique within its table; a number is never reused for another field.
  • A receiver rejects a key that is not in the table of the object it is reading.
  • An enumeration is sent as its index in the list below; an index outside the list is rejected.
  • Fields the CDDL rule implies (schemaVersion, apiVersion, kind, protocolVersion) are not sent.

Enumerations

FieldValue
OBSERVER_CLASSINSTRUMENT, SPACE_SEGMENT, NETWORK, MODEL, PLATFORM, PERSON
RESULT_STATEPRESENT, MISSING, NOT_OBSERVED, WITHHELD
ORIGINMEASURED, NETWORK_DERIVED, MODEL_DERIVED, SIMULATED, DECLARED
SUBJECT_CLASSNONE, OBJECTS, PERSONS
UNCERTAINTY_KINDSTANDARD, EXPANDED, INTERVAL, ENSEMBLE, CATEGORICAL
GEOMETRY_TYPEPoint, MultiPoint, LineString, Polygon
FLAGGOOD, SUSPECT, BAD, MISSING, ESTIMATED, NOT_CHECKED
FLAG_SCHEMEOBSP, QARTOD, WMO, ARGO
SOURCE_CLASSAUTHENTICATED_PNT, PTP, NTS, GNSS_ONLY, SYSTEM_CLOCK, UNKNOWN
SOURCE_KINDNTS_SERVER, PTP_GRANDMASTER, GNSS_RECEIVER, AUTHENTICATED_PNT_SERVICE, LOCAL_OSCILLATOR
PTP_PROFILEIEEE_1588_DEFAULT, ITU_T_G8275_1, ITU_T_G8275_2, IEEE_802_1AS
OFFSET_STATEBOUNDED, ESTIMATED, UNKNOWN
HOLDOVER_STATELOCKED, HOLDOVER, FREE_RUNNING, UNKNOWN
TIME_SOURCEDEVICE, GATEWAY_DECLARED

Constants

FieldValue
observationschemaVersion: 4.0.0; apiVersion: obsp/observation-record/v4.0; kind: ObservationRecord; protocolVersion: obsp/0.1
time-qualityschemaVersion: 3.1.0; apiVersion: obsp/time-quality/v3.1; kind: TimeQuality; protocolVersion: obsp/0.1
evidence-batchschemaVersion: 3.1.0; apiVersion: obsp/evidence-batch/v3.1; kind: EvidenceBatch; protocolVersion: obsp/0.1

Tables

FieldValue
record-refuni; version; digest
evidence-refuri; digest; kind; recordedAt
policy-refuri; digest
observerobserverUni; class; storeAndForward
feature-of-interestuni; version; geometry; sampledFeature
geometrycrs; type; coordinates; verticalDatum; positionUncertainty
uncertaintykind; value; coverageFactor; coverageProbability; members
timesacquiredAt; storedAt; receivedAt
quality-entryflag; testCode; testVersion; setAt; scheme; schemeCode
result-othercoverageRef; eventRef; category; vocabulary
observationctx; observedProperty; value; unit; phenomenonTime; resultTime; resultState; uncertainty; origin; subjectClass; result; observer; observationUni; deploymentRef; procedure; featureOfInterest; validTime; times; geometry; modelRef; networkFunctionUni; subjectPolicyRef; evidenceRefs; sensorPassportRef; timeQualityRef; quality; provenanceRef; extensions
reference-sourcesourceKind; uni
offset-boundstate; ns
holdoverstate; ageSeconds
integrityspoofingSuspected; jammingSuspected; authenticationFailed; stepDetected; leapSecondPending
time-qualitytimeQualityUni; nodeUni; assessedAt; sourceClass; referenceSource; ptpProfile; offsetBound; holdover; integrity; trusted; evidenceRefs; recordedAt; extensions
evidence-batchbatchUni; gatewayUni; closedAt; count; entries; batchDigest; timeQualityRef; provenanceRef; gatewaySignature; recordedAt; entryContexts; gatewayTimed

Cose

FieldValue
labelsalg: 1; kid: 4
algorithmsed25519: -19
tag18