CPZ Lab · JSON-LD Context
Cpz Lab Com Context
JSON-LD context defining the semantic vocabulary for Cpz Lab Com from CPZ Lab.
15 Classes
55 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
cpz:
https://cpz-lab.com/schema#
Classes
Error
User
Strategy
DataFile
Backtest
Order
OrderApproval
WatchlistItem
Transaction
CashAccount
Position
Account
RiskSnapshot
Webhook
WebhookCreate
Properties
| Property | Type | Container |
|---|---|---|
| error | string | |
| message | string | |
| id | string | |
| string | ||
| created_at | dateTime | |
| title | string | |
| description | string | |
| strategy_type | string | |
| status | string | |
| code | string | |
| updated_at | dateTime | |
| name | string | |
| file_type | string | |
| size_bytes | integer | |
| strategy_id | string | |
| results | ||
| account_id | string | |
| symbol | string | |
| side | string | |
| order_type | string | |
| quantity | decimal | |
| price | decimal | |
| effective_status | string | |
| summary | ||
| broker | string | |
| environment | string | |
| expires_at | dateTime | |
| decided_at | dateTime | |
| consumed_at | dateTime | |
| completed_at | dateTime | |
| result_status | integer | |
| executed_at | dateTime | |
| gross_amount | decimal | |
| commission | decimal | |
| order_id | string | |
| client_order_id | string | |
| broker_display_name | string | |
| account_name | string | |
| tradable | boolean | |
| currency | string | |
| cash | decimal | |
| buying_power | decimal | |
| equity | decimal | |
| as_of | dateTime | |
| stale | boolean | |
| coverage | string | |
| avg_cost | decimal | |
| market_value | decimal | |
| account_number | string | |
| risk_score | decimal | |
| portfolio_var_95 | decimal | |
| sharpe_ratio | decimal | |
| url | reference | |
| events | list | |
| active | boolean |
JSON-LD Document
{
"@context": {
"@vocab": "https://cpz-lab.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"cpz": "https://cpz-lab.com/schema#",
"Error": "cpz:Error",
"error": {
"@id": "cpz:error",
"@type": "xsd:string"
},
"message": {
"@id": "cpz:message",
"@type": "xsd:string"
},
"User": "cpz:User",
"id": {
"@id": "cpz:id",
"@type": "xsd:string"
},
"email": {
"@id": "cpz:email",
"@type": "xsd:string"
},
"created_at": {
"@id": "cpz:created_at",
"@type": "xsd:dateTime"
},
"Strategy": "cpz:Strategy",
"title": {
"@id": "cpz:title",
"@type": "xsd:string"
},
"description": {
"@id": "cpz:description",
"@type": "xsd:string"
},
"strategy_type": {
"@id": "cpz:strategy_type",
"@type": "xsd:string"
},
"status": {
"@id": "cpz:status",
"@type": "xsd:string"
},
"code": {
"@id": "cpz:code",
"@type": "xsd:string"
},
"updated_at": {
"@id": "cpz:updated_at",
"@type": "xsd:dateTime"
},
"DataFile": "cpz:DataFile",
"name": {
"@id": "cpz:name",
"@type": "xsd:string"
},
"file_type": {
"@id": "cpz:file_type",
"@type": "xsd:string"
},
"size_bytes": {
"@id": "cpz:size_bytes",
"@type": "xsd:integer"
},
"Backtest": "cpz:Backtest",
"strategy_id": {
"@id": "cpz:strategy_id",
"@type": "xsd:string"
},
"results": {
"@id": "cpz:results"
},
"Order": "cpz:Order",
"account_id": {
"@id": "cpz:account_id",
"@type": "xsd:string"
},
"symbol": {
"@id": "cpz:symbol",
"@type": "xsd:string"
},
"side": {
"@id": "cpz:side",
"@type": "xsd:string"
},
"order_type": {
"@id": "cpz:order_type",
"@type": "xsd:string"
},
"quantity": {
"@id": "cpz:quantity",
"@type": "xsd:decimal"
},
"price": {
"@id": "cpz:price",
"@type": "xsd:decimal"
},
"OrderApproval": "cpz:OrderApproval",
"effective_status": {
"@id": "cpz:effective_status",
"@type": "xsd:string"
},
"summary": {
"@id": "cpz:summary"
},
"broker": {
"@id": "cpz:broker",
"@type": "xsd:string"
},
"environment": {
"@id": "cpz:environment",
"@type": "xsd:string"
},
"expires_at": {
"@id": "cpz:expires_at",
"@type": "xsd:dateTime"
},
"decided_at": {
"@id": "cpz:decided_at",
"@type": "xsd:dateTime"
},
"consumed_at": {
"@id": "cpz:consumed_at",
"@type": "xsd:dateTime"
},
"completed_at": {
"@id": "cpz:completed_at",
"@type": "xsd:dateTime"
},
"result_status": {
"@id": "cpz:result_status",
"@type": "xsd:integer"
},
"WatchlistItem": "cpz:WatchlistItem",
"Transaction": "cpz:Transaction",
"executed_at": {
"@id": "cpz:executed_at",
"@type": "xsd:dateTime"
},
"gross_amount": {
"@id": "cpz:gross_amount",
"@type": "xsd:decimal"
},
"commission": {
"@id": "cpz:commission",
"@type": "xsd:decimal"
},
"order_id": {
"@id": "cpz:order_id",
"@type": "xsd:string"
},
"client_order_id": {
"@id": "cpz:client_order_id",
"@type": "xsd:string"
},
"CashAccount": "cpz:CashAccount",
"broker_display_name": {
"@id": "cpz:broker_display_name",
"@type": "xsd:string"
},
"account_name": {
"@id": "cpz:account_name",
"@type": "xsd:string"
},
"tradable": {
"@id": "cpz:tradable",
"@type": "xsd:boolean"
},
"currency": {
"@id": "cpz:currency",
"@type": "xsd:string"
},
"cash": {
"@id": "cpz:cash",
"@type": "xsd:decimal"
},
"buying_power": {
"@id": "cpz:buying_power",
"@type": "xsd:decimal"
},
"equity": {
"@id": "cpz:equity",
"@type": "xsd:decimal"
},
"as_of": {
"@id": "cpz:as_of",
"@type": "xsd:dateTime"
},
"stale": {
"@id": "cpz:stale",
"@type": "xsd:boolean"
},
"coverage": {
"@id": "cpz:coverage",
"@type": "xsd:string"
},
"Position": "cpz:Position",
"avg_cost": {
"@id": "cpz:avg_cost",
"@type": "xsd:decimal"
},
"market_value": {
"@id": "cpz:market_value",
"@type": "xsd:decimal"
},
"Account": "cpz:Account",
"account_number": {
"@id": "cpz:account_number",
"@type": "xsd:string"
},
"RiskSnapshot": "cpz:RiskSnapshot",
"risk_score": {
"@id": "cpz:risk_score",
"@type": "xsd:decimal"
},
"portfolio_var_95": {
"@id": "cpz:portfolio_var_95",
"@type": "xsd:decimal"
},
"sharpe_ratio": {
"@id": "cpz:sharpe_ratio",
"@type": "xsd:decimal"
},
"Webhook": "cpz:Webhook",
"url": {
"@id": "cpz:url",
"@type": "@id"
},
"events": {
"@id": "cpz:events",
"@container": "@list"
},
"active": {
"@id": "cpz:active",
"@type": "xsd:boolean"
},
"WebhookCreate": "cpz:WebhookCreate"
},
"@type": "schema:Dataset",
"schema:name": "CPZ Lab API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects CPZ Lab'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-04) from openapi/cpz-lab-com-openapi.yml.",
"dcterms:created": "2026-11-04",
"dcterms:source": [
"openapi/cpz-lab-com-openapi.yml"
]
}