Tollbridge · JSON-LD Context

Tollbridge App Context

JSON-LD context defining the semantic vocabulary for Tollbridge App from Tollbridge.

3 Classes 32 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
tollbridge: https://tollbridge.app/schema#

Classes

Refusal Choice DecisionRecord

Properties

Property Type Container
code string
message string
choice_id string
distribution
decision_id string
timestamp string
asset string
chain string
question_id string
version string
event string
horizon string
horizon_end string
conditions
probability decimal
confidence decimal
decision string
action string
input_hash string
state_hash string
feature_version string
question_version string
jev_version string
policy_version string
payment_id string
outcome_id string
choice
freshness list
refusal
reconstructed boolean
note string
calibration

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://tollbridge.app/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "tollbridge": "https://tollbridge.app/schema#",
    "Refusal": "tollbridge:Refusal",
    "code": {
      "@id": "tollbridge:code",
      "@type": "xsd:string"
    },
    "message": {
      "@id": "tollbridge:message",
      "@type": "xsd:string"
    },
    "Choice": "tollbridge:Choice",
    "choice_id": {
      "@id": "tollbridge:choice_id",
      "@type": "xsd:string"
    },
    "distribution": {
      "@id": "tollbridge:distribution"
    },
    "DecisionRecord": "tollbridge:DecisionRecord",
    "decision_id": {
      "@id": "tollbridge:decision_id",
      "@type": "xsd:string"
    },
    "timestamp": {
      "@id": "tollbridge:timestamp",
      "@type": "xsd:string"
    },
    "asset": {
      "@id": "tollbridge:asset",
      "@type": "xsd:string"
    },
    "chain": {
      "@id": "tollbridge:chain",
      "@type": "xsd:string"
    },
    "question_id": {
      "@id": "tollbridge:question_id",
      "@type": "xsd:string"
    },
    "version": {
      "@id": "tollbridge:version",
      "@type": "xsd:string"
    },
    "event": {
      "@id": "tollbridge:event",
      "@type": "xsd:string"
    },
    "horizon": {
      "@id": "tollbridge:horizon",
      "@type": "xsd:string"
    },
    "horizon_end": {
      "@id": "tollbridge:horizon_end",
      "@type": "xsd:string"
    },
    "conditions": {
      "@id": "tollbridge:conditions"
    },
    "probability": {
      "@id": "tollbridge:probability",
      "@type": "xsd:decimal"
    },
    "confidence": {
      "@id": "tollbridge:confidence",
      "@type": "xsd:decimal"
    },
    "decision": {
      "@id": "tollbridge:decision",
      "@type": "xsd:string"
    },
    "action": {
      "@id": "tollbridge:action",
      "@type": "xsd:string"
    },
    "input_hash": {
      "@id": "tollbridge:input_hash",
      "@type": "xsd:string"
    },
    "state_hash": {
      "@id": "tollbridge:state_hash",
      "@type": "xsd:string"
    },
    "feature_version": {
      "@id": "tollbridge:feature_version",
      "@type": "xsd:string"
    },
    "question_version": {
      "@id": "tollbridge:question_version",
      "@type": "xsd:string"
    },
    "jev_version": {
      "@id": "tollbridge:jev_version",
      "@type": "xsd:string"
    },
    "policy_version": {
      "@id": "tollbridge:policy_version",
      "@type": "xsd:string"
    },
    "payment_id": {
      "@id": "tollbridge:payment_id",
      "@type": "xsd:string"
    },
    "outcome_id": {
      "@id": "tollbridge:outcome_id",
      "@type": "xsd:string"
    },
    "choice": {
      "@id": "tollbridge:choice"
    },
    "freshness": {
      "@id": "tollbridge:freshness",
      "@container": "@list"
    },
    "refusal": {
      "@id": "tollbridge:refusal"
    },
    "reconstructed": {
      "@id": "tollbridge:reconstructed",
      "@type": "xsd:boolean"
    },
    "note": {
      "@id": "tollbridge:note",
      "@type": "xsd:string"
    },
    "calibration": {
      "@id": "tollbridge:calibration"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Tollbridge API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Tollbridge's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-26) from openapi/tollbridge-app-openapi.json.",
  "dcterms:created": "2026-11-26",
  "dcterms:source": [
    "openapi/tollbridge-app-openapi.json"
  ]
}