github.com/kaisawind/go-swagger@v0.19.0/fixtures/bugs/1796/models/query.json (about)

     1  {
     2      "Query": {
     3         "description":
     4           "Represents a search query using a boolean expression tree",
     5         "type": "object",
     6         "properties": {
     7           "queryRoot": {
     8             "$ref": "#/QueryNode"
     9           },
    10           "limit": {
    11             "type": "integer",
    12             "format": "int64"
    13           },
    14           "offset": {
    15             "type": "integer",
    16             "format": "int64"
    17           }
    18         }
    19       },
    20       "QueryNode": {
    21        "description":
    22          "Node in a boolean expression tree that represents a query",
    23        "type": "object",
    24        "properties": {
    25          "and": {
    26            "type": "array",
    27            "items": {
    28              "$ref": "#/QueryNode"
    29            }
    30          },
    31          "or": {
    32            "type": "array",
    33            "items": {
    34              "$ref": "#/QueryNode"
    35            }
    36          },
    37          "not": {
    38            "type": "array",
    39            "items": {
    40              "$ref": "#/QueryNode"
    41            }
    42          },
    43          "wildcards": {
    44            "description":
    45              "Array of key/value pairs representing wildcard term matches",
    46            "type": "array",
    47            "items": {
    48              "$ref": "./pair.json#/Pair"
    49            }
    50          },
    51          "exact": {
    52            "description":
    53              "Array of key/value pairs representing exact term matches",
    54            "type": "array",
    55            "items": {
    56              "$ref": "./pair.json#/Pair"
    57            }
    58          }
    59        }
    60      }
    61   }