{
  "type": "object",
  "properties": {
    "barcode": {
      "description": "EAN-13 / UPC barcode digits.",
      "type": "string",
      "maxLength": 20
    },
    "query": {
      "description": "Product name, e.g. \"nutella\". Use this or barcode.",
      "type": "string",
      "maxLength": 100
    }
  },
  "additionalProperties": false
}