Source code for bo4e.com.geokoordinaten

"""
Contains Geokoordinaten class
"""

from decimal import Decimal
from typing import Annotated, Literal, Optional

from pydantic import Field

from ..enum.comtyp import ComTyp
from ..utils import postprocess_docstring
from .com import COM

# pylint: disable=too-few-public-methods


[docs] @postprocess_docstring class Geokoordinaten(COM): """ This component provides the geo-coordinates for a location. .. raw:: html <object data="../_static/images/bo4e/com/Geokoordinaten.svg" type="image/svg+xml"></object> .. HINT:: `Geokoordinaten JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/BO4E/BO4E-Schemas/{__gh_version__}/src/bo4e_schemas/com/Geokoordinaten.json>`_ """ typ: Annotated[Literal[ComTyp.GEOKOORDINATEN], Field(alias="_typ")] = ComTyp.GEOKOORDINATEN breitengrad: Optional[Decimal] = None laengengrad: Optional[Decimal] = None