forked from deedy/edgar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.py
More file actions
29 lines (26 loc) · 685 Bytes
/
schema.py
File metadata and controls
29 lines (26 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from dataclasses import dataclass
from typing import List, Optional, Dict, Tuple
@dataclass
class Education:
degree: str
field: str
university: str
year: Optional[int] = None
@dataclass
class Executive:
name: str
age: Optional[int]
current_role: str
past_roles: List[str]
education: List[Education]
compensation_salary: float
compensation_stock: float
compensation_bonus: float
compensation_other: float
compensation_total: float
compensation_year: int
start_date: Optional[str]
board_member: bool
committee_memberships: List[str]
other_board_memberships: List[str]
notable_achievements: Optional[str]