pinax-network / supported-networks

The Graph supported networks
MIT License
1 stars 0 forks source link

Studio support field #27

Open YaroShkvorets opened 3 hours ago

YaroShkvorets commented 3 hours ago

Right now we have

"studioSupport": ["subgraph-rpc", "subgraph-firehose", "subgraph-substreams"],

We could use more flexible way to handle it so if new studio providers are added we don't have to break the schema.

YaroShkvorets commented 2 hours ago
"studioSupport": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string",
            "enum": ["e&n", "pinax", "graphops", "streamingfast", "messari", "semiotic"]
          },
          "services": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": ["subgraph", "sps", "substreams", "firehose", "token", "dataset"]
            }
          }
        }
      },
      "description": "Providers studio support for the chain"
    },