Tru-Stock AI · JSON-LD Context

Tru Stock Ai Context

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

25 Classes 50 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/
tru: https://tru-stock.ai/schema#

Classes

GetApiAiRecommendationsResponse GetApiAiReorderResponse GetApiAlertsResponse PatchApiAlertsRequest GetApiExportResponse GetApiItemsResponse PatchApiItemsRequest PutApiItemsRequest GetApiItemsIdResponse GetApiPartsCompanionsResponse PostApiPartsUploadRequest PostApiPartsUploadResponse GetApiSalesHistoryResponse PatchApiSalesHistoryRequest PatchApiSalesHistoryResponse GetApiTopMoversResponse GetApiV1HealthResponse GetApiV1InventoryResponse DeleteApiV1KeysResponse GetApiV1KeysResponse PostApiV1KeysRequest PostApiV1KeysResponse GetApiV1ProductsResponse GetApiV1ReorderResponse GetApiVendorsResponse

Properties

Property Type Container
suggestions list
metadata
alerts list
unreadCount integer
ids list
action string
items list
total integer
page integer
pages integer
status string
id string
sku string
name string
category string
unitCost decimal
recommendation string
product
inventory
vendor
leadTime
demand
reorder
monthlySales list
forecast
product-uuid-1
kits list
companionOf list
file string
ok boolean
imported integer
matched integer
unmatched integer
sales list
totalQty integer
excludedQty integer
excluded boolean
movers list
service string
version string
timestamp string
latency_ms decimal
checks
active_orgs_24h decimal
commit string
data list
key string
created_at string
note string
error string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://tru-stock.ai/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "tru": "https://tru-stock.ai/schema#",
    "GetApiAiRecommendationsResponse": "tru:GetApiAiRecommendationsResponse",
    "suggestions": {
      "@id": "tru:suggestions",
      "@container": "@list"
    },
    "metadata": {
      "@id": "tru:metadata"
    },
    "GetApiAiReorderResponse": "tru:GetApiAiReorderResponse",
    "GetApiAlertsResponse": "tru:GetApiAlertsResponse",
    "alerts": {
      "@id": "tru:alerts",
      "@container": "@list"
    },
    "unreadCount": {
      "@id": "tru:unreadCount",
      "@type": "xsd:integer"
    },
    "PatchApiAlertsRequest": "tru:PatchApiAlertsRequest",
    "ids": {
      "@id": "tru:ids",
      "@container": "@list"
    },
    "action": {
      "@id": "tru:action",
      "@type": "xsd:string"
    },
    "GetApiExportResponse": "tru:GetApiExportResponse",
    "GetApiItemsResponse": "tru:GetApiItemsResponse",
    "items": {
      "@id": "tru:items",
      "@container": "@list"
    },
    "total": {
      "@id": "tru:total",
      "@type": "xsd:integer"
    },
    "page": {
      "@id": "tru:page",
      "@type": "xsd:integer"
    },
    "pages": {
      "@id": "tru:pages",
      "@type": "xsd:integer"
    },
    "PatchApiItemsRequest": "tru:PatchApiItemsRequest",
    "status": {
      "@id": "tru:status",
      "@type": "xsd:string"
    },
    "PutApiItemsRequest": "tru:PutApiItemsRequest",
    "id": {
      "@id": "tru:id",
      "@type": "xsd:string"
    },
    "sku": {
      "@id": "tru:sku",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "tru:name",
      "@type": "xsd:string"
    },
    "category": {
      "@id": "tru:category",
      "@type": "xsd:string"
    },
    "unitCost": {
      "@id": "tru:unitCost",
      "@type": "xsd:decimal"
    },
    "GetApiItemsIdResponse": "tru:GetApiItemsIdResponse",
    "recommendation": {
      "@id": "tru:recommendation",
      "@type": "xsd:string"
    },
    "product": {
      "@id": "tru:product"
    },
    "inventory": {
      "@id": "tru:inventory"
    },
    "vendor": {
      "@id": "tru:vendor"
    },
    "leadTime": {
      "@id": "tru:leadTime"
    },
    "demand": {
      "@id": "tru:demand"
    },
    "reorder": {
      "@id": "tru:reorder"
    },
    "monthlySales": {
      "@id": "tru:monthlySales",
      "@container": "@list"
    },
    "forecast": {
      "@id": "tru:forecast"
    },
    "GetApiPartsCompanionsResponse": "tru:GetApiPartsCompanionsResponse",
    "product-uuid-1": {
      "@id": "tru:product-uuid-1"
    },
    "kits": {
      "@id": "tru:kits",
      "@container": "@list"
    },
    "companionOf": {
      "@id": "tru:companionOf",
      "@container": "@list"
    },
    "PostApiPartsUploadRequest": "tru:PostApiPartsUploadRequest",
    "file": {
      "@id": "tru:file",
      "@type": "xsd:string"
    },
    "PostApiPartsUploadResponse": "tru:PostApiPartsUploadResponse",
    "ok": {
      "@id": "tru:ok",
      "@type": "xsd:boolean"
    },
    "imported": {
      "@id": "tru:imported",
      "@type": "xsd:integer"
    },
    "matched": {
      "@id": "tru:matched",
      "@type": "xsd:integer"
    },
    "unmatched": {
      "@id": "tru:unmatched",
      "@type": "xsd:integer"
    },
    "GetApiSalesHistoryResponse": "tru:GetApiSalesHistoryResponse",
    "sales": {
      "@id": "tru:sales",
      "@container": "@list"
    },
    "totalQty": {
      "@id": "tru:totalQty",
      "@type": "xsd:integer"
    },
    "excludedQty": {
      "@id": "tru:excludedQty",
      "@type": "xsd:integer"
    },
    "PatchApiSalesHistoryRequest": "tru:PatchApiSalesHistoryRequest",
    "excluded": {
      "@id": "tru:excluded",
      "@type": "xsd:boolean"
    },
    "PatchApiSalesHistoryResponse": "tru:PatchApiSalesHistoryResponse",
    "GetApiTopMoversResponse": "tru:GetApiTopMoversResponse",
    "movers": {
      "@id": "tru:movers",
      "@container": "@list"
    },
    "GetApiV1HealthResponse": "tru:GetApiV1HealthResponse",
    "service": {
      "@id": "tru:service",
      "@type": "xsd:string"
    },
    "version": {
      "@id": "tru:version",
      "@type": "xsd:string"
    },
    "timestamp": {
      "@id": "tru:timestamp",
      "@type": "xsd:string"
    },
    "latency_ms": {
      "@id": "tru:latency_ms",
      "@type": "xsd:decimal"
    },
    "checks": {
      "@id": "tru:checks"
    },
    "active_orgs_24h": {
      "@id": "tru:active_orgs_24h",
      "@type": "xsd:decimal"
    },
    "commit": {
      "@id": "tru:commit",
      "@type": "xsd:string"
    },
    "GetApiV1InventoryResponse": "tru:GetApiV1InventoryResponse",
    "data": {
      "@id": "tru:data",
      "@container": "@list"
    },
    "DeleteApiV1KeysResponse": "tru:DeleteApiV1KeysResponse",
    "GetApiV1KeysResponse": "tru:GetApiV1KeysResponse",
    "PostApiV1KeysRequest": "tru:PostApiV1KeysRequest",
    "PostApiV1KeysResponse": "tru:PostApiV1KeysResponse",
    "key": {
      "@id": "tru:key",
      "@type": "xsd:string"
    },
    "created_at": {
      "@id": "tru:created_at",
      "@type": "xsd:string"
    },
    "note": {
      "@id": "tru:note",
      "@type": "xsd:string"
    },
    "GetApiV1ProductsResponse": "tru:GetApiV1ProductsResponse",
    "error": {
      "@id": "tru:error",
      "@type": "xsd:string"
    },
    "GetApiV1ReorderResponse": "tru:GetApiV1ReorderResponse",
    "GetApiVendorsResponse": "tru:GetApiVendorsResponse"
  },
  "@type": "schema:Dataset",
  "schema:name": "Tru-Stock AI API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Tru-Stock 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-27) from openapi/_ae-authored/tru-stock-ai-openapi-generated.yml.",
  "dcterms:created": "2026-11-27",
  "dcterms:source": [
    "openapi/_ae-authored/tru-stock-ai-openapi-generated.yml"
  ]
}