WSO2 · JSON Structure

Publisher Api Graph Ql Custom Complexity Info Structure

GraphQLCustomComplexityInfo schema from WSO2 API Manager

Type: object Properties: 3 Required: 3
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

GraphQL Custom Complexity Info is a JSON Structure definition published by WSO2, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

type field complexityValue

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-structure/publisher-api-graph-ql-custom-complexity-info-structure.json",
  "name": "GraphQL Custom Complexity Info",
  "description": "GraphQLCustomComplexityInfo schema from WSO2 API Manager",
  "required": [
    "complexityValue",
    "field",
    "type"
  ],
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type found within the schema of the API\n",
      "example": "Country"
    },
    "field": {
      "type": "string",
      "description": "The field which is found under the type within the schema of the API\n",
      "example": "name"
    },
    "complexityValue": {
      "type": "int32",
      "description": "The complexity value allocated for the associated field under the specified type\n",
      "example": 1
    }
  }
}