pigi.finance · JSON-LD Context

Pigi Finance Context

JSON-LD context defining the semantic vocabulary for Pigi Finance from pigi.finance.

19 Classes 104 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/
pigi: https://pigi.finance/schema#

Classes

Plan PlanRequiredError Vault PeriodStats RatePoint TBillPoint Holder HolderListMeta Concentration VaultRisk RiskFull ProtocolFormula ProtocolApplied ProtocolListItem ProtocolList ProtocolVaultItem ProtocolRubric ProtocolRating Hack

Properties

Property Type Container
error string
required reference
id integer
strategy_id integer
protocol_name string
chain_id integer
pool_name string
pool_address string
asset_address string
type string
tvl_30d_ma decimal
apr_30d_ma decimal
display_name string
holders integer
pool_creation_date string
updated_at string
tvl_flow_1d decimal
tvl_flow_7d decimal
apr_trend_1d decimal
risk_band string
risk_score decimal
active_addresses_30d integer
deposit_count integer
tvl_concentration_top10pct decimal
tvl_low decimal
tvl_high decimal
apr decimal
apy decimal
inflows decimal
period_start string
period_end string
cagr decimal
volatility decimal
sharpe decimal
sortino decimal
timestamp string
apy_30d_ma decimal
rate decimal
rank integer
address string
balance decimal
share_pct decimal
cumulative_pct decimal
total_balance decimal
total_known boolean
page
scan
block_number integer
computed_at string
decimals integer
top1_share decimal
top5_share decimal
top10_share decimal
hhi decimal
gini decimal
holders_gt_1pct integer
deposit_events integer
window_start_block integer
assessed boolean
band string
score decimal
date string
methodology_version string
bands list
floors list
range string
from string
to string
history list
events list
full
plan_required reference
raw_band string
blend
rosette
anchor
dependency_cap
overlays
computation
k1 decimal
k2 decimal
vault_aggregation string
vault_max_age_days integer
note string
node_id string
label string
applied reference
protocol
vaults
data list
count integer
formula reference
name string
tvl_usd decimal
weight decimal
critical boolean
cap_binding boolean
subtype string
points decimal
max decimal
lines list
rubric
amount_hacked decimal
category string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://pigi.finance/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "pigi": "https://pigi.finance/schema#",
    "Plan": "pigi:Plan",
    "PlanRequiredError": "pigi:PlanRequiredError",
    "error": {
      "@id": "pigi:error",
      "@type": "xsd:string"
    },
    "required": {
      "@id": "pigi:required",
      "@type": "@id"
    },
    "Vault": "pigi:Vault",
    "id": {
      "@id": "pigi:id",
      "@type": "xsd:integer"
    },
    "strategy_id": {
      "@id": "pigi:strategy_id",
      "@type": "xsd:integer"
    },
    "protocol_name": {
      "@id": "pigi:protocol_name",
      "@type": "xsd:string"
    },
    "chain_id": {
      "@id": "pigi:chain_id",
      "@type": "xsd:integer"
    },
    "pool_name": {
      "@id": "pigi:pool_name",
      "@type": "xsd:string"
    },
    "pool_address": {
      "@id": "pigi:pool_address",
      "@type": "xsd:string"
    },
    "asset_address": {
      "@id": "pigi:asset_address",
      "@type": "xsd:string"
    },
    "type": {
      "@id": "pigi:type",
      "@type": "xsd:string"
    },
    "tvl_30d_ma": {
      "@id": "pigi:tvl_30d_ma",
      "@type": "xsd:decimal"
    },
    "apr_30d_ma": {
      "@id": "pigi:apr_30d_ma",
      "@type": "xsd:decimal"
    },
    "display_name": {
      "@id": "pigi:display_name",
      "@type": "xsd:string"
    },
    "holders": {
      "@id": "pigi:holders",
      "@type": "xsd:integer"
    },
    "pool_creation_date": {
      "@id": "pigi:pool_creation_date",
      "@type": "xsd:string"
    },
    "updated_at": {
      "@id": "pigi:updated_at",
      "@type": "xsd:string"
    },
    "tvl_flow_1d": {
      "@id": "pigi:tvl_flow_1d",
      "@type": "xsd:decimal"
    },
    "tvl_flow_7d": {
      "@id": "pigi:tvl_flow_7d",
      "@type": "xsd:decimal"
    },
    "apr_trend_1d": {
      "@id": "pigi:apr_trend_1d",
      "@type": "xsd:decimal"
    },
    "risk_band": {
      "@id": "pigi:risk_band",
      "@type": "xsd:string"
    },
    "risk_score": {
      "@id": "pigi:risk_score",
      "@type": "xsd:decimal"
    },
    "active_addresses_30d": {
      "@id": "pigi:active_addresses_30d",
      "@type": "xsd:integer"
    },
    "deposit_count": {
      "@id": "pigi:deposit_count",
      "@type": "xsd:integer"
    },
    "tvl_concentration_top10pct": {
      "@id": "pigi:tvl_concentration_top10pct",
      "@type": "xsd:decimal"
    },
    "PeriodStats": "pigi:PeriodStats",
    "tvl_low": {
      "@id": "pigi:tvl_low",
      "@type": "xsd:decimal"
    },
    "tvl_high": {
      "@id": "pigi:tvl_high",
      "@type": "xsd:decimal"
    },
    "apr": {
      "@id": "pigi:apr",
      "@type": "xsd:decimal"
    },
    "apy": {
      "@id": "pigi:apy",
      "@type": "xsd:decimal"
    },
    "inflows": {
      "@id": "pigi:inflows",
      "@type": "xsd:decimal"
    },
    "period_start": {
      "@id": "pigi:period_start",
      "@type": "xsd:string"
    },
    "period_end": {
      "@id": "pigi:period_end",
      "@type": "xsd:string"
    },
    "cagr": {
      "@id": "pigi:cagr",
      "@type": "xsd:decimal"
    },
    "volatility": {
      "@id": "pigi:volatility",
      "@type": "xsd:decimal"
    },
    "sharpe": {
      "@id": "pigi:sharpe",
      "@type": "xsd:decimal"
    },
    "sortino": {
      "@id": "pigi:sortino",
      "@type": "xsd:decimal"
    },
    "RatePoint": "pigi:RatePoint",
    "timestamp": {
      "@id": "pigi:timestamp",
      "@type": "xsd:string"
    },
    "apy_30d_ma": {
      "@id": "pigi:apy_30d_ma",
      "@type": "xsd:decimal"
    },
    "TBillPoint": "pigi:TBillPoint",
    "rate": {
      "@id": "pigi:rate",
      "@type": "xsd:decimal"
    },
    "Holder": "pigi:Holder",
    "rank": {
      "@id": "pigi:rank",
      "@type": "xsd:integer"
    },
    "address": {
      "@id": "pigi:address",
      "@type": "xsd:string"
    },
    "balance": {
      "@id": "pigi:balance",
      "@type": "xsd:decimal"
    },
    "share_pct": {
      "@id": "pigi:share_pct",
      "@type": "xsd:decimal"
    },
    "cumulative_pct": {
      "@id": "pigi:cumulative_pct",
      "@type": "xsd:decimal"
    },
    "HolderListMeta": "pigi:HolderListMeta",
    "total_balance": {
      "@id": "pigi:total_balance",
      "@type": "xsd:decimal"
    },
    "total_known": {
      "@id": "pigi:total_known",
      "@type": "xsd:boolean"
    },
    "page": {
      "@id": "pigi:page"
    },
    "scan": {
      "@id": "pigi:scan"
    },
    "Concentration": "pigi:Concentration",
    "block_number": {
      "@id": "pigi:block_number",
      "@type": "xsd:integer"
    },
    "computed_at": {
      "@id": "pigi:computed_at",
      "@type": "xsd:string"
    },
    "decimals": {
      "@id": "pigi:decimals",
      "@type": "xsd:integer"
    },
    "top1_share": {
      "@id": "pigi:top1_share",
      "@type": "xsd:decimal"
    },
    "top5_share": {
      "@id": "pigi:top5_share",
      "@type": "xsd:decimal"
    },
    "top10_share": {
      "@id": "pigi:top10_share",
      "@type": "xsd:decimal"
    },
    "hhi": {
      "@id": "pigi:hhi",
      "@type": "xsd:decimal"
    },
    "gini": {
      "@id": "pigi:gini",
      "@type": "xsd:decimal"
    },
    "holders_gt_1pct": {
      "@id": "pigi:holders_gt_1pct",
      "@type": "xsd:integer"
    },
    "deposit_events": {
      "@id": "pigi:deposit_events",
      "@type": "xsd:integer"
    },
    "window_start_block": {
      "@id": "pigi:window_start_block",
      "@type": "xsd:integer"
    },
    "VaultRisk": "pigi:VaultRisk",
    "assessed": {
      "@id": "pigi:assessed",
      "@type": "xsd:boolean"
    },
    "band": {
      "@id": "pigi:band",
      "@type": "xsd:string"
    },
    "score": {
      "@id": "pigi:score",
      "@type": "xsd:decimal"
    },
    "date": {
      "@id": "pigi:date",
      "@type": "xsd:string"
    },
    "methodology_version": {
      "@id": "pigi:methodology_version",
      "@type": "xsd:string"
    },
    "bands": {
      "@id": "pigi:bands",
      "@container": "@list"
    },
    "floors": {
      "@id": "pigi:floors",
      "@container": "@list"
    },
    "range": {
      "@id": "pigi:range",
      "@type": "xsd:string"
    },
    "from": {
      "@id": "pigi:from",
      "@type": "xsd:string"
    },
    "to": {
      "@id": "pigi:to",
      "@type": "xsd:string"
    },
    "history": {
      "@id": "pigi:history",
      "@container": "@list"
    },
    "events": {
      "@id": "pigi:events",
      "@container": "@list"
    },
    "full": {
      "@id": "pigi:full"
    },
    "plan_required": {
      "@id": "pigi:plan_required",
      "@type": "@id"
    },
    "RiskFull": "pigi:RiskFull",
    "raw_band": {
      "@id": "pigi:raw_band",
      "@type": "xsd:string"
    },
    "blend": {
      "@id": "pigi:blend"
    },
    "rosette": {
      "@id": "pigi:rosette"
    },
    "anchor": {
      "@id": "pigi:anchor"
    },
    "dependency_cap": {
      "@id": "pigi:dependency_cap"
    },
    "overlays": {
      "@id": "pigi:overlays"
    },
    "computation": {
      "@id": "pigi:computation"
    },
    "ProtocolFormula": "pigi:ProtocolFormula",
    "k1": {
      "@id": "pigi:k1",
      "@type": "xsd:decimal"
    },
    "k2": {
      "@id": "pigi:k2",
      "@type": "xsd:decimal"
    },
    "vault_aggregation": {
      "@id": "pigi:vault_aggregation",
      "@type": "xsd:string"
    },
    "vault_max_age_days": {
      "@id": "pigi:vault_max_age_days",
      "@type": "xsd:integer"
    },
    "note": {
      "@id": "pigi:note",
      "@type": "xsd:string"
    },
    "ProtocolApplied": "pigi:ProtocolApplied",
    "ProtocolListItem": "pigi:ProtocolListItem",
    "node_id": {
      "@id": "pigi:node_id",
      "@type": "xsd:string"
    },
    "label": {
      "@id": "pigi:label",
      "@type": "xsd:string"
    },
    "applied": {
      "@id": "pigi:applied",
      "@type": "@id"
    },
    "protocol": {
      "@id": "pigi:protocol"
    },
    "vaults": {
      "@id": "pigi:vaults"
    },
    "ProtocolList": "pigi:ProtocolList",
    "data": {
      "@id": "pigi:data",
      "@container": "@list"
    },
    "count": {
      "@id": "pigi:count",
      "@type": "xsd:integer"
    },
    "formula": {
      "@id": "pigi:formula",
      "@type": "@id"
    },
    "ProtocolVaultItem": "pigi:ProtocolVaultItem",
    "name": {
      "@id": "pigi:name",
      "@type": "xsd:string"
    },
    "tvl_usd": {
      "@id": "pigi:tvl_usd",
      "@type": "xsd:decimal"
    },
    "weight": {
      "@id": "pigi:weight",
      "@type": "xsd:decimal"
    },
    "critical": {
      "@id": "pigi:critical",
      "@type": "xsd:boolean"
    },
    "cap_binding": {
      "@id": "pigi:cap_binding",
      "@type": "xsd:boolean"
    },
    "ProtocolRubric": "pigi:ProtocolRubric",
    "subtype": {
      "@id": "pigi:subtype",
      "@type": "xsd:string"
    },
    "points": {
      "@id": "pigi:points",
      "@type": "xsd:decimal"
    },
    "max": {
      "@id": "pigi:max",
      "@type": "xsd:decimal"
    },
    "lines": {
      "@id": "pigi:lines",
      "@container": "@list"
    },
    "ProtocolRating": "pigi:ProtocolRating",
    "rubric": {
      "@id": "pigi:rubric"
    },
    "Hack": "pigi:Hack",
    "amount_hacked": {
      "@id": "pigi:amount_hacked",
      "@type": "xsd:decimal"
    },
    "category": {
      "@id": "pigi:category",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "pigi.finance API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects pigi.finance'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-21) from openapi/pigi-finance-openapi.yml.",
  "dcterms:created": "2026-11-21",
  "dcterms:source": [
    "openapi/pigi-finance-openapi.yml"
  ]
}