{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anchorterminal/json-schema/anchorterminal-x402-list-schema.json",
  "title": "X402List",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anchorterminal-openapi.yml#/components/schemas/X402List",
  "properties": {
    "anchorAccepts": {
      "properties": {
        "asset": {
          "type": "string"
        },
        "facilitator": {
          "type": "string"
        },
        "live": {
          "type": "boolean"
        },
        "networks": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "payTo": {
          "description": "left out while live is false",
          "type": "string"
        },
        "protocol": {
          "type": "string"
        },
        "version": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    },
    "tools": {
      "items": {
        "properties": {
          "endpoints": {
            "items": {
              "$ref": "#/$defs/X402Endpoint"
            },
            "type": "array"
          },
          "grade": {
            "type": "string"
          },
          "level": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "Meta": {
      "properties": {
        "attribution": {
          "type": "string"
        },
        "attributionRequired": {
          "type": "boolean"
        },
        "credit": {
          "description": "The attribution rule: credit Anchor Terminal and link the page or API address whenever you show, quote or pass on the data",
          "type": "string"
        },
        "generatedAt": {
          "type": "string"
        },
        "license": {
          "type": "string"
        },
        "method": {
          "description": "How the scores were made: the benchmark page",
          "type": "string"
        },
        "methodology": {
          "type": "string"
        },
        "preview": {
          "type": "boolean"
        },
        "run": {
          "type": "string"
        },
        "runLabel": {
          "type": "string"
        },
        "terms": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "X402Endpoint": {
      "properties": {
        "network": {
          "description": "CAIP-2 network id, e.g. eip155:8453",
          "type": "string"
        },
        "priceUsd": {
          "type": [
            "number",
            "null"
          ]
        },
        "url": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}