{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cryptodecentral-co-za/json-schema/cryptodecentral-co-za-dex-pulse-feed-schema.json",
  "title": "DexPulseFeed",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cryptodecentral-co-za-openapi.json#/components/schemas/DexPulseFeed",
  "type": "object",
  "required": [
    "schema_version",
    "asOf",
    "source",
    "disclaimer",
    "market",
    "topTvl",
    "topVolume24h",
    "topVolume7d"
  ],
  "properties": {
    "schema_version": {
      "type": "string"
    },
    "asOf": {
      "type": "string",
      "format": "date-time"
    },
    "source": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "urls": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    },
    "disclaimer": {
      "type": "string"
    },
    "market": {
      "description": "Null when the overview total could not be read. volume7dUsd is present only when DefiLlama sends total7d.",
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "object",
          "required": [
            "volume24hUsd"
          ],
          "properties": {
            "volume24hUsd": {
              "type": "number"
            },
            "volume7dUsd": {
              "type": "number"
            }
          }
        }
      ]
    },
    "topTvl": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "rank",
          "name",
          "slug",
          "tvlUsd",
          "change1dPct",
          "chains"
        ],
        "properties": {
          "rank": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "tvlUsd": {
            "type": "number"
          },
          "change1dPct": {
            "type": [
              "number",
              "null"
            ]
          },
          "chains": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "topVolume24h": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "rank",
          "name",
          "volume24hUsd",
          "volume7dUsd",
          "change1dPct"
        ],
        "properties": {
          "rank": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "volume24hUsd": {
            "type": "number"
          },
          "volume7dUsd": {
            "type": [
              "number",
              "null"
            ]
          },
          "change1dPct": {
            "type": [
              "number",
              "null"
            ]
          }
        }
      }
    },
    "topVolume7d": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "rank",
          "name",
          "volume7dUsd",
          "volume24hUsd"
        ],
        "properties": {
          "rank": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "volume7dUsd": {
            "type": "number"
          },
          "volume24hUsd": {
            "type": [
              "number",
              "null"
            ]
          }
        }
      }
    },
    "unavailable": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Present only when a section failed. Keys name the section; values are the error. Do not invent numbers."
    }
  }
}