{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/main/json-schema/wso2-graph-qlquery-complexity-info-schema.json",
  "title": "GraphQL Query Complexity Info",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wso2-graphql-policies-api-openapi.yml#/components/schemas/GraphQLQueryComplexityInfo",
  "type": "object",
  "properties": {
    "list": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GraphQLCustomComplexityInfo"
      }
    }
  },
  "$defs": {
    "GraphQLCustomComplexityInfo": {
      "title": "GraphQL Custom Complexity Info",
      "required": [
        "complexityValue",
        "field",
        "type"
      ],
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "The type found within the schema of the API\n"
        },
        "field": {
          "type": "string",
          "description": "The field which is found under the type within the schema of the API\n"
        },
        "complexityValue": {
          "type": "integer",
          "description": "The complexity value allocated for the associated field under the specified type\n"
        }
      }
    }
  }
}