Yonyon AI · JSON-LD Context

Yonyon Ai Context

JSON-LD context defining the semantic vocabulary for Yonyon Ai from Yonyon AI.

19 Classes 44 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/
yonyon: https://yonyon.ai/schema#

Classes

ChatRequest AskRequest AskResponse Project ProjectList BatchRequest BatchResult BatchResponse Error Endpoint RateLimitPolicy ApiRoot ApiVersionRoot AskDescriptor AskStreamStart AskStreamResult AskStreamComplete JobAccepted Job

Properties

Property Type Container
messages list
query string
prefer
_meta
answer string
results list
name string
desc string
url reference
count integer
total integer
nextCursor string
next_cursor string
has_more boolean
projects list
operations list
op string
status string
data
error string
code string
retry_after integer
docs reference
method string
path string
description string
requests integer
window_seconds integer
scope string
version integer
message string
auth string
auth_docs reference
protected_resource_metadata reference
rate_limit reference
endpoints list
openapi reference
api_catalog reference
api_root reference
streaming boolean
content string
job_id string
status_url reference
result

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://yonyon.ai/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "yonyon": "https://yonyon.ai/schema#",
    "ChatRequest": "yonyon:ChatRequest",
    "messages": {
      "@id": "yonyon:messages",
      "@container": "@list"
    },
    "AskRequest": "yonyon:AskRequest",
    "query": {
      "@id": "yonyon:query",
      "@type": "xsd:string"
    },
    "prefer": {
      "@id": "yonyon:prefer"
    },
    "AskResponse": "yonyon:AskResponse",
    "_meta": {
      "@id": "yonyon:_meta"
    },
    "answer": {
      "@id": "yonyon:answer",
      "@type": "xsd:string"
    },
    "results": {
      "@id": "yonyon:results",
      "@container": "@list"
    },
    "Project": "yonyon:Project",
    "name": {
      "@id": "yonyon:name",
      "@type": "xsd:string"
    },
    "desc": {
      "@id": "yonyon:desc",
      "@type": "xsd:string"
    },
    "url": {
      "@id": "yonyon:url",
      "@type": "@id"
    },
    "ProjectList": "yonyon:ProjectList",
    "count": {
      "@id": "yonyon:count",
      "@type": "xsd:integer"
    },
    "total": {
      "@id": "yonyon:total",
      "@type": "xsd:integer"
    },
    "nextCursor": {
      "@id": "yonyon:nextCursor",
      "@type": "xsd:string"
    },
    "next_cursor": {
      "@id": "yonyon:next_cursor",
      "@type": "xsd:string"
    },
    "has_more": {
      "@id": "yonyon:has_more",
      "@type": "xsd:boolean"
    },
    "projects": {
      "@id": "yonyon:projects",
      "@container": "@list"
    },
    "BatchRequest": "yonyon:BatchRequest",
    "operations": {
      "@id": "yonyon:operations",
      "@container": "@list"
    },
    "BatchResult": "yonyon:BatchResult",
    "op": {
      "@id": "yonyon:op",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "yonyon:status",
      "@type": "xsd:string"
    },
    "data": {
      "@id": "yonyon:data"
    },
    "BatchResponse": "yonyon:BatchResponse",
    "Error": "yonyon:Error",
    "error": {
      "@id": "yonyon:error",
      "@type": "xsd:string"
    },
    "code": {
      "@id": "yonyon:code",
      "@type": "xsd:string"
    },
    "retry_after": {
      "@id": "yonyon:retry_after",
      "@type": "xsd:integer"
    },
    "docs": {
      "@id": "yonyon:docs",
      "@type": "@id"
    },
    "Endpoint": "yonyon:Endpoint",
    "method": {
      "@id": "yonyon:method",
      "@type": "xsd:string"
    },
    "path": {
      "@id": "yonyon:path",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "yonyon:description",
      "@type": "xsd:string"
    },
    "RateLimitPolicy": "yonyon:RateLimitPolicy",
    "requests": {
      "@id": "yonyon:requests",
      "@type": "xsd:integer"
    },
    "window_seconds": {
      "@id": "yonyon:window_seconds",
      "@type": "xsd:integer"
    },
    "scope": {
      "@id": "yonyon:scope",
      "@type": "xsd:string"
    },
    "ApiRoot": "yonyon:ApiRoot",
    "version": {
      "@id": "yonyon:version",
      "@type": "xsd:integer"
    },
    "message": {
      "@id": "yonyon:message",
      "@type": "xsd:string"
    },
    "auth": {
      "@id": "yonyon:auth",
      "@type": "xsd:string"
    },
    "auth_docs": {
      "@id": "yonyon:auth_docs",
      "@type": "@id"
    },
    "protected_resource_metadata": {
      "@id": "yonyon:protected_resource_metadata",
      "@type": "@id"
    },
    "rate_limit": {
      "@id": "yonyon:rate_limit",
      "@type": "@id"
    },
    "endpoints": {
      "@id": "yonyon:endpoints",
      "@container": "@list"
    },
    "openapi": {
      "@id": "yonyon:openapi",
      "@type": "@id"
    },
    "api_catalog": {
      "@id": "yonyon:api_catalog",
      "@type": "@id"
    },
    "ApiVersionRoot": "yonyon:ApiVersionRoot",
    "api_root": {
      "@id": "yonyon:api_root",
      "@type": "@id"
    },
    "AskDescriptor": "yonyon:AskDescriptor",
    "streaming": {
      "@id": "yonyon:streaming",
      "@type": "xsd:boolean"
    },
    "AskStreamStart": "yonyon:AskStreamStart",
    "AskStreamResult": "yonyon:AskStreamResult",
    "content": {
      "@id": "yonyon:content",
      "@type": "xsd:string"
    },
    "AskStreamComplete": "yonyon:AskStreamComplete",
    "JobAccepted": "yonyon:JobAccepted",
    "job_id": {
      "@id": "yonyon:job_id",
      "@type": "xsd:string"
    },
    "status_url": {
      "@id": "yonyon:status_url",
      "@type": "@id"
    },
    "Job": "yonyon:Job",
    "result": {
      "@id": "yonyon:result"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Yonyon AI API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Yonyon AI'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-29) from openapi/yonyon-ai-openapi.yml, openapi/yonyon-ai.json.",
  "dcterms:created": "2026-11-29",
  "dcterms:source": [
    "openapi/yonyon-ai-openapi.yml",
    "openapi/yonyon-ai.json"
  ]
}