@@ -17,11 +17,18 @@ type Subproject struct {
1717 Contact Contact `yaml:"contact"`
1818}
1919
20- // Person struct to hold person data, including company.
20+ // Term struct to hold start and end dates.
21+ type Term struct {
22+ Start string `yaml:"start,omitempty"`
23+ End string `yaml:"end,omitempty"`
24+ }
25+
26+ // Person struct to hold person data, including company and term.
2127type Person struct {
2228 Name string `yaml:"name"`
2329 GitHub string `yaml:"github"`
2430 Company string `yaml:"company,omitempty"`
31+ Term Term `yaml:"term,omitempty"` // ADDED: Term for leadership roles
2532}
2633
2734// Leadership struct to hold all leadership roles.
@@ -42,7 +49,7 @@ type Meeting struct {
4249type Contact struct {
4350 Slack string `yaml:"slack"`
4451 MailingList string `yaml:"mailing_list"`
45- TOCLiaison []Person `yaml:"toc_liaison"` // FIXED: Changed from 'Person' to '[]Person'
52+ TOCLiaison []Person `yaml:"toc_liaison"`
4653}
4754
4855// Tag struct to hold tag data, including CharterLink and Subprojects.
@@ -55,7 +62,7 @@ type Tag struct {
5562 Contact Contact `yaml:"contact"`
5663 TagSubprojects []Subproject `yaml:"tag_subprojects"`
5764 CharterLink string `yaml:"charter_link"`
58- TagInitiatives string `yaml:"tag_initiatives"` // ADDED THIS LINE
65+ TagInitiatives string `yaml:"tag_initiatives"`
5966}
6067
6168// TOCSubproject struct to hold TOC subproject data, including CharterLink.
@@ -67,7 +74,7 @@ type TOCSubproject struct {
6774 Meetings []Meeting `yaml:"meetings"`
6875 Contact Contact `yaml:"contact"`
6976 CharterLink string `yaml:"charter_link"`
70- SubprojectInitiatives string `yaml:"subproject_initiatives"` // ADDED THIS LINE
77+ SubprojectInitiatives string `yaml:"subproject_initiatives"`
7178}
7279
7380// Config struct to hold the entire configuration.
0 commit comments