gis-tools-ts - v0.6.0
    Preparing search index...

    Class GTFSAttribution

    Attributions

    Optional Defines the attributions applied to the dataset or parts of it. If agency_id, route_id, or trip_id is specified, the attribution applies only to that entity. If none are specified, the attribution applies to the entire dataset.

    Primary Key: (attribution_id) - optional

    Index

    Constructors

    • Parameters

      • data: Record<string, string>

        the parsed GTFS CSV data

      Returns GTFSAttribution

    Properties

    agencyId?: string

    Optional Agency to which this attribution applies (agency.agency_id). Must be empty if route_id or trip_id are specified.

    attributionEmail?: string

    Optional Email of the organization.

    attributionPhone?: string

    Optional Phone number of the organization.

    attributionUrl?: string

    Optional URL of the organization.

    id?: string

    Optional Unique ID that identifies this attribution record. Useful if multiple attributions exist or for referencing translations.

    isAuthority?: GTFSAttributionRole

    Optional 0 or empty = Not an authority, 1 = Is an authority

    isOperator?: GTFSAttributionRole

    Optional 0 or empty = Not an operator, 1 = Is an operator

    isProducer?: GTFSAttributionRole

    Optional 0 or empty = Not a producer, 1 = Is a producer

    organizationName: string

    Required Organization name to which the dataset is attributed.

    routeId?: string

    Optional Route to which this attribution applies (routes.route_id). Must be empty if agency_id or trip_id are specified.

    tripId?: string

    Optional Trip to which this attribution applies (trips.trip_id). Must be empty if agency_id or route_id are specified.