---
source: apollo-router/src/configuration/tests.rs
expression: schema
snapshot_kind: text
---
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "TestSubgraphOverride",
"type": "object",
"properties": {
"value": {
"type": [
"integer",
"null"
],
"format": "uint8",
"minimum": 0,
"maximum": 255
},
"subgraph": {
"description": "Configuration options pertaining to the subgraph server component.",
"type": "object",
"properties": {
"all": {
"description": "options applying to all subgraphs",
"type": "object",
"properties": {
"a": {
"type": "boolean",
"default": true
},
"b": {
"type": "integer",
"format": "uint8",
"minimum": 0,
"maximum": 255,
"default": 0
}
},
"default": {
"a": true,
"b": 0
}
},
"subgraphs": {
"description": "per subgraph options",
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"a": {
"type": "boolean",
"default": true
},
"b": {
"type": "integer",
"format": "uint8",
"minimum": 0,
"maximum": 255,
"default": 0
}
}
},
"default": {}
}
}
}
},
"required": [
"subgraph"
]
}