Perception · JSON-LD Context

Perception To Context

JSON-LD context defining the semantic vocabulary for Perception To from Perception.

3 Classes 28 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/
perception: https://perception.to/schema#

Classes

IndexHistoryPoint IndexMetricReading IndexPortfolioResponse

Properties

Property Type Container
date date
value decimal
btcPrice decimal
id string
name string
methodologyVersion string
unit string
current decimal
secondary
change decimal
confidence decimal
observedItems integer
windowStart date
windowEnd date
updatedAt dateTime
frequency string
history list
breakdown
provenance
methodology
schemaVersion integer
asset string
generatedAt dateTime
sourceMaxDate date
calculationDurationMs decimal
errors
metrics
attribution string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://perception.to/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "perception": "https://perception.to/schema#",
    "IndexHistoryPoint": "perception:IndexHistoryPoint",
    "date": {
      "@id": "perception:date",
      "@type": "xsd:date"
    },
    "value": {
      "@id": "perception:value",
      "@type": "xsd:decimal"
    },
    "btcPrice": {
      "@id": "perception:btcPrice",
      "@type": "xsd:decimal"
    },
    "IndexMetricReading": "perception:IndexMetricReading",
    "id": {
      "@id": "perception:id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "perception:name",
      "@type": "xsd:string"
    },
    "methodologyVersion": {
      "@id": "perception:methodologyVersion",
      "@type": "xsd:string"
    },
    "unit": {
      "@id": "perception:unit",
      "@type": "xsd:string"
    },
    "current": {
      "@id": "perception:current",
      "@type": "xsd:decimal"
    },
    "secondary": {
      "@id": "perception:secondary"
    },
    "change": {
      "@id": "perception:change",
      "@type": "xsd:decimal"
    },
    "confidence": {
      "@id": "perception:confidence",
      "@type": "xsd:decimal"
    },
    "observedItems": {
      "@id": "perception:observedItems",
      "@type": "xsd:integer"
    },
    "windowStart": {
      "@id": "perception:windowStart",
      "@type": "xsd:date"
    },
    "windowEnd": {
      "@id": "perception:windowEnd",
      "@type": "xsd:date"
    },
    "updatedAt": {
      "@id": "perception:updatedAt",
      "@type": "xsd:dateTime"
    },
    "frequency": {
      "@id": "perception:frequency",
      "@type": "xsd:string"
    },
    "history": {
      "@id": "perception:history",
      "@container": "@list"
    },
    "breakdown": {
      "@id": "perception:breakdown"
    },
    "provenance": {
      "@id": "perception:provenance"
    },
    "methodology": {
      "@id": "perception:methodology"
    },
    "IndexPortfolioResponse": "perception:IndexPortfolioResponse",
    "schemaVersion": {
      "@id": "perception:schemaVersion",
      "@type": "xsd:integer"
    },
    "asset": {
      "@id": "perception:asset",
      "@type": "xsd:string"
    },
    "generatedAt": {
      "@id": "perception:generatedAt",
      "@type": "xsd:dateTime"
    },
    "sourceMaxDate": {
      "@id": "perception:sourceMaxDate",
      "@type": "xsd:date"
    },
    "calculationDurationMs": {
      "@id": "perception:calculationDurationMs",
      "@type": "xsd:decimal"
    },
    "errors": {
      "@id": "perception:errors"
    },
    "metrics": {
      "@id": "perception:metrics"
    },
    "attribution": {
      "@id": "perception:attribution",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Perception API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Perception'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-20) from openapi/perception-to-openapi.json.",
  "dcterms:created": "2026-11-20",
  "dcterms:source": [
    "openapi/perception-to-openapi.json"
  ]
}