| from pydantic import BaseModel, Field |
| from typing import List, Optional, Dict, Any |
|
|
| class PlanetPosition(BaseModel): |
| name: str |
| longitude: float |
| latitude: float |
| speed: float |
| house: int |
| is_retrograde: bool |
| gate: Optional[int] = None |
| line: Optional[int] = None |
|
|
| class HexagramAddress(BaseModel): |
| gate: int |
| line: int |
| color: int |
| tone: int |
| base: int |
|
|
| class CognitiveProfile(BaseModel): |
| digestion: str |
| environment: str |
| perspective: str |
| motivation: str |
| orientation_mind: str |
| orientation_body: str |
|
|
| class GeoLocation(BaseModel): |
| latitude: float |
| longitude: float |
|
|