OpenCaseLaw · JSON-LD Context

Opencaselaw Ch Context

JSON-LD context defining the semantic vocabulary for Opencaselaw Ch from OpenCaseLaw.

9 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/
opencaselaw: https://opencaselaw.ch/schema#

Classes

FindSupportRequest HTTPValidationError MockDecisionRequest ReflectRequest StrengthenRequest ValidationError VerifyRequest _AttestBody _VerifyClaimBody

Properties

Property Type Container
license_key string
statement string
lang string
detail list
facts string
question string
deciding_court string
preferred_language string
statute_references list
clarifications list
fedlex_urls list
limit integer
redacted_text string
client_redactor_version string
client_redactor_summary
loc list
msg string
type string
input
ctx
selected_text string
case_ref string
draft_text string
audit_grounding boolean
audit_quotes boolean
claim string
decision_id string
pinpoint string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://opencaselaw.ch/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "opencaselaw": "https://opencaselaw.ch/schema#",
    "FindSupportRequest": "opencaselaw:FindSupportRequest",
    "license_key": {
      "@id": "opencaselaw:license_key",
      "@type": "xsd:string"
    },
    "statement": {
      "@id": "opencaselaw:statement",
      "@type": "xsd:string"
    },
    "lang": {
      "@id": "opencaselaw:lang",
      "@type": "xsd:string"
    },
    "HTTPValidationError": "opencaselaw:HTTPValidationError",
    "detail": {
      "@id": "opencaselaw:detail",
      "@container": "@list"
    },
    "MockDecisionRequest": "opencaselaw:MockDecisionRequest",
    "facts": {
      "@id": "opencaselaw:facts",
      "@type": "xsd:string"
    },
    "question": {
      "@id": "opencaselaw:question",
      "@type": "xsd:string"
    },
    "deciding_court": {
      "@id": "opencaselaw:deciding_court",
      "@type": "xsd:string"
    },
    "preferred_language": {
      "@id": "opencaselaw:preferred_language",
      "@type": "xsd:string"
    },
    "statute_references": {
      "@id": "opencaselaw:statute_references",
      "@container": "@list"
    },
    "clarifications": {
      "@id": "opencaselaw:clarifications",
      "@container": "@list"
    },
    "fedlex_urls": {
      "@id": "opencaselaw:fedlex_urls",
      "@container": "@list"
    },
    "limit": {
      "@id": "opencaselaw:limit",
      "@type": "xsd:integer"
    },
    "ReflectRequest": "opencaselaw:ReflectRequest",
    "redacted_text": {
      "@id": "opencaselaw:redacted_text",
      "@type": "xsd:string"
    },
    "client_redactor_version": {
      "@id": "opencaselaw:client_redactor_version",
      "@type": "xsd:string"
    },
    "client_redactor_summary": {
      "@id": "opencaselaw:client_redactor_summary"
    },
    "StrengthenRequest": "opencaselaw:StrengthenRequest",
    "ValidationError": "opencaselaw:ValidationError",
    "loc": {
      "@id": "opencaselaw:loc",
      "@container": "@list"
    },
    "msg": {
      "@id": "opencaselaw:msg",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "opencaselaw:type",
      "@type": "xsd:string"
    },
    "input": {
      "@id": "opencaselaw:input"
    },
    "ctx": {
      "@id": "opencaselaw:ctx"
    },
    "VerifyRequest": "opencaselaw:VerifyRequest",
    "selected_text": {
      "@id": "opencaselaw:selected_text",
      "@type": "xsd:string"
    },
    "case_ref": {
      "@id": "opencaselaw:case_ref",
      "@type": "xsd:string"
    },
    "_AttestBody": "opencaselaw:_AttestBody",
    "draft_text": {
      "@id": "opencaselaw:draft_text",
      "@type": "xsd:string"
    },
    "audit_grounding": {
      "@id": "opencaselaw:audit_grounding",
      "@type": "xsd:boolean"
    },
    "audit_quotes": {
      "@id": "opencaselaw:audit_quotes",
      "@type": "xsd:boolean"
    },
    "_VerifyClaimBody": "opencaselaw:_VerifyClaimBody",
    "claim": {
      "@id": "opencaselaw:claim",
      "@type": "xsd:string"
    },
    "decision_id": {
      "@id": "opencaselaw:decision_id",
      "@type": "xsd:string"
    },
    "pinpoint": {
      "@id": "opencaselaw:pinpoint",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "OpenCaseLaw API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects OpenCaseLaw'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/opencaselaw-ch-openapi.json.",
  "dcterms:created": "2026-11-20",
  "dcterms:source": [
    "openapi/opencaselaw-ch-openapi.json"
  ]
}