VisitorCenter
public struct VisitorCenter : Decodable, Identifiable
Visitor center data includes location, contact, and operating hours information for visitor centers and other visitor contact facilities in national parks At least one visitor center is listed for each park; some parks with multiple visitor centers may include information about more than one
-
ID
Declaration
Swift
public let id: String
-
A variable width character code used to identify a specific park
Declaration
Swift
public let parkCode: String
-
News release title
Declaration
Swift
public let name: String
-
General description of the facility
Declaration
Swift
public let description: String
-
Date news release was released
Declaration
Swift
public let directionsInfo: String?
-
Link to full news release
Declaration
Swift
public let directionsUrl: URL?
-
News release image
Declaration
Swift
public let gpsLocation: CLLocation?
-
Visitor Center addresses (physical and mailing)
Declaration
Swift
public let addresses: [Address]?
-
Hours and seasons when the visitor center is open or closed
Declaration
Swift
public let operatingHours: [OperatingHour]?
-
Undocumented
Declaration
Swift
public let contacts: ContactInformation?
-
Declaration
Swift
public init(from decoder: Decoder) throws