"""Mirrors upstream src/2014/schemas/5e-SRD-Feats.ts."""

from dnd5e_db.models.base import SRDModel
from dnd5e_db.models.common import APIReference


class FeatPrerequisite(SRDModel):
    ability_score: APIReference | None = None
    minimum_score: int


class Feat(SRDModel):
    index: str
    name: str
    prerequisites: list[FeatPrerequisite] | None = None
    desc: list[str]
    url: str
