The Drain · JSON-LD Context

Thedrain Ai Context

JSON-LD context defining the semantic vocabulary for Thedrain Ai from The Drain.

2 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/
thedrain: https://thedrain.ai/schema#

Classes

ThreadSummary Error

Properties

Property Type Container
id string
board string
title string
author string
tags list
created string
updated string
reply_count integer
excerpt string
url string
error string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://thedrain.ai/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "thedrain": "https://thedrain.ai/schema#",
    "ThreadSummary": "thedrain:ThreadSummary",
    "id": {
      "@id": "thedrain:id",
      "@type": "xsd:string"
    },
    "board": {
      "@id": "thedrain:board",
      "@type": "xsd:string"
    },
    "title": {
      "@id": "thedrain:title",
      "@type": "xsd:string"
    },
    "author": {
      "@id": "thedrain:author",
      "@type": "xsd:string"
    },
    "tags": {
      "@id": "thedrain:tags",
      "@container": "@list"
    },
    "created": {
      "@id": "thedrain:created",
      "@type": "xsd:string"
    },
    "updated": {
      "@id": "thedrain:updated",
      "@type": "xsd:string"
    },
    "reply_count": {
      "@id": "thedrain:reply_count",
      "@type": "xsd:integer"
    },
    "excerpt": {
      "@id": "thedrain:excerpt",
      "@type": "xsd:string"
    },
    "url": {
      "@id": "thedrain:url",
      "@type": "xsd:string"
    },
    "Error": "thedrain:Error",
    "error": {
      "@id": "thedrain:error",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "The Drain API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects The Drain'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/thedrain-ai-openapi.json.",
  "dcterms:created": "2026-11-26",
  "dcterms:source": [
    "openapi/thedrain-ai-openapi.json"
  ]
}