Ophis · JSON-LD Context

Ophis Fi Context

JSON-LD context defining the semantic vocabulary for Ophis Fi from Ophis.

5 Classes 11 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/
ophis: https://ophis.fi/schema#

Classes

IntentRequest Entity ParsedIntent IntentSuccess IntentError

Properties

Property Type Container
text string
type string
value string
raw string
start integer
end integer
intent string
entities list
ok boolean
data reference
error

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://ophis.fi/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "ophis": "https://ophis.fi/schema#",
    "IntentRequest": "ophis:IntentRequest",
    "text": {
      "@id": "ophis:text",
      "@type": "xsd:string"
    },
    "Entity": "ophis:Entity",
    "type": {
      "@id": "ophis:type",
      "@type": "xsd:string"
    },
    "value": {
      "@id": "ophis:value",
      "@type": "xsd:string"
    },
    "raw": {
      "@id": "ophis:raw",
      "@type": "xsd:string"
    },
    "start": {
      "@id": "ophis:start",
      "@type": "xsd:integer"
    },
    "end": {
      "@id": "ophis:end",
      "@type": "xsd:integer"
    },
    "ParsedIntent": "ophis:ParsedIntent",
    "intent": {
      "@id": "ophis:intent",
      "@type": "xsd:string"
    },
    "entities": {
      "@id": "ophis:entities",
      "@container": "@list"
    },
    "IntentSuccess": "ophis:IntentSuccess",
    "ok": {
      "@id": "ophis:ok",
      "@type": "xsd:boolean"
    },
    "data": {
      "@id": "ophis:data",
      "@type": "@id"
    },
    "IntentError": "ophis:IntentError",
    "error": {
      "@id": "ophis:error"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Ophis API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Ophis'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/ophis-fi-openapi.json.",
  "dcterms:created": "2026-11-20",
  "dcterms:source": [
    "openapi/ophis-fi-openapi.json"
  ]
}