{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:folio:1:corrections",
  "title": "corrections.json",
  "description": "Matches the cook fixed by hand, reused on later imports. Only in full exports.",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "normalisedName",
      "foodId"
    ],
    "properties": {
      "normalisedName": {
        "type": "string",
        "minLength": 1
      },
      "unitKind": {
        "type": [
          "string",
          "null"
        ]
      },
      "foodId": {
        "type": "string",
        "minLength": 1
      },
      "gramsPerUnit": {
        "type": [
          "number",
          "null"
        ],
        "exclusiveMinimum": 0
      }
    }
  }
}
