neon-sprawl/content/schemas/resource-yield-row.schema.json

27 lines
901 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://neon-sprawl.local/schemas/resource-yield-row.json",
"title": "ResourceYieldRow",
"description": "Fixed yield row for a resource node (content/resource-nodes/*_resource_yields.json). One row per nodeDefId in prototype Slice 2.",
"type": "object",
"additionalProperties": false,
"required": ["nodeDefId", "itemId", "quantity"],
"properties": {
"nodeDefId": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"description": "Resource node this yield applies to."
},
"itemId": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]*$",
"description": "Item def id from content/items (prototype Slice 2: scrap_metal_bulk only)."
},
"quantity": {
"type": "integer",
"minimum": 1,
"description": "Items granted per successful gather."
}
}
}