{
   "$id":"https://github.com/GW-HIVE/glygen-backend/blob/master/api/specs/protein/search_simple/request.schema.json",
   "type":"object",
   "properties":{
      "query":{
         "$id":"/properties/query",
         "type":"object",
         "description":"Object that contains a set of search criteria to simple search of glycans.",
         "minProperties":1,
         "maxProperties":4,
         "properties":{
            "query_type":{
               "$id":"/properties/query/properties/query_type",
               "type":"string",
               "description":"Identifies the type of search to be performed. Currently only search_glycan_simple is supported.",
               "examples":[
                  "search_glycan_simple"
               ]
            },
            "term":{
               "$id":"/properties/query/properties/term",
               "type":"string",
               "description":"Search term which can be a string or sub-string.",
               "examples":[
                  "P01"
               ]
            },
            "term_category":{
               "$id":"/properties/query/properties/term_category",
               "type":"string",
               "description":"Category or the search term that can be used to restrict the search to certain properties. The default is any which is a wildcard.",
               "examples":[
                  "any"
               ]
            },
            "version": {
               "$id": "/properties/query/properties/version",
               "type": "string",
               "description": "The version of the query.",
               "examples": [
                  "1.2"
               ]
            }
         },
         "required":[
            "term",
            "term_category",
            "version"
         ]
      }
   },
   "required":[
      "query"
   ]
}