{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://neon-sprawl.local/schemas/recipe-io-row.json",
  "title": "RecipeIoRow",
  "description": "Single input or output row on a RecipeDef (content/recipes/*_recipes.json).",
  "type": "object",
  "additionalProperties": false,
  "required": ["itemId", "quantity"],
  "properties": {
    "itemId": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]*$",
      "description": "Item def id from content/items (prototype Slice 3: frozen six-item catalog)."
    },
    "quantity": {
      "type": "integer",
      "minimum": 1,
      "description": "Units consumed (input) or granted (output) per craft execution."
    }
  }
}
