{
    "PF2E": {
        "RuleElement": {
            "ItemSpellPool": "Item Spell Pool"
        },
        "RULES": {
            "ItemSpellPool": {
                "Label": "Item Spell Pool",
                "Hint": "Grants a shared charge pool of spells on the Activations tab. Pick one or more spells; casting spends charges from the pool.",
                "FIELDS": {
                    "spells": {
                        "label": "Spells",
                        "hint": "JSON array of spell UUID strings, e.g. [\"Compendium.pf2e.spells-srd.Item.Bless\"]."
                    },
                    "rank": {
                        "label": "Cast Rank",
                        "hint": "Optional fixed heightened rank applied to every spell in the pool."
                    },
                    "max": { "label": "Max Charges", "hint": "Shared daily pool size (supports formulas, e.g. 10 or @actor.level)." },
                    "cost": { "label": "Flat Cost", "hint": "Charges spent per cast when Cost Mode is flat (non-cantrips)." },
                    "costMode": { "label": "Cost Mode", "hint": "flat = same cost for every spell; rank = staff-like rank cost." },
                    "dc": { "label": "Spell DC", "hint": "Fixed DC for this pool. Omit to use the actor's best spellcasting entry." },
                    "tradition": { "label": "Tradition" },
                    "attribute": { "label": "Attribute" },
                    "statistic": {
                        "label": "Statistic Slugs",
                        "hint": "Optional comma-separated statistic slugs to use before falling back to DC or best entry."
                    },
                    "recharge": { "label": "Recharge on Rest", "hint": "Restore charges when the actor Rests for the Night." }
                }
            }
        }
    },
    "pf2e-staff-activations": {
        "defaultLabel": "Item Spell Pool",
        "mergedPoolLabel": "Merged Item Cast Pool",
        "castLabel": "Item Spell Pool",
        "charge": "charge",
        "charges": "charges",
        "generatePool": {
            "label": "Generate Pool from Description",
            "title": "Parse spell @UUID links from this item's description and append an Item Spell Pool rule",
            "success": "Added Item Spell Pool rule from description."
        },
        "settings": {
            "rechargeOnRest": {
                "name": "Recharge Pools on Rest for the Night",
                "hint": "Restore ItemSpellPool charge values when a character rests for the night."
            }
        },
        "errors": {
            "requiresToolbelt": "Requires pf2e-toolbelt.",
            "enableItemCastSetting": "Enable pf2e-toolbelt Actionable → Item Spell Casting for ItemCast helpers.",
            "notPhysical": "Item must be a physical item.",
            "noSpellsInDescription": "No spell UUIDs found in item description.",
            "mergeNeedsTwoCastRules": "Item needs at least two ItemCast rules to merge into a pool.",
            "poolAlreadyExists": "This item already has an Item Spell Pool rule."
        }
    }
}
