{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chainflip-broker-io/json-schema/chainflip-broker-io-chainflip-baas-networks-networks-response-schema.json",
  "title": "ChainflipBaas.Networks.NetworksResponse",
  "description": "The networks you can swap on: every network with at least one asset you can swap.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chainflip-broker-io-networks-api-openapi.yml#/components/schemas/ChainflipBaas.Networks.NetworksResponse",
  "type": "object",
  "properties": {
    "networks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ChainflipBaas.Networks.NetworkInfo"
      },
      "description": "All available networks.",
      "readOnly": true
    }
  },
  "additionalProperties": false,
  "$defs": {
    "ChainflipBaas.Networks.NetworkInfo": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The network id, as used in asset ids (`usdc.eth`) and the `/assets/{network}` path.",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The network's display name, as used in deposit channel ids (`15253762-Ethereum-49`).",
          "readOnly": true
        },
        "logo": {
          "type": "string",
          "description": "A url to the logo for the network.",
          "readOnly": true
        },
        "platforms": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The providers that offer at least one asset on this network."
        }
      },
      "additionalProperties": false,
      "description": "A network you can swap on."
    }
  }
}