addedOutput schema / oneOf
Added value: +[
+ {
+ "properties": {
+ "found": {
+ "description": "Present and true on an answer; a miss is the found:false branch.",
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "protocols": {
+ "items": {
+ "properties": {
+ "category": {
+ "description": "Protocol category (DEX, Lending, Bridge, etc.)",
+ "type": "string"
+ },
+ "chain": {
+ "description": "Primary blockchain",
+ "type": "string"
+ },
+ "chains": {
+ "description": "List of supported chains",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "change_1d_pct": {
+ "description": "1-day TVL change percentage",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "change_7d_pct": {
+ "description": "7-day TVL change percentage",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Protocol name",
+ "type": "string"
+ },
+ "slug": {
+ "description": "Protocol slug identifier",
+ "type": "string"
+ },
+ "symbol": {
+ "description": "Token symbol if applicable",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tvl": {
+ "description": "Total value locked in USD",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "slug",
+ "tvl",
+ "chains",
+ "category"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "showing": {
+ "description": "Number of protocols returned (max 50)",
+ "type": "integer"
+ },
+ "total_matched": {
+ "description": "Total number of protocols matching filters",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "total_matched",
+ "showing",
+ "protocols"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
+ "properties": {
+ "found": {
+ "enum": [
+ false
+ ],
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "found"
+ ],
+ "type": "object"
+ }
+]
removedOutput schema / properties
Removed value: -{
- "protocols": {
- "items": {
- "properties": {
- "category": {
- "description": "Protocol category (DEX, Lending, Bridge, etc.)",
- "type": "string"
- },
- "chain": {
- "description": "Primary blockchain",
- "type": "string"
- },
- "chains": {
- "description": "List of supported chains",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "change_1d_pct": {
- "description": "1-day TVL change percentage",
- "type": [
- "number",
- "null"
- ]
- },
- "change_7d_pct": {
- "description": "7-day TVL change percentage",
- "type": [
- "number",
- "null"
- ]
- },
- "name": {
- "description": "Protocol name",
- "type": "string"
- },
- "slug": {
- "description": "Protocol slug identifier",
- "type": "string"
- },
- "symbol": {
- "description": "Token symbol if applicable",
- "type": [
- "string",
- "null"
- ]
- },
- "tvl": {
- "description": "Total value locked in USD",
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "name",
- "slug",
- "tvl",
- "chain",
- "chains",
- "category"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "showing": {
- "description": "Number of protocols returned (max 50)",
- "type": "integer"
- },
- "total_matched": {
- "description": "Total number of protocols matching filters",
- "type": "integer"
- }
-}