def METHOD_NAME(cls, d):  # local JSON
    return cls(
        d["name"],
        d["level"],
        d["school"],
        d["casttime"],
        d["range"],
        d["components"],
        d["duration"],
        d["description"],
        homebrew=False,
        classes=d["classes"],
        subclasses=d["subclasses"],
        ritual=d["ritual"],
        higherlevels=d["higherlevels"],
        concentration=d["concentration"],
        source=d["source"],
        entity_id=d["id"],
        page=d["page"],
        url=d["url"],
        is_free=d["isFree"],
    ).initialize_automation(d)