Skip to content

Commit

Permalink
Bug fix: SFOId is the new SFOMuseumId in campus/campus.go
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisaaronland committed Sep 29, 2021
1 parent 6ca7996 commit 7bbea1b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions campus/campus.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package campus
// type Campus is a lightweight data structure to represent the SFO campus with pointers its descendants.
type Campus struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfo:id"`
SFOId string `json:"sfo:id"`
Complex *Complex `json:"complex"`
Garages []*Garage `json:"garages"`
// Buildings []*Building `json:"buildings,omitempty"`
Expand All @@ -14,37 +14,37 @@ type Campus struct {
// type Garage is a lightweight data structure to represent garages at SFO with pointers its descendants.
type Garage struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfo:id"`
SFOId string `json:"sfo:id"`
PublicArt []*PublicArt `json:"publicart"`
}

// type Complex is a lightweight data structure to represent the terminal complex at SFO with pointers its descendants.
type Complex struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfo:id"`
SFOId string `json:"sfo:id"`
Terminals []*Terminal `json:"terminals"`
}

// type ObservationDeck is a lightweight data structure to represent observation decks at SFO with pointers its descendants.
type ObservationDeck struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfo:id"`
SFOId string `json:"sfo:id"`
PublicArt []*PublicArt `json:"publicart"`
Galleries []*Gallery `json:"galleries"`
}

// type Terminal is a lightweight data structure to represent terminals at SFO with pointers its descendants.
type Terminal struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfo:id"`
SFOId string `json:"sfo:id"`
CommonAreas []*CommonArea `json:"commonareas"`
BoardingAreas []*BoardingArea `json:"boardingareas"`
}

// type CommonArea is a lightweight data structure to represent common areas at SFO with pointers its descendants.
type CommonArea struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfo:id"`
SFOId string `json:"sfo:id"`
Gates []*Gate `json:"gates"`
Checkpoints []*Checkpoint `json:"checkpoints"`
Galleries []*Gallery `json:"galleries"`
Expand All @@ -55,7 +55,7 @@ type CommonArea struct {
// type BoardingArea is a lightweight data structure to represent boarding areas at SFO with pointers its descendants.
type BoardingArea struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfo:id"`
SFOId string `json:"sfo:id"`
Gates []*Gate `json:"gates"`
Checkpoints []*Checkpoint `json:"checkpoints"`
Galleries []*Gallery `json:"galleries"`
Expand All @@ -66,23 +66,23 @@ type BoardingArea struct {
// type Gallery is a lightweight data structure to represent SFO Museum galleries at SFO.
type Gallery struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfomuseum:id"`
SFOId string `json:"sfomuseum:id"`
}

// type Gate is a lightweight data structure to represent passenger gates at SFO.
type Gate struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfo:id"`
SFOId string `json:"sfo:id"`
}

// type Checkpoint is a lightweight data structure to represent security checkpoints at SFO.
type Checkpoint struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfo:id"`
SFOId string `json:"sfo:id"`
}

// type PublicArt is a lightweight data structure to represent public art works at SFO.
type PublicArt struct {
WhosOnFirstId int64 `json:"id"`
SFOMuseumId string `json:"sfomuseum:id"`
SFOId string `json:"sfomuseum:id"`
}

0 comments on commit 7bbea1b

Please sign in to comment.