# !! This file is automatically generated by: generate_enums.py
#     date: 2025-06-12T16:50:37.851391+00:00

from statscan.enums.schema import Schema
from statscan.enums.geocode.geocode import GeoCode


class ProvinceTerritory(GeoCode):
    """
    Automatically generated Enum for ProvinceTerritory
    Name: PRENAME_PRANOM
    Value: PRUID_PRIDU
    """
    ALBERTA = 48  # Alberta
    BRITISH_COLUMBIA = 59  # British Columbia
    MANITOBA = 46  # Manitoba
    NEWFOUNDLAND_AND_LABRADOR = 10  # Newfoundland and Labrador
    NEW_BRUNSWICK = 13  # New Brunswick
    NORTHWEST_TERRITORIES = 61  # Northwest Territories
    NOVA_SCOTIA = 12  # Nova Scotia
    NUNAVUT = 62  # Nunavut
    ONTARIO = 35  # Ontario
    PRINCE_EDWARD_ISLAND = 11  # Prince Edward Island
    QUEBEC = 24  # Quebec
    SASKATCHEWAN = 47  # Saskatchewan
    YUKON = 60  # Yukon

    @classmethod
    def get_schema(cls) -> Schema:
        """
        Return the Schema for this geo code type.
        """
        return Schema.PR

    @classmethod
    def get_nchars(cls) -> int:
        """
        Return the number of characters in the code for this enum.
        """
        return 2
