Dhamma.Gift · JSON-LD Context

Dhamma Gift Context

JSON-LD context defining the semantic vocabulary for Dhamma Gift from Dhamma.Gift.

7 Classes 36 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/
dhamma: https://dhamma.gift/schema#

Classes

SearchMetadata Segment SuttaResult WordReportEntry VariantSegment SearchResponse Error

Properties

Property Type Container
query string
scope string
langs list
lb integer
la integer
exactMatch boolean
totalFiles integer
totalMatches integer
hasVariantMatch boolean
partial boolean
tooShort boolean
segment string
root_text string
variant string
translations
html string
lb_context list
la_context list
sutta_id string
category string
dir_path string
titles
mr integer
count integer
unique_words list
segments list
word string
textCount integer
matchCount integer
links list
text string
metadata reference
data
wordReport list
variantSegments list
error string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://dhamma.gift/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "dhamma": "https://dhamma.gift/schema#",
    "SearchMetadata": "dhamma:SearchMetadata",
    "query": {
      "@id": "dhamma:query",
      "@type": "xsd:string"
    },
    "scope": {
      "@id": "dhamma:scope",
      "@type": "xsd:string"
    },
    "langs": {
      "@id": "dhamma:langs",
      "@container": "@list"
    },
    "lb": {
      "@id": "dhamma:lb",
      "@type": "xsd:integer"
    },
    "la": {
      "@id": "dhamma:la",
      "@type": "xsd:integer"
    },
    "exactMatch": {
      "@id": "dhamma:exactMatch",
      "@type": "xsd:boolean"
    },
    "totalFiles": {
      "@id": "dhamma:totalFiles",
      "@type": "xsd:integer"
    },
    "totalMatches": {
      "@id": "dhamma:totalMatches",
      "@type": "xsd:integer"
    },
    "hasVariantMatch": {
      "@id": "dhamma:hasVariantMatch",
      "@type": "xsd:boolean"
    },
    "partial": {
      "@id": "dhamma:partial",
      "@type": "xsd:boolean"
    },
    "tooShort": {
      "@id": "dhamma:tooShort",
      "@type": "xsd:boolean"
    },
    "Segment": "dhamma:Segment",
    "segment": {
      "@id": "dhamma:segment",
      "@type": "xsd:string"
    },
    "root_text": {
      "@id": "dhamma:root_text",
      "@type": "xsd:string"
    },
    "variant": {
      "@id": "dhamma:variant",
      "@type": "xsd:string"
    },
    "translations": {
      "@id": "dhamma:translations"
    },
    "html": {
      "@id": "dhamma:html",
      "@type": "xsd:string"
    },
    "lb_context": {
      "@id": "dhamma:lb_context",
      "@container": "@list"
    },
    "la_context": {
      "@id": "dhamma:la_context",
      "@container": "@list"
    },
    "SuttaResult": "dhamma:SuttaResult",
    "sutta_id": {
      "@id": "dhamma:sutta_id",
      "@type": "xsd:string"
    },
    "category": {
      "@id": "dhamma:category",
      "@type": "xsd:string"
    },
    "dir_path": {
      "@id": "dhamma:dir_path",
      "@type": "xsd:string"
    },
    "titles": {
      "@id": "dhamma:titles"
    },
    "mr": {
      "@id": "dhamma:mr",
      "@type": "xsd:integer"
    },
    "count": {
      "@id": "dhamma:count",
      "@type": "xsd:integer"
    },
    "unique_words": {
      "@id": "dhamma:unique_words",
      "@container": "@list"
    },
    "segments": {
      "@id": "dhamma:segments",
      "@container": "@list"
    },
    "WordReportEntry": "dhamma:WordReportEntry",
    "word": {
      "@id": "dhamma:word",
      "@type": "xsd:string"
    },
    "textCount": {
      "@id": "dhamma:textCount",
      "@type": "xsd:integer"
    },
    "matchCount": {
      "@id": "dhamma:matchCount",
      "@type": "xsd:integer"
    },
    "links": {
      "@id": "dhamma:links",
      "@container": "@list"
    },
    "VariantSegment": "dhamma:VariantSegment",
    "text": {
      "@id": "dhamma:text",
      "@type": "xsd:string"
    },
    "SearchResponse": "dhamma:SearchResponse",
    "metadata": {
      "@id": "dhamma:metadata",
      "@type": "@id"
    },
    "data": {
      "@id": "dhamma:data"
    },
    "wordReport": {
      "@id": "dhamma:wordReport",
      "@container": "@list"
    },
    "variantSegments": {
      "@id": "dhamma:variantSegments",
      "@container": "@list"
    },
    "Error": "dhamma:Error",
    "error": {
      "@id": "dhamma:error",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Dhamma.Gift API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Dhamma.Gift'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-05) from openapi/dhamma-gift-openapi.json.",
  "dcterms:created": "2026-11-05",
  "dcterms:source": [
    "openapi/dhamma-gift-openapi.json"
  ]
}