Capabilities

The schema response should also provide any capability-specific data, based on the set of enabled capabilities.

Requirements

  • If the query.aggregates capability is enabled, then the schema response should include the capabilities.query.aggregates object, which has type AggregateCapabilitiesSchemaInfo.
    • This object should indicate the scalar type used as count aggregate result type, in order to implement aggregates.

Example

{
  ...
  "capabilities": {
    "query": {
      "aggregates": {
        "count_scalar_type": "Int"
      }
    }
  }
}