# Drawstep engine · Keyword abilities & simple keywords · `protection` > Protection — e.g. “Protection from (nothing)”. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/keywords#protection ## Where it goes One entry of `keywordAbilities[]`: `{ "keyword": "protection", … }`. Plain keywords with no parameter are strings in `keywords[]`. Printed words that point here (search aliases): protection from protection from the card type of your choice your choice of artifacts creatures enchantments instants or sorceries chosen card type. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `from` | `{ filter?: object; colors?: string[]; types?: string[]; subtypes?: string[]; everything?: boolean; allColors?: boolean; ownColors?: boolean; colorsAmong?: object; player?: any; fixedPlayers?: string[] …` | yes | What a protection ability protects from | ## Minimal form ```json {"keyword":"protection","from":{}} ``` The engine reads that minimal form as: “Protection from (nothing)”. ## Stock examples - **Red Protection Witness** — “” ```json {"keyword":"protection","from":{"colors":["R"]}} ``` - **Human Refuge** — “” ```json {"keyword":"protection","from":{"filter":{"types":["Creature"],"notSubtypes":["Human"]}}} ``` - **Bird Refuge** — “” ```json {"keyword":"protection","from":{"subtypes":["Bird","Rat"]}} ``` ## Related - [Keyword abilities & simple keywords](https://drawstep.xyz/wiki/mtg/keywords.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive