Secure AI · JSON-LD Context

Secureai One Context

JSON-LD context defining the semantic vocabulary for Secureai One from Secure AI.

17 Classes 64 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/
secureai: https://secureai.one/schema#

Classes

RedactRequest Redaction RestoreRequest Restoration ChatRequest ChatCompletion Usage Error Finding Rule Policy InspectRequest Inspection AuditEvent Suggestion Approval Template

Properties

Property Type Container
text string
map
allow list
profile
strict boolean
organisations boolean
spans boolean
risk boolean
object string
redacted integer
names_decided boolean
restored integer
model string
messages list
stream boolean
tools list
tool_choice
id string
created integer
choices list
usage
balance_usd decimal
spent_usd decimal
remaining_usd decimal
requests_this_month integer
requests_included integer
tier string
error
kind string
path string
decision string
direction string
version integer
fallback string
rules list
denyTools list
gatewayAllow list
webhook
approvalTtlSeconds integer
tool string
input
agent string
approvalId string
findings list
toolDenied boolean
policySource string
auditId string
expiresAt integer
ts integer
keyId string
inspected boolean
title string
because string
rule reference
denyTool string
count integer
createdAt integer
status string
decidedBy string
decidedAt integer
note string
name string
description string
caveat string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://secureai.one/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "secureai": "https://secureai.one/schema#",
    "RedactRequest": "secureai:RedactRequest",
    "text": {
      "@id": "secureai:text",
      "@type": "xsd:string"
    },
    "map": {
      "@id": "secureai:map"
    },
    "allow": {
      "@id": "secureai:allow",
      "@container": "@list"
    },
    "profile": {
      "@id": "secureai:profile"
    },
    "strict": {
      "@id": "secureai:strict",
      "@type": "xsd:boolean"
    },
    "organisations": {
      "@id": "secureai:organisations",
      "@type": "xsd:boolean"
    },
    "spans": {
      "@id": "secureai:spans",
      "@type": "xsd:boolean"
    },
    "risk": {
      "@id": "secureai:risk",
      "@type": "xsd:boolean"
    },
    "Redaction": "secureai:Redaction",
    "object": {
      "@id": "secureai:object",
      "@type": "xsd:string"
    },
    "redacted": {
      "@id": "secureai:redacted",
      "@type": "xsd:integer"
    },
    "names_decided": {
      "@id": "secureai:names_decided",
      "@type": "xsd:boolean"
    },
    "RestoreRequest": "secureai:RestoreRequest",
    "Restoration": "secureai:Restoration",
    "restored": {
      "@id": "secureai:restored",
      "@type": "xsd:integer"
    },
    "ChatRequest": "secureai:ChatRequest",
    "model": {
      "@id": "secureai:model",
      "@type": "xsd:string"
    },
    "messages": {
      "@id": "secureai:messages",
      "@container": "@list"
    },
    "stream": {
      "@id": "secureai:stream",
      "@type": "xsd:boolean"
    },
    "tools": {
      "@id": "secureai:tools",
      "@container": "@list"
    },
    "tool_choice": {
      "@id": "secureai:tool_choice"
    },
    "ChatCompletion": "secureai:ChatCompletion",
    "id": {
      "@id": "secureai:id",
      "@type": "xsd:string"
    },
    "created": {
      "@id": "secureai:created",
      "@type": "xsd:integer"
    },
    "choices": {
      "@id": "secureai:choices",
      "@container": "@list"
    },
    "usage": {
      "@id": "secureai:usage"
    },
    "Usage": "secureai:Usage",
    "balance_usd": {
      "@id": "secureai:balance_usd",
      "@type": "xsd:decimal"
    },
    "spent_usd": {
      "@id": "secureai:spent_usd",
      "@type": "xsd:decimal"
    },
    "remaining_usd": {
      "@id": "secureai:remaining_usd",
      "@type": "xsd:decimal"
    },
    "requests_this_month": {
      "@id": "secureai:requests_this_month",
      "@type": "xsd:integer"
    },
    "requests_included": {
      "@id": "secureai:requests_included",
      "@type": "xsd:integer"
    },
    "tier": {
      "@id": "secureai:tier",
      "@type": "xsd:string"
    },
    "Error": "secureai:Error",
    "error": {
      "@id": "secureai:error"
    },
    "Finding": "secureai:Finding",
    "kind": {
      "@id": "secureai:kind",
      "@type": "xsd:string"
    },
    "path": {
      "@id": "secureai:path",
      "@type": "xsd:string"
    },
    "decision": {
      "@id": "secureai:decision",
      "@type": "xsd:string"
    },
    "Rule": "secureai:Rule",
    "direction": {
      "@id": "secureai:direction",
      "@type": "xsd:string"
    },
    "Policy": "secureai:Policy",
    "version": {
      "@id": "secureai:version",
      "@type": "xsd:integer"
    },
    "fallback": {
      "@id": "secureai:fallback",
      "@type": "xsd:string"
    },
    "rules": {
      "@id": "secureai:rules",
      "@container": "@list"
    },
    "denyTools": {
      "@id": "secureai:denyTools",
      "@container": "@list"
    },
    "gatewayAllow": {
      "@id": "secureai:gatewayAllow",
      "@container": "@list"
    },
    "webhook": {
      "@id": "secureai:webhook"
    },
    "approvalTtlSeconds": {
      "@id": "secureai:approvalTtlSeconds",
      "@type": "xsd:integer"
    },
    "InspectRequest": "secureai:InspectRequest",
    "tool": {
      "@id": "secureai:tool",
      "@type": "xsd:string"
    },
    "input": {
      "@id": "secureai:input"
    },
    "agent": {
      "@id": "secureai:agent",
      "@type": "xsd:string"
    },
    "approvalId": {
      "@id": "secureai:approvalId",
      "@type": "xsd:string"
    },
    "Inspection": "secureai:Inspection",
    "findings": {
      "@id": "secureai:findings",
      "@container": "@list"
    },
    "toolDenied": {
      "@id": "secureai:toolDenied",
      "@type": "xsd:boolean"
    },
    "policySource": {
      "@id": "secureai:policySource",
      "@type": "xsd:string"
    },
    "auditId": {
      "@id": "secureai:auditId",
      "@type": "xsd:string"
    },
    "expiresAt": {
      "@id": "secureai:expiresAt",
      "@type": "xsd:integer"
    },
    "AuditEvent": "secureai:AuditEvent",
    "ts": {
      "@id": "secureai:ts",
      "@type": "xsd:integer"
    },
    "keyId": {
      "@id": "secureai:keyId",
      "@type": "xsd:string"
    },
    "inspected": {
      "@id": "secureai:inspected",
      "@type": "xsd:boolean"
    },
    "Suggestion": "secureai:Suggestion",
    "title": {
      "@id": "secureai:title",
      "@type": "xsd:string"
    },
    "because": {
      "@id": "secureai:because",
      "@type": "xsd:string"
    },
    "rule": {
      "@id": "secureai:rule",
      "@type": "@id"
    },
    "denyTool": {
      "@id": "secureai:denyTool",
      "@type": "xsd:string"
    },
    "count": {
      "@id": "secureai:count",
      "@type": "xsd:integer"
    },
    "Approval": "secureai:Approval",
    "createdAt": {
      "@id": "secureai:createdAt",
      "@type": "xsd:integer"
    },
    "status": {
      "@id": "secureai:status",
      "@type": "xsd:string"
    },
    "decidedBy": {
      "@id": "secureai:decidedBy",
      "@type": "xsd:string"
    },
    "decidedAt": {
      "@id": "secureai:decidedAt",
      "@type": "xsd:integer"
    },
    "note": {
      "@id": "secureai:note",
      "@type": "xsd:string"
    },
    "Template": "secureai:Template",
    "name": {
      "@id": "secureai:name",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "secureai:description",
      "@type": "xsd:string"
    },
    "caveat": {
      "@id": "secureai:caveat",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Secure AI API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Secure 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-24) from openapi/secureai-one-openapi.json.",
  "dcterms:created": "2026-11-24",
  "dcterms:source": [
    "openapi/secureai-one-openapi.json"
  ]
}