philidor-io · Schema

RoycoMarketResponse

CompanyFinanceDeFiRisk ManagementAnalytics

Properties

Name Type Description
data object
View JSON Schema on GitHub

JSON Schema

philidor-io-royco-market-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/philidor-io/json-schema/philidor-io-royco-market-response-schema.json",
  "title": "RoycoMarketResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/philidor-io-integrations-api-openapi.yml#/components/schemas/RoycoMarketResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "chainId": {
          "type": "number"
        },
        "marketId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": "string"
        },
        "listingType": {
          "type": [
            "string",
            "null"
          ]
        },
        "tvlUsd": {
          "type": [
            "number",
            "null"
          ]
        },
        "source": {
          "type": "object",
          "properties": {
            "provider": {
              "type": "string",
              "enum": [
                "royco"
              ]
            },
            "api": {
              "type": "string"
            },
            "sourceSlug": {
              "type": [
                "string",
                "null"
              ]
            },
            "majorType": {
              "type": [
                "string",
                "null"
              ]
            },
            "category": {
              "type": [
                "string",
                "null"
              ]
            },
            "subCategory": {
              "type": [
                "string",
                "null"
              ]
            },
            "blockNumber": {
              "type": [
                "number",
                "null"
              ]
            },
            "blockTimestamp": {
              "type": [
                "number",
                "null"
              ]
            },
            "lastUpdated": {
              "type": [
                "number",
                "null"
              ]
            },
            "lastRefreshedAt": {
              "type": "string"
            },
            "detailIdentifierUsed": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "provider",
            "api",
            "sourceSlug",
            "majorType",
            "category",
            "subCategory",
            "blockNumber",
            "blockTimestamp",
            "lastUpdated",
            "lastRefreshedAt",
            "detailIdentifierUsed"
          ]
        },
        "metrics": {
          "type": "object",
          "properties": {
            "drawdownRatio": {
              "type": [
                "number",
                "null"
              ]
            },
            "utilizationCurrentRatio": {
              "type": [
                "number",
                "null"
              ]
            },
            "utilizationRequiredRatio": {
              "type": [
                "number",
                "null"
              ]
            },
            "coverageCurrentRatio": {
              "type": [
                "number",
                "null"
              ]
            },
            "coverageRequiredRatio": {
              "type": [
                "number",
                "null"
              ]
            },
            "lltvCurrentRatio": {
              "type": [
                "number",
                "null"
              ]
            },
            "lltvRequiredRatio": {
              "type": [
                "number",
                "null"
              ]
            },
            "protectionEndTimestamp": {
              "type": [
                "number",
                "null"
              ]
            },
            "protectionDurationSeconds": {
              "type": [
                "number",
                "null"
              ]
            },
            "juniorRedemptionDelaySeconds": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "drawdownRatio",
            "utilizationCurrentRatio",
            "utilizationRequiredRatio",
            "coverageCurrentRatio",
            "coverageRequiredRatio",
            "lltvCurrentRatio",
            "lltvRequiredRatio",
            "protectionEndTimestamp",
            "protectionDurationSeconds",
            "juniorRedemptionDelaySeconds"
          ]
        },
        "senior": {
          "$ref": "#/$defs/RoycoTranche"
        },
        "junior": {
          "$ref": "#/$defs/RoycoTranche"
        },
        "underlying": {
          "type": "object",
          "properties": {
            "id": {
              "type": [
                "string",
                "null"
              ]
            },
            "name": {
              "type": [
                "string",
                "null"
              ]
            },
            "assetAddress": {
              "type": [
                "string",
                "null"
              ]
            },
            "assetSymbol": {
              "type": [
                "string",
                "null"
              ]
            },
            "tvlUsd": {
              "type": [
                "number",
                "null"
              ]
            },
            "sharePriceUsd": {
              "type": [
                "number",
                "null"
              ]
            },
            "apy": {
              "type": [
                "number",
                "null"
              ]
            },
            "apy24h": {
              "type": [
                "number",
                "null"
              ]
            },
            "apy7d": {
              "type": [
                "number",
                "null"
              ]
            },
            "apy30d": {
              "type": [
                "number",
                "null"
              ]
            },
            "apySinceInception": {
              "type": [
                "number",
                "null"
              ]
            },
            "preferredApy": {
              "$ref": "#/$defs/RoycoPreferredApy"
            }
          },
          "required": [
            "id",
            "name",
            "assetAddress",
            "assetSymbol",
            "tvlUsd",
            "sharePriceUsd",
            "apy",
            "apy24h",
            "apy7d",
            "apy30d",
            "apySinceInception",
            "preferredApy"
          ]
        },
        "underlyingRisk": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "available",
                "provisional",
                "insufficient_underlying_data"
              ]
            },
            "source": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "vault",
                "asset_registry",
                null
              ]
            },
            "vaultId": {
              "type": [
                "string",
                "null"
              ]
            },
            "assetId": {
              "type": [
                "number",
                "null"
              ]
            },
            "score": {
              "type": [
                "number",
                "null"
              ]
            },
            "tier": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "Prime",
                "Core",
                "Edge",
                null
              ]
            },
            "reason": {
              "type": "string"
            }
          },
          "required": [
            "status",
            "source",
            "vaultId",
            "assetId",
            "score",
            "tier",
            "reason"
          ]
        },
        "underlyingComposition": {
          "$ref": "#/$defs/RoycoUnderlyingComposition"
        },
        "riskReview": {
          "$ref": "#/$defs/RoycoRiskReview"
        }
      },
      "required": [
        "slug",
        "id",
        "chainId",
        "marketId",
        "name",
        "description",
        "status",
        "listingType",
        "tvlUsd",
        "source",
        "metrics",
        "senior",
        "junior",
        "underlying",
        "underlyingRisk",
        "underlyingComposition",
        "riskReview"
      ]
    }
  },
  "required": [
    "data"
  ],
  "$defs": {
    "RoycoPreferredApy": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "label": {
          "type": [
            "string",
            "null"
          ]
        },
        "value": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "type",
        "label",
        "value"
      ]
    },
    "RoycoRiskReview": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "version": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "asOf": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "methodology": {
          "type": "object",
          "properties": {
            "scope": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "assumptions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "excludedHeuristics": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "scoringPolicy": {
              "type": "object",
              "properties": {
                "underlying": {
                  "$ref": "#/$defs/RoycoRiskReviewScorePolicy"
                },
                "seniorTranche": {
                  "$ref": "#/$defs/RoycoRiskReviewScorePolicy"
                },
                "juniorTranche": {
                  "$ref": "#/$defs/RoycoRiskReviewScorePolicy"
                }
              },
              "required": [
                "underlying",
                "seniorTranche",
                "juniorTranche"
              ]
            }
          },
          "required": [
            "scope",
            "assumptions",
            "excludedHeuristics",
            "scoringPolicy"
          ]
        },
        "underlyingStrategy": {
          "type": "object",
          "properties": {
            "reviewStatus": {
              "type": "string"
            },
            "confidence": {
              "type": "string",
              "enum": [
                "high",
                "medium",
                "low"
              ]
            },
            "assetLevelScore": {
              "type": [
                "number",
                "null"
              ]
            },
            "assetLevelTier": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "Prime",
                "Core",
                "Edge",
                null
              ]
            },
            "rationale": {
              "type": "string"
            },
            "unreviewedDimensions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "requiredInputs": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "reviewStatus",
            "confidence",
            "assetLevelScore",
            "assetLevelTier",
            "rationale",
            "unreviewedDimensions",
            "requiredInputs"
          ]
        },
        "trancheStructure": {
          "type": "object",
          "properties": {
            "currentFirstLossBufferPct": {
              "type": [
                "number",
                "null"
              ]
            },
            "bufferSource": {
              "type": "string",
              "enum": [
                "royco_coverage_current_ratio",
                "tranche_tvl_ratio",
                "unavailable"
              ]
            },
            "requiredCoveragePct": {
              "type": [
                "number",
                "null"
              ]
            },
            "meetsRequiredCoverage": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "utilizationCurrentPct": {
              "type": [
                "number",
                "null"
              ]
            },
            "utilizationRequiredPct": {
              "type": [
                "number",
                "null"
              ]
            },
            "protectionDurationDays": {
              "type": [
                "number",
                "null"
              ]
            },
            "juniorRedemptionDelayDays": {
              "type": [
                "number",
                "null"
              ]
            },
            "senior": {
              "type": "object",
              "properties": {
                "riskEffect": {
                  "type": "string"
                },
                "confidence": {
                  "type": "string",
                  "enum": [
                    "high",
                    "medium",
                    "low"
                  ]
                },
                "currentTvlUsd": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "currentApy": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "riskPremium": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "lossStartsAfterUnderlyingLossPct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "rationale": {
                  "type": "string"
                }
              },
              "required": [
                "riskEffect",
                "confidence",
                "currentTvlUsd",
                "currentApy",
                "riskPremium",
                "lossStartsAfterUnderlyingLossPct",
                "rationale"
              ]
            },
            "junior": {
              "type": "object",
              "properties": {
                "riskEffect": {
                  "type": "string"
                },
                "confidence": {
                  "type": "string",
                  "enum": [
                    "high",
                    "medium",
                    "low"
                  ]
                },
                "currentTvlUsd": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "currentApy": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "riskPremium": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "firstLossBufferPct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "rationale": {
                  "type": "string"
                }
              },
              "required": [
                "riskEffect",
                "confidence",
                "currentTvlUsd",
                "currentApy",
                "riskPremium",
                "firstLossBufferPct",
                "rationale"
              ]
            },
            "stressScenarios": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "underlyingLossPct": {
                    "type": "number"
                  },
                  "juniorLossPct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "seniorLossPct": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "seniorPrincipalProtected": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "juniorWipedOut": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "explanation": {
                    "type": "string"
                  }
                },
                "required": [
                  "underlyingLossPct",
                  "juniorLossPct",
                  "seniorLossPct",
                  "seniorPrincipalProtected",
                  "juniorWipedOut",
                  "explanation"
                ]
              }
            }
          },
          "required": [
            "currentFirstLossBufferPct",
            "bufferSource",
            "requiredCoveragePct",
            "meetsRequiredCoverage",
            "utilizationCurrentPct",
            "utilizationRequiredPct",
            "protectionDurationDays",
            "juniorRedemptionDelayDays",
            "senior",
            "junior",
            "stressScenarios"
          ]
        },
        "evidence": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "source": {
                "type": "string",
                "enum": [
                  "royco_market_api",
                  "ember_vaults_api",
                  "ember_vaults_evm_repo",
                  "client_supplied",
                  "philidor_asset_registry",
                  "philidor_methodology"
                ]
              },
              "label": {
                "type": "string"
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "observedAt": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "confidence": {
                "type": "string",
                "enum": [
                  "high",
                  "medium",
                  "low"
                ]
              },
              "detail": {
                "type": "string"
              }
            },
            "required": [
              "source",
              "label",
              "url",
              "observedAt",
              "confidence",
              "detail"
            ]
          }
        },
        "presentationReadiness": {
          "$ref": "#/$defs/RoycoRiskReviewPresentationReadiness"
        },
        "unknowns": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "nextActions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "version",
        "status",
        "asOf",
        "summary",
        "methodology",
        "underlyingStrategy",
        "trancheStructure",
        "evidence",
        "presentationReadiness",
        "unknowns",
        "nextActions"
      ]
    },
    "RoycoRiskReviewPresentationReadiness": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "client_ready",
            "not_client_ready"
          ]
        },
        "clientPresentable": {
          "type": "boolean"
        },
        "completeInstitutionalScoreAvailable": {
          "type": "boolean"
        },
        "scorePublicationPolicy": {
          "type": "string",
          "enum": [
            "publish_reviewed_scores",
            "withhold_numeric_scores"
          ]
        },
        "allowedUse": {
          "type": "string"
        },
        "forbiddenUse": {
          "type": "string"
        },
        "criteria": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "label": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "pass",
                  "partial",
                  "fail"
                ]
              },
              "detail": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "label",
              "status",
              "detail"
            ]
          }
        },
        "blockers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "status",
        "clientPresentable",
        "completeInstitutionalScoreAvailable",
        "scorePublicationPolicy",
        "allowedUse",
        "forbiddenUse",
        "criteria",
        "blockers"
      ]
    },
    "RoycoRiskReviewScorePolicy": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "available",
            "provisional",
            "not_scored",
            "blocked"
          ]
        },
        "score": {
          "type": [
            "number",
            "null"
          ]
        },
        "tier": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "Prime",
            "Core",
            "Edge",
            null
          ]
        },
        "reason": {
          "type": "string"
        }
      },
      "required": [
        "status",
        "score",
        "tier",
        "reason"
      ]
    },
    "RoycoTranche": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "address": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "shareSymbol": {
          "type": [
            "string",
            "null"
          ]
        },
        "depositSymbol": {
          "type": [
            "string",
            "null"
          ]
        },
        "tvlUsd": {
          "type": [
            "number",
            "null"
          ]
        },
        "apy": {
          "type": [
            "number",
            "null"
          ]
        },
        "apy7d": {
          "type": [
            "number",
            "null"
          ]
        },
        "apy30d": {
          "type": [
            "number",
            "null"
          ]
        },
        "apySinceInception": {
          "type": [
            "number",
            "null"
          ]
        },
        "apyHeadline": {
          "type": [
            "number",
            "null"
          ]
        },
        "riskPremium": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "address",
        "name",
        "shareSymbol",
        "depositSymbol",
        "tvlUsd",
        "apy",
        "apy7d",
        "apy30d",
        "apySinceInception",
        "apyHeadline",
        "riskPremium"
      ]
    },
    "RoycoUnderlyingComposition": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "complete",
            "partial",
            "unavailable"
          ]
        },
        "asOf": {
          "type": [
            "string",
            "null"
          ]
        },
        "positions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "protocol": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "symbol": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "chainId": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "address": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "weightPct": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "tvlUsd": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "philidorVaultId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "philidorAssetId": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "score": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "tier": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "Prime",
                  "Core",
                  "Edge",
                  null
                ]
              },
              "source": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "vault",
                  "asset_registry",
                  "manual",
                  "unknown",
                  null
                ]
              },
              "confidence": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "high",
                  "medium",
                  "low",
                  null
                ]
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "protocol",
              "name",
              "symbol",
              "chainId",
              "address",
              "weightPct",
              "tvlUsd",
              "philidorVaultId",
              "philidorAssetId",
              "score",
              "tier",
              "source",
              "confidence",
              "reason"
            ]
          }
        },
        "compositeScore": {
          "type": [
            "number",
            "null"
          ]
        },
        "compositeTier": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "Prime",
            "Core",
            "Edge",
            null
          ]
        },
        "methodology": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "sources": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "provider": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "checkedAt": {
                "type": "string"
              },
              "automated": {
                "type": "boolean"
              },
              "exposesAllocations": {
                "type": "boolean"
              },
              "evidence": {
                "type": "string"
              }
            },
            "required": [
              "provider",
              "url",
              "checkedAt",
              "automated",
              "exposesAllocations",
              "evidence"
            ]
          }
        },
        "composite": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "methodology": {
              "type": "string",
              "enum": [
                "weighted_by_nav_v1"
              ]
            },
            "status": {
              "type": "string",
              "enum": [
                "complete",
                "partial",
                "unavailable"
              ]
            },
            "compositeScore": {
              "type": [
                "number",
                "null"
              ]
            },
            "compositeTier": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "Prime",
                "Core",
                "Edge",
                null
              ]
            },
            "rawWeightedScore": {
              "type": [
                "number",
                "null"
              ]
            },
            "scoredWeightPct": {
              "type": [
                "number",
                "null"
              ]
            },
            "unknownWeightPct": {
              "type": [
                "number",
                "null"
              ]
            },
            "totalWeight": {
              "type": "number"
            },
            "positionCount": {
              "type": "number"
            },
            "scoredPositionCount": {
              "type": "number"
            },
            "unknownPositionCount": {
              "type": "number"
            },
            "coverageGate": {
              "type": "object",
              "properties": {
                "minScoredCoveragePct": {
                  "type": "number"
                },
                "passed": {
                  "type": "boolean"
                }
              },
              "required": [
                "minScoredCoveragePct",
                "passed"
              ]
            },
            "tierCap": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "primeCoverageFloorPct": {
                  "type": "number"
                },
                "applied": {
                  "type": "boolean"
                },
                "cappedFrom": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "Prime",
                    "Core",
                    "Edge",
                    null
                  ]
                },
                "cappedTo": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "Prime",
                    "Core",
                    "Edge",
                    null
                  ]
                }
              },
              "required": [
                "primeCoverageFloorPct",
                "applied",
                "cappedFrom",
                "cappedTo"
              ]
            },
            "scoreSource": {
              "type": "string",
              "enum": [
                "composite

# --- truncated at 32 KB (39 KB total) ---
# Full source: https://artifacts.apis.io/philidor-io/json-schema/philidor-io-royco-market-response-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/philidor-io-royco-market-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.