neon-sprawl/content/schemas/reward-grant-row.schema.json

22 lines
695 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://neon-sprawl.local/schemas/reward-grant-row.json",
"title": "RewardGrantRow",
"description": "Single fixed-grant row on a RewardTable (content/reward-tables/*_reward_tables.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 1: frozen six-item catalog)."
},
"quantity": {
"type": "integer",
"minimum": 1,
"description": "Units granted on encounter complete."
}
}
}