Ë
    }D™jN™  ã                   ód  — d Z ddlmZmZmZmZ ddlmZ ddlm	Z	m
Z
 ddlmZ ddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ ddlmZ  G d„ d	e	«      Z G d
„ de«      Z  G d„ de«      Z! G d„ de«      Z" G d„ de«      Z# G d„ de«      Z$ G d„ de«      Z% G d„ de«      Z& G d„ de«      Z' G d„ de«      Z( G d„ de«      Z) G d„ de«      Z* G d „ d!e«      Z+ G d"„ d#e«      Z, G d$„ d%e«      Z- G d&„ d'e«      Z. G d(„ d)e«      Z/ G d*„ d+e«      Z0 G d,„ d-e«      Z1 G d.„ d/e«      Z2 G d0„ d1e«      Z3 G d2„ d3e«      Z4 G d4„ d5e«      Z5 G d6„ d7e5«      Z6 G d8„ d9e5«      Z7 G d:„ d;e5«      Z8 G d<„ d=e«      Z9 G d>„ d?e«      Z: G d@„ dAe«      Z; G dB„ dCe«      Z< G dD„ dEe«      Z= G dF„ dGe«      Z> G dH„ dIe«      Z? G dJ„ dKe«      Z@ G dL„ dMe«      ZA G dN„ dOe«      ZBeAZCeBZD G dP„ dQe«      ZE G dR„ dSe«      ZF G dT„ dUe«      ZG G dV„ dWe«      ZH G dX„ dYe«      ZI G dZ„ d[e«      ZJ G d\„ d]e«      ZKeeJeKf   ZLy^)_u¦  
Kerykeion Data Models
=====================

This module contains all Pydantic models used throughout the Kerykeion library
for representing astrological data structures.

Model Hierarchy:
    SubscriptableBaseModel
    â”œâ”€â”€ LunarPhaseModel - Moon phase information
    â”œâ”€â”€ KerykeionPointModel - Celestial points (planets, houses, etc.)
    â”œâ”€â”€ AstrologicalBaseModel - Base for all chart subjects
    â”‚   â”œâ”€â”€ AstrologicalSubjectModel - Individual birth/event charts
    â”‚   â”œâ”€â”€ CompositeSubjectModel - Composite relationship charts
    â”‚   â””â”€â”€ PlanetReturnModel - Solar/Lunar return charts
    â”œâ”€â”€ AspectModel - Planetary aspect data
    â”œâ”€â”€ ZodiacSignModel - Zodiac sign properties
    â”œâ”€â”€ RelationshipScoreModel - Synastry compatibility scores
    â”œâ”€â”€ HouseComparisonModel - House overlay analysis
    â”œâ”€â”€ SingleChartDataModel - Single chart visualization data
    â””â”€â”€ DualChartDataModel - Dual chart visualization data

All models inherit from SubscriptableBaseModel which provides dictionary-style
access to fields while maintaining Pydantic validation.

This is part of Kerykeion (C) 2025 Giacomo Battaglia
é    )ÚUnionÚOptionalÚListÚLiteral)Ú	TypedDict)Ú	BaseModelÚField)Ú
AspectName)ÚLunarPhaseEmojiÚLunarPhaseNameÚAstrologicalPointÚHousesÚQualityÚElementÚSignÚ
ZodiacTypeÚSignNumbersÚ	PointTypeÚSiderealModeÚHousesSystemIdentifierÚ
SignsEmojiÚRelationshipScoreDescriptionÚPerspectiveTypeÚAspectMovementType)Ú
ReturnTypec                   ó*   — e Zd ZdZd„ Zd„ Zd„ Zdd„Zy)ÚSubscriptableBaseModelzs
    Pydantic BaseModel with subscriptable support, so you can access the fields as if they were a dictionary.
    c                 ó   — t        | |«      S )z/Get an attribute using dictionary-style access.©Úgetattr©ÚselfÚkeys     úg/var/www/html/Astrologybackend/backend/venv/lib/python3.12/site-packages/kerykeion/schemas/kr_models.pyÚ__getitem__z"SubscriptableBaseModel.__getitem__=   s   € ä�t˜SÓ!Ð!ó    c                 ó   — t        | ||«       y)z/Set an attribute using dictionary-style access.N)Úsetattr)r"   r#   Úvalues      r$   Ú__setitem__z"SubscriptableBaseModel.__setitem__A   s   € ä��c˜5Õ!r&   c                 ó   — t        | |«       y)z2Delete an attribute using dictionary-style access.N)Údelattrr!   s     r$   Ú__delitem__z"SubscriptableBaseModel.__delitem__E   s   € ä��cÕr&   Nc                 ó   — t        | ||«      S )z3Get an attribute with a default value if not found.r   )r"   r#   Údefaults      r$   ÚgetzSubscriptableBaseModel.getI   s   € ä�t˜S 'Ó*Ð*r&   )N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r%   r*   r-   r0   © r&   r$   r   r   8   s   „ ñò"ò"òô+r&   r   c                   óD   — e Zd ZU dZeeef   ed<   eed<   eed<   e	ed<   y)ÚLunarPhaseModelaH  
    Model representing lunar phase information.

    Attributes:
        degrees_between_s_m: Angular separation between Sun and Moon in degrees.
        moon_phase: Numerical phase identifier for the Moon.
        moon_emoji: Emoji representation of the lunar phase.
        moon_phase_name: Text name of the lunar phase.
    Údegrees_between_s_mÚ
moon_phaseÚ
moon_emojiÚmoon_phase_nameN)
r1   r2   r3   r4   r   ÚfloatÚintÚ__annotations__r   r   r5   r&   r$   r7   r7   N   s)   … ñð ˜u c˜zÑ*Ó*ØƒOØÓØ#Ô#r&   r7   c                   óN   — e Zd ZU dZdZee   ed<   dZee   ed<   dZ	ee   ed<   y)ÚMoonPhaseSunPositionModelzö
    Apparent solar position details for a given moment.

    Attributes:
        altitude: Sun altitude above the horizon in degrees.
        azimuth: Sun azimuth angle in degrees.
        distance: Distance from Earth to Sun in kilometers.
    NÚaltitudeÚazimuthÚdistance)
r1   r2   r3   r4   rA   r   r<   r>   rB   rC   r5   r&   r$   r@   r@   _   s3   … ñð !%€Hˆh�u‰oÓ$Ø#€GˆX�e‰_Ó#Ø $€Hˆh�u‰oÔ$r&   r@   c                   ób   — e Zd ZU dZdZee   ed<   dZee	   ed<   dZ
ee	   ed<   dZee	   ed<   y)ÚMoonPhaseSolarEclipseModelzË
    Information about a solar eclipse event relative to the current moment.

    This model is intentionally generic so it can be populated either by
    internal calculations or external services.
    NÚ	timestampÚ	datestampÚtypeÚvisibility_regions©r1   r2   r3   r4   rF   r   r=   r>   rG   ÚstrrH   rI   r5   r&   r$   rE   rE   n   sB   … ñð  $€Iˆx˜‰}Ó#Ø#€Iˆx˜‰}Ó#Ø€Dˆ(�3‰-ÓØ(,Ð˜ ™Ô,r&   rE   c                   ó²   — e Zd ZU dZdZee   ed<   dZee	   ed<   dZ
ee   ed<   dZee	   ed<   dZee	   ed<   dZee	   ed<   dZee   ed	<   dZee   ed
<   y)ÚMoonPhaseSunInfoModelz¼
    Summary information about the Sun for the lunar phase context.

    All fields are optional and can be incrementally populated as more
    advanced calculations become available.
    NÚsunriseÚsunrise_timestampÚsunsetÚsunset_timestampÚ
solar_noonÚ
day_lengthÚpositionÚnext_solar_eclipse)r1   r2   r3   r4   rN   r   r=   r>   rO   rK   rP   rQ   rR   rS   rT   r@   rU   rE   r5   r&   r$   rM   rM   |   s€   … ñð "€GˆX�c‰]Ó!Ø'+Ð�x ‘}Ó+Ø €FˆH�S‰MÓ Ø&*Ð�h˜s‘mÓ*Ø $€J�˜‘Ó$Ø $€J�˜‘Ó$Ø48€HˆhÐ0Ñ1Ó8Ø?CÐ˜Ð!;Ñ<ÔCr&   rM   c                   ó&   — e Zd ZU dZeed<   eed<   y)ÚMoonPhaseZodiacModelu±   
    Simple zodiac snapshot for the current Sunâ€“Moon configuration.

    Attributes:
        sun_sign: Zodiac sign of the Sun.
        moon_sign: Zodiac sign of the Moon.
    Úsun_signÚ	moon_signN)r1   r2   r3   r4   r   r>   r5   r&   r$   rW   rW   Ž   s   … ñð ƒNØ„Or&   rW   c                   óv   — e Zd ZU dZdZee   ed<   dZee   ed<   dZ	ee   ed<   dZ
ee   ed<   dZee   ed<   y)ÚMoonPhaseMoonPositionModelui  
    Apparent lunar position details for a given moment.

    Attributes:
        altitude: Moon altitude above the horizon in degrees.
        azimuth: Moon azimuth angle in degrees.
        distance: Distance from Earth to Moon (kilometers).
        parallactic_angle: Parallactic angle in degrees.
        phase_angle: Phase angle Sunâ€“Moon in degrees.
    NrA   rB   rC   Úparallactic_angleÚphase_angle)r1   r2   r3   r4   rA   r   r<   r>   rB   rC   r\   r]   r5   r&   r$   r[   r[   ›   sP   … ñ	ð !%€Hˆh�u‰oÓ$Ø#€GˆX�e‰_Ó#Ø $€Hˆh�u‰oÓ$Ø)-Ð�x ‘Ó-Ø#'€K�˜%‘Ô'r&   r[   c                   óN   — e Zd ZU dZdZee   ed<   dZee   ed<   dZ	ee   ed<   y)ÚMoonPhaseViewingEquipmentModelzF
    Recommended observing equipment for the current lunar phase.
    NÚfiltersÚ	telescopeÚbest_magnification)
r1   r2   r3   r4   r`   r   rK   r>   ra   rb   r5   r&   r$   r_   r_   ®   s4   … ñð "€GˆX�c‰]Ó!Ø#€Iˆx˜‰}Ó#Ø(,Ð˜ ™Ô,r&   r_   c                   ó:   — e Zd ZU dZdZee   ed<   dZee	   ed<   y)ÚMoonPhaseViewingConditionsModelzG
    Qualitative viewing conditions and equipment recommendations.
    NÚphase_qualityÚrecommended_equipment)
r1   r2   r3   r4   re   r   rK   r>   rf   r_   r5   r&   r$   rd   rd   ¸   s(   … ñð $(€M�8˜C‘=Ó'ØFJÐ˜8Ð$BÑCÔJr&   rd   c                   óv   — e Zd ZU dZdZee   ed<   dZee	   ed<   dZ
ee	   ed<   dZee	   ed<   dZee   ed<   y)ÚMoonPhaseVisibilityModelz6
    Visibility information for the current Moon.
    NÚvisible_hoursÚbest_viewing_timeÚvisibility_ratingÚilluminationÚviewing_conditions)r1   r2   r3   r4   ri   r   r<   r>   rj   rK   rk   rl   rm   rd   r5   r&   r$   rh   rh   Á   sT   … ñð &*€M�8˜E‘?Ó)Ø'+Ð�x ‘}Ó+Ø'+Ð�x ‘}Ó+Ø"&€L�(˜3‘-Ó&ØDHÐ˜Ð!@ÑAÔHr&   rh   c                   óŠ   — e Zd ZU dZdZee   ed<   dZee	   ed<   dZ
ee   ed<   dZee   ed<   dZee	   ed<   dZee	   ed<   y)	ÚMoonPhaseEventMomentModelzS
    Generic representation of a key lunar event (e.g. last / next Full Moon).
    NrF   rG   Údays_agoÚ
days_aheadÚnameÚdescription)r1   r2   r3   r4   rF   r   r=   r>   rG   rK   rp   rq   rr   rs   r5   r&   r$   ro   ro   Í   s]   … ñð  $€Iˆx˜‰}Ó#Ø#€Iˆx˜‰}Ó#Ø"€Hˆh�s‰mÓ"Ø $€J�˜‘Ó$Ø€Dˆ(�3‰-ÓØ!%€K�˜#‘Ô%r&   ro   c                   ó:   — e Zd ZU dZdZee   ed<   dZee   ed<   y)ÚMoonPhaseMajorPhaseWindowModelzL
    Container for the last and next occurrence of a major lunar phase.
    NÚlastÚnext)	r1   r2   r3   r4   rv   r   ro   r>   rw   r5   r&   r$   ru   ru   Ú   s)   … ñð 15€Dˆ(Ð,Ñ
-Ó4Ø04€Dˆ(Ð,Ñ
-Ô4r&   ru   c                   ób   — e Zd ZU dZdZee   ed<   dZee   ed<   dZ	ee   ed<   dZ
ee   ed<   y)ÚMoonPhaseUpcomingPhasesModelz^
    Overview of surrounding major lunar phases (new, first quarter, full, last quarter).
    NÚnew_moonÚfirst_quarterÚ	full_moonÚlast_quarter)r1   r2   r3   r4   rz   r   ru   r>   r{   r|   r}   r5   r&   r$   ry   ry   ã   sI   … ñð :>€HˆhÐ5Ñ6Ó=Ø>B€M�8Ð:Ñ;ÓBØ:>€IˆxÐ6Ñ7Ó>Ø=A€L�(Ð9Ñ:ÔAr&   ry   c                   óN   — e Zd ZU dZdZee   ed<   dZee   ed<   dZ	ee   ed<   y)Ú!MoonPhaseIlluminationDetailsModelzH
    Numeric illumination details for the Moon at the given moment.
    NÚ
percentageÚvisible_fractionr]   )
r1   r2   r3   r4   r€   r   r<   r>   r�   r]   r5   r&   r$   r   r   î   s4   … ñð #'€J�˜‘Ó&Ø(,Ð�h˜u‘oÓ,Ø#'€K�˜%‘Ô'r&   r   c                   ób   — e Zd ZU dZdZee   ed<   dZee	   ed<   dZ
ee   ed<   dZee   ed<   y)ÚMoonPhaseMoonDetailedModelz@
    Detailed Moon information grouped under a single node.
    NrT   Ú
visibilityÚupcoming_phasesÚillumination_details)r1   r2   r3   r4   rT   r   r[   r>   r„   rh   r…   ry   r†   r   r5   r&   r$   rƒ   rƒ   ø   sJ   … ñð 6:€HˆhÐ1Ñ2Ó9Ø59€J�Ð1Ñ2Ó9Ø>B€O�XÐ:Ñ;ÓBØHLÐ˜(Ð#DÑEÔLr&   rƒ   c                   ó|   — e Zd ZU dZdZee   ed<   dZee   ed<   dZ	ee
   ed<   dZee   ed<   dZeee      ed<   y)Ú"MoonPhaseOptimalViewingPeriodModelz8
    Suggested optimal viewing window for the Moon.
    NÚ
start_timeÚend_timeÚduration_hoursÚviewing_qualityÚrecommendations)r1   r2   r3   r4   r‰   r   rK   r>   rŠ   r‹   r<   rŒ   r�   r   r5   r&   r$   rˆ   rˆ     sT   … ñð !%€J�˜‘Ó$Ø"€Hˆh�s‰mÓ"Ø&*€N�H˜U‘OÓ*Ø%)€O�X˜c‘]Ó)Ø+/€O�X˜d 3™iÑ(Ô/r&   rˆ   c                   óN   — e Zd ZU dZdZee   ed<   dZee   ed<   dZ	ee
   ed<   y)ÚMoonPhaseEventsModelzB
    Convenience container for event-style lunar information.
    NÚmoonrise_visibleÚmoonset_visibleÚoptimal_viewing_period)r1   r2   r3   r4   r�   r   Úboolr>   r‘   r’   rˆ   r5   r&   r$   r�   r�     s7   … ñð (,Ð�h˜t‘nÓ+Ø&*€O�X˜d‘^Ó*ØKOÐ˜HÐ%GÑHÔOr&   r�   c                   ób   — e Zd ZU dZdZee   ed<   dZee	   ed<   dZ
ee	   ed<   dZee	   ed<   y)ÚMoonPhaseEclipseModelzQ
    Information about a lunar eclipse event relative to the current moment.
    NrF   rG   rH   rI   rJ   r5   r&   r$   r•   r•     sB   … ñð  $€Iˆx˜‰}Ó#Ø#€Iˆx˜‰}Ó#Ø€Dˆ(�3‰-ÓØ(,Ð˜ ™Ô,r&   r•   c                   óR  — e Zd ZU dZdZee   ed<   dZee	   ed<   dZ
ee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed	<   dZee   ed
<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   y)ÚMoonPhaseMoonSummaryModelzÜ
    High-level summary of the current lunar phase and basic context.

    This model mirrors the structure used by web APIs for moon phase
    information and is designed to be populated by MoonPhaseDetailsFactory.
    NÚphaseÚ
phase_nameÚmajor_phaseÚstagerl   Úage_daysÚlunar_cycleÚemojiÚzodiacÚmoonriseÚmoonrise_timestampÚmoonsetÚmoonset_timestampÚnext_lunar_eclipseÚdetailedÚevents)r1   r2   r3   r4   r˜   r   r<   r>   r™   r   rš   rK   r›   rl   rœ   r=   r�   rž   r   rŸ   rW   r    r¡   r¢   r£   r¤   r•   r¥   rƒ   r¦   r�   r5   r&   r$   r—   r—   $  sö   … ñð "€Eˆ8�E‰?Ó!Ø+/€J�˜Ñ(Ó/Ø!%€K�˜#‘Ó%Ø€Eˆ8�C‰=ÓØ"&€L�(˜3‘-Ó&Ø"€Hˆh�s‰mÓ"Ø!%€K�˜#‘Ó%Ø'+€Eˆ8�OÑ$Ó+Ø-1€FˆHÐ)Ñ*Ó1Ø"€Hˆh�s‰mÓ"Ø(,Ð˜ ™Ó,Ø!€GˆX�c‰]Ó!Ø'+Ð�x ‘}Ó+Ø:>Ð˜Ð!6Ñ7Ó>Ø59€HˆhÐ1Ñ2Ó9Ø-1€FˆHÐ)Ñ*Ô1r&   r—   c                   óv   — e Zd ZU dZdZee   ed<   dZee   ed<   dZ	ee
   ed<   dZee   ed<   dZee   ed<   y)ÚMoonPhaseLocationModelz4
    Location metadata for lunar phase context.
    NÚlatitudeÚ	longitudeÚ	precisionÚusing_default_locationÚnote)r1   r2   r3   r4   r©   r   rK   r>   rª   r«   r=   r¬   r“   r­   r5   r&   r$   r¨   r¨   >  sP   … ñð #€Hˆh�s‰mÓ"Ø#€Iˆx˜‰}Ó#Ø#€Iˆx˜‰}Ó#Ø-1Ð˜H T™NÓ1Ø€Dˆ(�3‰-Ôr&   r¨   c                   óX   — e Zd ZU dZeed<   eed<   dZee	   ed<   e
ed<   dZee   ed<   y)ÚMoonPhaseOverviewModelzå
    Top-level lunar phase context model.

    This model groups together timestamp information, Sun summary, Moon summary,
    and basic location data into a single structure suitable for API responses
    or serialization.
    rF   rG   NÚsunÚmoonÚlocation)r1   r2   r3   r4   r=   r>   rK   r°   r   rM   r—   r²   r¨   r5   r&   r$   r¯   r¯   J  s9   … ñð ƒNØƒNØ+/€CˆÐ'Ñ	(Ó/Ø
#Ó#Ø15€HˆhÐ-Ñ.Ô5r&   r¯   c                   ó
  — e Zd ZU dZeeef   ed<   eed<   e	ed<   e
ed<   eed<   eed<   eed<   eed	<   eed
<   dZee   ed<   dZee   ed<    edd¬«      Zee   ed<    edd¬«      Zee   ed<    edd¬«      Zee   ed<   y)ÚKerykeionPointModela5  
    Model representing an astrological celestial point or house cusp.

    This model contains comprehensive information about celestial objects
    (planets, points) or house cusps including their zodiacal position,
    sign placement, and metadata.

    Attributes:
        name: The name of the celestial point or house.
        quality: Astrological quality (Cardinal, Fixed, Mutable).
        element: Astrological element (Fire, Earth, Air, Water).
        sign: The zodiac sign the point is located in.
        sign_num: Numerical identifier for the zodiac sign (0-11).
        position: Position within the sign (0-30 degrees).
        abs_pos: Absolute position in the zodiac (0-360 degrees).
        emoji: Unicode emoji representing the point or sign.
        point_type: Type of the celestial point (Planet, House, etc.).
        house: House placement of the point (optional).
        retrograde: Whether the point is in retrograde motion (optional).
        speed: Daily motion in degrees/day along the ecliptic. Negative values
            indicate retrograde motion. For house cusps this is the cusp
            progression rate driven by diurnal rotation. For fixed stars this
            is the slow drift due to precession (~50 arcsec/year). Added in v5.12.
        declination: Declination in degrees north (+) or south (-) of the
            celestial equator, computed from equatorial coordinates via
            ``swe.calc_ut`` with ``FLG_EQUATORIAL``. Useful for parallel and
            contra-parallel aspects. Added in v5.12.
        magnitude: Apparent visual magnitude of fixed stars (lower = brighter;
            e.g. Sirius = -1.46, Regulus = 1.35). Only populated for fixed
            star points; ``None`` for planets and calculated points. Retrieved
            via ``swe.fixstar2_mag``. Added in v5.12.
    rr   ÚqualityÚelementÚsignÚsign_numrT   Úabs_posrž   Ú
point_typeNÚhouseÚ
retrogradezhDaily motion in degrees/day. Negative = retrograde. Populated for planets, house cusps, and fixed stars.©r/   rs   ÚspeedzGDeclination in degrees north (+) or south (-) of the celestial equator.Údeclinationz?Apparent visual magnitude (fixed stars only). Lower = brighter.Ú	magnitude)r1   r2   r3   r4   r   r   r   r>   r   r   r   r   r<   rK   r   r»   r   r¼   r“   r	   r¾   r¿   rÀ   r5   r&   r$   r´   r´   Z  s¹   … ñðB Ð! 6Ð)Ñ
*Ó*ØÓØÓØ
ƒJØÓØƒOØƒNØƒJØÓØ"€Eˆ8�FÑÓ"Ø!%€J�˜‘Ó%Ù"ØØ~ô€Eˆ8�E‰?ó ñ $)ØÐ"kô$€K�˜%‘ó ñ "'ØÐ"cô"€Iˆx˜‰ô r&   r´   c                   óü  — e Zd ZU dZeed<   dZee   ed<   dZee   ed<   dZ	ee
   ed<   dZee
   ed<   dZee   ed<   dZee   ed	<   dZee   ed
<   dZee
   ed<   dZee   ed<   eed<   eedf   ed<   eed<   eed<   eed<    edd¬«      Zee
   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZ ee   ed<   dZ!ee   ed<   dZ"ee   ed<   dZ#ee   ed<   dZ$ee   ed <   dZ%ee   ed!<   dZ&ee   ed"<   dZ'ee   ed#<   dZ(ee   ed$<   dZ)ee   ed%<   dZ*ee   ed&<   dZ+ee   ed'<   dZ,ee   ed(<   dZ-ee   ed)<   dZ.ee   ed*<   dZ/ee   ed+<   dZ0ee   ed,<   dZ1ee   ed-<   dZ2ee   ed.<   dZ3ee   ed/<   dZ4ee   ed0<   dZ5ee   ed1<   dZ6ee   ed2<   dZ7ee   ed3<   dZ8ee   ed4<   dZ9ee   ed5<   dZ:ee   ed6<   dZ;ee   ed7<   dZ<ee   ed8<   dZ=ee   ed9<   dZ>ee   ed:<   dZ?ee   ed;<   dZ@ee   ed<<   dZAee   ed=<   dZBee   ed><   dZCee   ed?<   dZDee   ed@<   dZEee   edA<   dZFee   edB<   dZGee   edC<   dZHee   edD<   dZIee   edE<   dZJee   edF<   dZKee   edG<   dZLee   edH<   dZMee   edI<   dZNee   edJ<   dZOee   edK<   dZPee   edL<   dZQee   edM<   dZRee   edN<   dZSee   edO<   eedP<   eedQ<   eedR<   eedS<   eedT<   eedU<   eedV<   eedW<   eedX<   eedY<   eedZ<   eed[<   dZTee   ed\<   dZUee   ed]<   dZVee   ed^<   dZWee   ed_<    ed`¬a«      ZXeYeZ   edb<    edc¬a«      Z[eYe\   edd<    edde¬«      Z]ee^   edf<   y)gÚAstrologicalBaseModela…  
    Base model containing common fields for all astrological subjects.

    This model serves as the foundation for all astrological chart types,
    providing standard location, time, and configuration data. It supports
    both complete charts (with full location/time data) and composite charts
    (where some fields may be optional).

    Attributes:
        name: Subject identifier or name.
        city: Location city (optional for composite charts).
        nation: Country code (optional for composite charts).
        lng: Longitude coordinate (optional for composite charts).
        lat: Latitude coordinate (optional for composite charts).
        tz_str: Timezone string (optional for composite charts).
        iso_formatted_local_datetime: Local datetime in ISO format (optional).
        iso_formatted_utc_datetime: UTC datetime in ISO format (optional).
        julian_day: Julian day number for astronomical calculations (optional).
        day_of_week: Day of the week (optional).
        zodiac_type: Type of zodiac system used (Tropical or Sidereal).
        sidereal_mode: Sidereal calculation mode (if applicable).
        houses_system_identifier: House system used for calculations.
        houses_system_name: Human-readable name for the house system.
        perspective_type: Astrological perspective (geocentric, heliocentric, etc.).
        ayanamsa_value: The computed ayanamsa offset in degrees for sidereal
            charts. This is the angular difference between tropical 0 Aries and
            sidereal 0 Aries at the chart's date/time, as determined by the
            selected sidereal mode. ``None`` for tropical charts. Added in v5.12.
        active_points: List of celestial points included in calculations.

    Fixed Stars (v5.12 -- expanded from 2 to 23):
        regulus, spica, aldebaran, antares, sirius, fomalhaut, algol,
        betelgeuse, canopus, procyon, arcturus, pollux, deneb, altair,
        rigel, achernar, capella, vega, alcyone, alphecca, algorab,
        deneb_algedi, alkaid.
        Each is ``Optional[KerykeionPointModel]``, defaulting to ``None``
        unless the star is included in ``active_points``.
    rr   NÚcityÚnationÚlngÚlatÚtz_strÚiso_formatted_local_datetimeÚiso_formatted_utc_datetimeÚ
julian_dayÚday_of_weekÚzodiac_typeÚsidereal_modeÚhouses_system_identifierÚhouses_system_nameÚperspective_typezsAyanamsa offset in degrees for sidereal charts (tropical 0 Aries minus sidereal 0 Aries). None for tropical charts.r½   Úayanamsa_valuer°   r±   ÚmercuryÚvenusÚmarsÚjupiterÚsaturnÚuranusÚneptuneÚplutoÚ	ascendantÚ
descendantÚmedium_coeliÚ
imum_coeliÚchironÚearthÚpholusÚmean_lilithÚtrue_lilithÚceresÚpallasÚjunoÚvestaÚerisÚsednaÚhaumeaÚmakemakeÚixionÚorcusÚquaoarÚregulusÚspicaÚ	aldebaranÚantaresÚsiriusÚ	fomalhautÚalgolÚ
betelgeuseÚcanopusÚprocyonÚarcturusÚpolluxÚdenebÚaltairÚrigelÚachernarÚcapellaÚvegaÚalcyoneÚalpheccaÚalgorabÚdeneb_algediÚalkaidÚpars_fortunaeÚpars_spiritusÚpars_amorisÚ
pars_fideiÚvertexÚanti_vertexÚfirst_houseÚsecond_houseÚthird_houseÚfourth_houseÚfifth_houseÚsixth_houseÚseventh_houseÚeighth_houseÚninth_houseÚtenth_houseÚeleventh_houseÚtwelfth_houseÚmean_north_lunar_nodeÚtrue_north_lunar_nodeÚmean_south_lunar_nodeÚtrue_south_lunar_nodezOrdered list of houses names©rs   Úhouses_names_listz;List of active points in the chart or aspects calculations.Úactive_pointszLunar phase modelÚlunar_phase)_r1   r2   r3   r4   rK   r>   rÃ   r   rÄ   rÅ   r<   rÆ   rÇ   rÈ   rÉ   rÊ   rË   r   r   r   r   r   r	   rÑ   r°   r´   r±   rÒ   rÓ   rÔ   rÕ   rÖ   r×   rØ   rÙ   rÚ   rÛ   rÜ   rÝ   rÞ   rß   rà   rá   râ   rã   rä   rå   ræ   rç   rè   ré   rê   rë   rì   rí   rî   rï   rð   rñ   rò   ró   rô   rõ   rö   r÷   rø   rù   rú   rû   rü   rý   rþ   rÿ   r   r  r  r  r  r  r  r  r  r	  r
  r  r  r  r  r  r   r   r  r   r  r7   r5   r&   r$   rÂ   rÂ   “  sx  … ñ%ðP ƒIð €Dˆ(�3‰-ÓØ €FˆH�S‰MÓ Ø€Cˆ�%‰ÓØ€Cˆ�%‰ÓØ €FˆH�S‰MÓ ð 37Ð  (¨3¡-Ó6Ø04Ð ¨¡Ó4Ø"&€J�˜‘Ó&Ø!%€K�˜#‘Ó%ð ÓØ˜ tÐ+Ñ,Ó,Ø4Ó4ØÓØ%Ó%Ù&+Øð Jô'€N�H˜U‘Oó ð *.€CˆÐ%Ñ	&Ó-Ø*.€Dˆ(Ð&Ñ
'Ó.Ø-1€GˆXÐ)Ñ*Ó1Ø+/€Eˆ8Ð'Ñ(Ó/Ø*.€Dˆ(Ð&Ñ
'Ó.Ø-1€GˆXÐ)Ñ*Ó1Ø,0€FˆHÐ(Ñ)Ó0Ø,0€FˆHÐ(Ñ)Ó0Ø-1€GˆXÐ)Ñ*Ó1Ø+/€Eˆ8Ð'Ñ(Ó/ð 04€IˆxÐ+Ñ,Ó3Ø04€J�Ð,Ñ-Ó4Ø26€L�(Ð.Ñ/Ó6Ø04€J�Ð,Ñ-Ó4ð -1€FˆHÐ(Ñ)Ó0Ø+/€Eˆ8Ð'Ñ(Ó/Ø,0€FˆHÐ(Ñ)Ó0ð 26€K�Ð-Ñ.Ó5Ø15€K�Ð-Ñ.Ó5ð ,0€Eˆ8Ð'Ñ(Ó/Ø,0€FˆHÐ(Ñ)Ó0Ø*.€Dˆ(Ð&Ñ
'Ó.Ø+/€Eˆ8Ð'Ñ(Ó/ð +/€Dˆ(Ð&Ñ
'Ó.Ø+/€Eˆ8Ð'Ñ(Ó/Ø,0€FˆHÐ(Ñ)Ó0Ø.2€HˆhÐ*Ñ+Ó2Ø+/€Eˆ8Ð'Ñ(Ó/Ø+/€Eˆ8Ð'Ñ(Ó/Ø,0€FˆHÐ(Ñ)Ó0ð .2€GˆXÐ)Ñ*Ó1Ø+/€Eˆ8Ð'Ñ(Ó/Ø/3€IˆxÐ+Ñ,Ó3Ø-1€GˆXÐ)Ñ*Ó1Ø,0€FˆHÐ(Ñ)Ó0Ø/3€IˆxÐ+Ñ,Ó3Ø+/€Eˆ8Ð'Ñ(Ó/Ø04€J�Ð,Ñ-Ó4Ø-1€GˆXÐ)Ñ*Ó1Ø-1€GˆXÐ)Ñ*Ó1Ø.2€HˆhÐ*Ñ+Ó2Ø,0€FˆHÐ(Ñ)Ó0Ø+/€Eˆ8Ð'Ñ(Ó/Ø,0€FˆHÐ(Ñ)Ó0Ø+/€Eˆ8Ð'Ñ(Ó/Ø.2€HˆhÐ*Ñ+Ó2Ø-1€GˆXÐ)Ñ*Ó1Ø*.€Dˆ(Ð&Ñ
'Ó.Ø-1€GˆXÐ)Ñ*Ó1Ø.2€HˆhÐ*Ñ+Ó2Ø-1€GˆXÐ)Ñ*Ó1Ø26€L�(Ð.Ñ/Ó6Ø,0€FˆHÐ(Ñ)Ó0ð 48€M�8Ð/Ñ0Ó7Ø37€M�8Ð/Ñ0Ó7Ø15€K�Ð-Ñ.Ó5Ø04€J�Ð,Ñ-Ó4ð -1€FˆHÐ(Ñ)Ó0Ø15€K�Ð-Ñ.Ó5ð %Ó$Ø%Ó%Ø$Ó$Ø%Ó%Ø$Ó$Ø$Ó$Ø&Ó&Ø%Ó%Ø$Ó$Ø$Ó$Ø'Ó'Ø&Ó&ð <@Ð˜8Ð$7Ñ8Ó?Ø;?Ð˜8Ð$7Ñ8Ó?Ø;?Ð˜8Ð$7Ñ8Ó?Ø;?Ð˜8Ð$7Ñ8Ó?ñ ',Ð8VÔ&WÐ�t˜F‘|ÓWÙ-2ØQô.€M�4Ð)Ñ*ó ñ
 .3¸4ÐM`Ô-a€K�˜/Ñ*Ôar&   rÂ   c                   ó¨   — e Zd ZU dZeed<   eed<   eed<   eed<   eed<   eed<   eed<   eed	<   eed
<   eed<   eed<   eed<   eed<   eed<   eed<   y)ÚAstrologicalSubjectModela+  
    Complete astrological subject model for individual birth or event charts.

    This model represents a fully-specified astrological chart with all required
    location and time data. It extends AstrologicalBaseModel by making location
    and time fields mandatory.

    Used for:
        - Natal (birth) charts
        - Event charts
        - Horary charts

    Attributes:
        year: Birth/event year.
        month: Birth/event month (1-12).
        day: Birth/event day of month.
        hour: Birth/event hour (0-23).
        minute: Birth/event minute (0-59).
        city: City name (required).
        nation: Country code (required).
        lat: Latitude coordinate (required).
        lng: Longitude coordinate (required).
        tz_str: Timezone string e.g. 'Europe/Rome' (required).
    rÃ   rÄ   rÅ   rÆ   rÇ   rÈ   rÉ   rÊ   rË   ÚyearÚmonthÚdayÚhourÚminuteÚ
is_diurnalN)	r1   r2   r3   r4   rK   r>   r<   r=   r“   r5   r&   r$   r   r   B  s]   … ñð4 ƒIØƒKØ	ƒJØ	ƒJØƒKØ"%Ó%Ø #Ó#ØÓØÓð ƒIØƒJØ	ƒHØ
ƒIØƒKð Ôr&   r   c                   ó0   — e Zd ZU dZeed<   eed<   eed<   y)ÚCompositeSubjectModelaÍ  
    Composite chart model for relationship analysis.

    A composite chart is created by calculating the midpoint between
    corresponding planets/points of two individual charts. It represents
    the relationship as a separate entity.

    Attributes:
        first_subject: First person's astrological data.
        second_subject: Second person's astrological data.
        composite_chart_type: Type identifier for the composite calculation method.
    Úfirst_subjectÚsecond_subjectÚcomposite_chart_typeN)r1   r2   r3   r4   r   r>   rK   r5   r&   r$   r(  r(  r  s   … ñð ,Ó+Ø,Ó,ØÔr&   r(  c                   ó.   — e Zd ZU dZ ed¬«      Zeed<   y)ÚPlanetReturnModela;  
    Planetary return chart model.

    A planetary return occurs when a transiting planet returns to the exact
    position it held in the natal chart. Solar returns (yearly) and lunar
    returns (monthly) are the most commonly used.

    Attributes:
        return_type: Type of return - 'Solar' or 'Lunar'.
    zType of return: Solar or Lunarr  Úreturn_typeN)r1   r2   r3   r4   r	   r.  r   r>   r5   r&   r$   r-  r-  †  s   … ñ	ñ $Ð0PÔQ€K�ÔQr&   r-  c                   ó<   — e Zd ZU dZeed<   ee   ed<   ee   ed<   y)ÚEphemerisDictModelaP  
    Ephemeris data for a specific date.

    Contains planetary positions and house cusps for a given moment,
    typically used for generating ephemeris tables or transit lookups.

    Attributes:
        date: ISO formatted date string.
        planets: List of planetary positions.
        houses: List of house cusp positions.
    ÚdateÚplanetsÚhousesN)r1   r2   r3   r4   rK   r>   r   r´   r5   r&   r$   r0  r0  –  s&   … ñ
ð ƒIØÐ%Ñ&Ó&ØÐ$Ñ%Ô%r&   r0  c                   óâ   — e Zd ZU dZeed<   eed<   eed<   eed<   eed<   eed<   eed<   eed	<   eed
<   eed<   eed<   eed<    edd¬«      Z	eed<    edd¬«      Z
eed<    ed¬«      Zeed<   y)ÚAspectModeluª  
    Model representing an astrological aspect between two celestial points.

    An aspect is an angular relationship between two planets or points,
    measured along the ecliptic. Major aspects include conjunction (0Â°),
    opposition (180Â°), trine (120Â°), square (90Â°), and sextile (60Â°).

    Attributes:
        p1_name: Name of the first point (e.g., 'Sun').
        p1_owner: Owner/chart of the first point (e.g., 'John').
        p1_abs_pos: Absolute zodiacal position of first point (0-360Â°).
        p2_name: Name of the second point.
        p2_owner: Owner/chart of the second point.
        p2_abs_pos: Absolute zodiacal position of second point.
        aspect: Name of the aspect (e.g., 'conjunction', 'trine').
        orbit: Orb (deviation from exact aspect) in degrees.
        aspect_degrees: Exact degrees of the aspect type.
        diff: Angular difference between the points.
        p1: Numeric ID of first point.
        p2: Numeric ID of second point.
        p1_speed: Daily motion speed of first point in degrees.
        p2_speed: Daily motion speed of second point in degrees.
        aspect_movement: Whether aspect is applying, separating, or static.
    Úp1_nameÚp1_ownerÚ
p1_abs_posÚp2_nameÚp2_ownerÚ
p2_abs_posÚaspectÚorbitÚaspect_degreesÚdiffÚp1Úp2g        zSpeed of the first pointr½   Úp1_speedzSpeed of the second pointÚp2_speedzwIndicates whether the aspect is applying (orb decreasing), separating (orb increasing), or static (no relative motion).r  Úaspect_movementN)r1   r2   r3   r4   rK   r>   r<   r=   r	   rB  rC  rD  r   r5   r&   r$   r5  r5  ¨  s„   … ñð2 ƒLØƒMØÓØƒLØƒMØÓØƒKØƒLØÓØ
ƒKØƒGØƒGÙ CÐ5OÔP€HˆeÓPÙ CÐ5PÔQ€HˆeÓQÙ*/ðGô+€OÐ'ô r&   r5  c                   óD   — e Zd ZU dZeed<   eed<   eed<   eed<   e	ed<   y)ÚZodiacSignModela*  
    Model representing a zodiac sign with its properties.

    Contains the essential characteristics of a zodiac sign including
    its quality (Cardinal, Fixed, Mutable), element (Fire, Earth, Air, Water),
    and visual representation.

    Attributes:
        sign: Sign name (e.g., 'Ari', 'Tau', 'Gem').
        quality: Astrological quality (Cardinal, Fixed, Mutable).
        element: Astrological element (Fire, Earth, Air, Water).
        emoji: Unicode emoji for the sign.
        sign_num: Numerical position (0=Aries through 11=Pisces).
    r·   rµ   r¶   rž   r¸   N)
r1   r2   r3   r4   r   r>   r   r   r   r   r5   r&   r$   rF  rF  Ö  s&   … ñð ƒJØÓØÓØÓØÔr&   rF  c                   ó:   — e Zd ZU dZeed<   eed<   eed<   eed<   y)ÚRelationshipScoreAspectModela5  
    Simplified aspect model for relationship scoring.

    Used in synastry analysis to track which aspects contribute
    to the compatibility score.

    Attributes:
        p1_name: First point name.
        p2_name: Second point name.
        aspect: Aspect type name.
        orbit: Orb in degrees.
    r6  r9  r<  r=  N)r1   r2   r3   r4   rK   r>   r<   r5   r&   r$   rH  rH  í  s   … ñð ƒLØƒLØƒKØ„Lr&   rH  c                   óŠ   — e Zd ZU dZ ed¬«      Zeed<    ed¬«      Zeed<    ed¬«      Z	e
ed<    ed	d
¬«      Zee   ed<   y	)ÚScoreBreakdownItemModelz8Single breakdown item explaining how points were earned.z7Rule identifier (e.g., 'destiny_sign', 'sun_sun_major')r  Úrulez&Human-readable description of the rulers   zPoints awarded for this ruleÚpointsNu'   Optional details (e.g., 'orbit: 1.5Â°')r½   Údetails)r1   r2   r3   r4   r	   rK  rK   r>   rs   rL  r=   rM  r   r5   r&   r$   rJ  rJ    sK   … ÙBáÐ"[Ô\€Dˆ#Ó\ÙÐ)QÔR€K�ÓRÙÐ$BÔC€FˆCÓCÙ"¨4Ð=fÔg€GˆX�c‰]Ôgr&   rJ  c                   óp   — e Zd ZU eed<   eed<   eed<   ee   ed<    e	e
d¬«      Zee   ed<   ee   ed<   y	)
ÚRelationshipScoreModelÚscore_valueÚscore_descriptionÚis_destiny_signÚaspectsz2Detailed breakdown of how the score was calculated)Údefault_factoryrs   Úscore_breakdownÚsubjectsN)r1   r2   r3   r=   r>   r   r“   r   rH  r	   ÚlistrU  rJ  r   r5   r&   r$   rO  rO  
  sK   … ØÓØ3Ó3ØÓØÐ.Ñ/Ó/Ù5:ØÐ*^ô6€O�TÐ1Ñ2ó ð Ð+Ñ,Ô,r&   rO  c                   ó"   — e Zd ZU eed<   eed<   y)ÚActiveAspectrr   ÚorbN)r1   r2   r3   r
   r>   r=   r5   r&   r$   rY  rY    s   … Ø
ÓØ	„Hr&   rY  c                   óP   — e Zd ZU dZ ed¬«      Zeed<    ed¬«      Ze	e
   ed<   y)ÚTransitMomentModelzò
    Model representing a snapshot of astrological transits at a specific moment in time.

    Captures all active aspects between moving celestial bodies and
    the fixed positions in a person's natal chart at a specific date and time.
    z7ISO 8601 formatted date and time of the transit moment.r  r1  z/List of aspects active at this specific moment.rS  N)r1   r2   r3   r4   r	   r1  rK   r>   rS  r   r5  r5   r&   r$   r\  r\    s.   … ññ Ð"[Ô\€Dˆ#Ó\Ù!&Ð3dÔ!e€GˆT�+ÑÔer&   r\  c                   óš   — e Zd ZU dZ ed¬«      Zed   ed<    ed¬«      Ze	e
   ed<    ed¬«      Ze	e   ed	<    ed
¬«      Ze	d   ed<   y)ÚSingleChartAspectsModelav  
    Model representing all aspects within a single astrological chart.

    This model can be used for any type of single chart analysis including:
    - Natal charts
    - Planetary return charts
    - Composite charts
    - Any other single chart type

    Contains the filtered and relevant aspects for the astrological subject
    based on configured orb settings.
    z;The astrological subject for which aspects were calculated.r  ©r   r(  r-  ÚsubjectzLList of calculated aspects within the chart, filtered based on orb settings.rS  ú.List of active points used in the calculation.r  ú/List of active aspects with their orb settings.rY  Úactive_aspectsN)r1   r2   r3   r4   r	   r`  r   r>   rS  r   r5  r  r   rc  r5   r&   r$   r^  r^  &  sn   … ññ `eØQô`€GˆUÐ[Ñ\ó ñ "'Øbô"€GˆT�+Ñó ñ .3Ð?oÔ-p€M�4Ð)Ñ*ÓpÙ+0Ð=nÔ+o€N�D˜Ñ(Ôor&   r^  c                   ó¼   — e Zd ZU dZ ed¬«      Zed   ed<    ed¬«      Zed   ed<    ed¬«      Z	e
e   ed	<    ed
¬«      Ze
e   ed<    ed¬«      Ze
d   ed<   y)ÚDualChartAspectsModela’  
    Model representing all aspects between two astrological charts.

    This model can be used for any type of dual chart analysis including:
    - Synastry (relationship compatibility)
    - Transit comparisons
    - Composite vs natal comparisons
    - Any other dual chart comparison

    Contains the filtered and relevant aspects between the two charts
    based on configured orb settings.
    zThe first astrological subject.r  r_  r)  z The second astrological subject.r*  zRList of calculated aspects between the two charts, filtered based on orb settings.rS  ra  r  rb  rY  rc  N)r1   r2   r3   r4   r	   r)  r   r>   r*  rS  r   r5  r  r   rc  r5   r&   r$   re  re  >  s�   … ññ fkØ5ôf€M�5ÐaÑbó ñ glØ6ôg€N�EÐbÑcó ñ "'Øhô"€GˆT�+Ñó ñ .3Ð?oÔ-p€M�4Ð)Ñ*ÓpÙ+0Ð=nÔ+o€N�D˜Ñ(Ôor&   re  c                   ó~   — e Zd ZU dZ ed¬«      Zee   ed<    ed¬«      Z	e
e   ed<    ed¬«      Ze
ee      ed<   y	)
ÚTransitsTimeRangeModelzú
    Model representing a collection of transit moments for an astrological subject.

    This model holds a time series of transit snapshots, allowing analysis of
    planetary movements and their aspects to a natal chart over a period of time.
    zList of transit moments.r  ÚtransitszAstrological subject data.r`  z0ISO 8601 formatted dates of all transit moments.ÚdatesN)r1   r2   r3   r4   r	   rh  r   r\  r>   r`  r   r   ri  rK   r5   r&   r$   rg  rg  ^  sN   … ññ */Ð;UÔ)V€HˆdÐ%Ñ&ÓVÙ27ÐD`Ô2a€GˆXÐ.Ñ/ÓaÙ!&Ð3eÔ!f€Eˆ8�D˜‘IÑÔfr&   rg  c                   óˆ   — e Zd ZU dZeed<   	 eed<   	 eed<   	 eed<   	 ee   ed<   	 ee   ed<   	 eed<   	 eed	<   	 eed
<   y)ÚPointInHouseModela   
    Represents an astrological point from one subject positioned within another subject's house.

    Captures point characteristics and its placement within the target subject's house system
    for house comparison analysis.

    Attributes:
        point_name: Name of the astrological point
        point_degree: Degree position within its sign
        point_sign: Zodiacal sign containing the point
        point_owner_name: Name of the subject who owns this point
        point_owner_house_number: House number in owner's chart
        point_owner_house_name: House name in owner's chart
        projected_house_number: House number in target subject's chart
        projected_house_name: House name in target subject's chart
        projected_house_owner_name: Name of the target subject
    Ú
point_nameÚpoint_degreeÚ
point_signÚpoint_owner_nameÚpoint_owner_house_numberÚpoint_owner_house_nameÚprojected_house_numberÚprojected_house_nameÚprojected_house_owner_nameN)	r1   r2   r3   r4   rK   r>   r<   r   r=   r5   r&   r$   rk  rk  k  s`   … ñð$ ƒOØ(ØÓØ?ØƒOØ,ØÓØ1Ø& s™mÓ+Ø'Ø$ S™MÓ)Ø%ØÓØ0ØÓØ.Ø #Ó#Ø$r&   rk  c                   ó”   — e Zd ZU dZeed<   	 eed<   	 ee   ed<   	 ee   ed<   	  ee	¬«      Z
ee   ed<   	  ee	¬«      Zee   ed<   y	)
ÚHouseComparisonModela  
    Bidirectional house comparison analysis between two astrological subjects.

    Contains results of how astrological points from each subject interact with
    the house system of the other subject.

    Attributes:
        first_subject_name: Name of the first subject
        second_subject_name: Name of the second subject
        first_points_in_second_houses: First subject's points in second subject's houses
        second_points_in_first_houses: Second subject's points in first subject's houses
    Úfirst_subject_nameÚsecond_subject_nameÚfirst_points_in_second_housesÚsecond_points_in_first_houses)rT  Úfirst_cusps_in_second_housesÚsecond_cusps_in_first_housesN)r1   r2   r3   r4   rK   r>   r   rk  r	   rW  r{  r|  r5   r&   r$   rv  rv  ’  sm   … ñð ÓØ#ØÓØ$Ø#'Ð(9Ñ#:Ó:ØFØ#'Ð(9Ñ#:Ó:ØFÙ<AÐRVÔ<WÐ  $Ð'8Ñ"9ÓWØKÙ<AÐRVÔ<WÐ  $Ð'8Ñ"9ÓWØKr&   rv  c                   ób   — e Zd ZU dZeed<   eed<   eed<   eed<   eed<   eed<   eed<   eed	<   y
)ÚElementDistributionModela¶  
    Model representing element distribution in a chart.

    Attributes:
        fire: Fire element points total
        earth: Earth element points total
        air: Air element points total
        water: Water element points total
        fire_percentage: Fire element percentage
        earth_percentage: Earth element percentage
        air_percentage: Air element percentage
        water_percentage: Water element percentage
    Úfirerß   ÚairÚwaterÚfire_percentageÚearth_percentageÚair_percentageÚwater_percentageN©r1   r2   r3   r4   r<   r>   r=   r5   r&   r$   r~  r~  ®  s5   … ñð ƒKØƒLØ	ƒJØƒLØÓØÓØÓØÔr&   r~  c                   óN   — e Zd ZU dZeed<   eed<   eed<   eed<   eed<   eed<   y)	ÚQualityDistributionModelay  
    Model representing quality distribution in a chart.

    Attributes:
        cardinal: Cardinal quality points total
        fixed: Fixed quality points total
        mutable: Mutable quality points total
        cardinal_percentage: Cardinal quality percentage
        fixed_percentage: Fixed quality percentage
        mutable_percentage: Mutable quality percentage
    ÚcardinalÚfixedÚmutableÚcardinal_percentageÚfixed_percentageÚmutable_percentageNr†  r5   r&   r$   rˆ  rˆ  Ç  s*   … ñ
ð ƒOØƒLØƒNØÓØÓØÔr&   rˆ  c                   óv   — e Zd ZU dZed   ed<   ed   ed<   ee   ed<   ded<   d	ed
<   ee	   ed<   ed   ed<   y)ÚSingleChartDataModelaÖ  
    Chart data model for single-subject astrological charts.

    This model contains all pure data from single-subject charts including planetary
    positions, internal aspects, element/quality distributions, and location data.
    Used for chart types that analyze a single astrological subject.

    Supported chart types:
    - Natal: Birth chart with internal planetary aspects
    - Composite: Midpoint relationship chart with internal aspects
    - SingleReturnChart: Single planetary return with internal aspects

    Attributes:
        chart_type: Type of single chart (Natal, Composite, SingleReturnChart)
        subject: The astrological subject being analyzed
        aspects: Internal aspects within the chart
        element_distribution: Distribution of elemental energies
        quality_distribution: Distribution of modal qualities
        active_points: Celestial points included in calculations
        active_aspects: Aspect types and orb settings used
    )ÚNatalÚ	CompositeÚSingleReturnChartÚ
chart_typer_  r`  rS  r~  Úelement_distributionrˆ  Úquality_distributionr  rY  rc  N)
r1   r2   r3   r4   r   r>   r   r   r5  r   r5   r&   r$   r�  r�  Ü  sW   … ñð. ÐAÑBÓBð Ð[Ñ\Ó\ð �+ÑÓð 5Ó4Ø4Ó4ð Ð)Ñ*Ó*Ø˜Ñ(Ô(r&   r�  c                   ó®   — e Zd ZU dZed   ed<   ed   ed<   ed   ed<   ee   ed<   d	Z	e
d
   ed<   d	Ze
d   ed<   ded<   ded<   ee   ed<   ed   ed<   y	)ÚDualChartDataModelaÌ  
    Chart data model for dual-subject astrological charts.

    This model contains all pure data from dual-subject charts including both subjects,
    inter-chart aspects, house comparisons, relationship analysis, and combined
    element/quality distributions. Used for chart types that compare or overlay
    two astrological subjects.

    Supported chart types:
    - Transit: Natal chart with current planetary transits
    - Synastry: Relationship compatibility between two people
    - Return: Natal chart with planetary return comparison

    Attributes:
        chart_type: Type of dual chart (Transit, Synastry, Return)
        first_subject: Primary astrological subject (natal, base chart)
        second_subject: Secondary astrological subject (transit, partner, return)
        aspects: Inter-chart aspects between the two subjects
        house_comparison: House overlay analysis between subjects
        relationship_score: Compatibility scoring (synastry only)
        element_distribution: Combined elemental distribution
        quality_distribution: Combined modal distribution
        active_points: Celestial points included in calculations
        active_aspects: Aspect types and orb settings used
    )ÚTransitÚSynastryÚDualReturnChartr”  r_  r)  )r   r-  r*  rS  Nrv  Úhouse_comparisonrO  Úrelationship_scorer~  r•  rˆ  r–  r  rY  rc  )r1   r2   r3   r4   r   r>   r   r   r5  rœ  r   r�  r   r5   r&   r$   r˜  r˜    sŠ   … ñð6 Ð@ÑAÓAð ÐaÑbÓbØÐIÑJÓJð �+ÑÓð :>Ð�hÐ5Ñ6Ó=ð >BÐ˜Ð!9Ñ:ÓAð 5Ó4Ø4Ó4ð Ð)Ñ*Ó*Ø˜Ñ(Ô(r&   r˜  N)Mr4   Útypingr   r   r   r   Útyping_extensionsr   Úpydanticr   r	   Úkerykeion.schemas.kr_literalsr
   Úkerykeion.schemasr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r7   r@   rE   rM   rW   r[   r_   rd   rh   ro   ru   ry   r   rƒ   rˆ   r�   r•   r—   r¨   r¯   r´   rÂ   r   r(  r-  r0  r5  rF  rH  rJ  rO  rY  r\  r^  re  ÚNatalAspectsModelÚSynastryAspectsModelrg  rk  rv  r~  rˆ  r�  r˜  ÚChartDataModelr5   r&   r$   ú<module>r¦     s¬  ðñ÷8 2Ó 1Ý 'ß %Ý 4÷÷ ÷ ÷ ó õ$ 5ô+˜Yô +ô,$Ð,ô $ô"%Ð 6ô %ô-Ð!7ô -ôDÐ2ô Dô$
Ð1ô 
ô(Ð!7ô (ô&-Ð%;ô -ôKÐ&<ô Kô	IÐ5ô 	Iô
&Ð 6ô 
&ô5Ð%;ô 5ôBÐ#9ô Bô(Ð(>ô (ôMÐ!7ô Mô	0Ð)?ô 	0ôPÐ1ô Pô-Ð2ô -ô2Ð 6ô 2ô4	Ð3ô 	ô6Ð3ô 6ô 6Ð0ô 6ôrlbÐ2ô lbô^-Ð4ô -ô`Ð1ô ô(RÐ-ô Rô &Ð/ô &ô$+Ð(ô +ô\Ð,ô ô.Ð#9ô ô(hÐ4ô hô-Ð3ô -ô�9ô ô
	fÐ/ô 	fôpÐ4ô pô0pÐ2ô pð8 ,Ð Ø,Ð ô
gÐ3ô 
gô$%Ð.ô $%ôNLÐ1ô Lô8Ð5ô ô2Ð5ô ô*&)Ð1ô &)ôR1)Ð/ô 1)ðj Ð+Ð-?Ð?Ñ@�r&   