GRIP · JSON-LD Context

Grip Fyi Context

JSON-LD context defining the semantic vocabulary for Grip Fyi from GRIP.

5 Classes 9 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/
grip: https://grip.fyi/schema#

Classes

CompareRequest RankedItem CompareResponse EmbedRequest EmbedResponse

Properties

Property Type Container
query string
candidates list
top_k integer
text string
score decimal
top list
all list
texts list
vectors list

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://grip.fyi/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "grip": "https://grip.fyi/schema#",
    "CompareRequest": "grip:CompareRequest",
    "query": {
      "@id": "grip:query",
      "@type": "xsd:string"
    },
    "candidates": {
      "@id": "grip:candidates",
      "@container": "@list"
    },
    "top_k": {
      "@id": "grip:top_k",
      "@type": "xsd:integer"
    },
    "RankedItem": "grip:RankedItem",
    "text": {
      "@id": "grip:text",
      "@type": "xsd:string"
    },
    "score": {
      "@id": "grip:score",
      "@type": "xsd:decimal"
    },
    "CompareResponse": "grip:CompareResponse",
    "top": {
      "@id": "grip:top",
      "@container": "@list"
    },
    "all": {
      "@id": "grip:all",
      "@container": "@list"
    },
    "EmbedRequest": "grip:EmbedRequest",
    "texts": {
      "@id": "grip:texts",
      "@container": "@list"
    },
    "EmbedResponse": "grip:EmbedResponse",
    "vectors": {
      "@id": "grip:vectors",
      "@container": "@list"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "GRIP API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects GRIP'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-10) from openapi/api-grip-fyi-openapi.json, openapi/grip-fyi-openapi.json.",
  "dcterms:created": "2026-11-10",
  "dcterms:source": [
    "openapi/api-grip-fyi-openapi.json",
    "openapi/grip-fyi-openapi.json"
  ]
}