{
  "agency": {
    "country": "PT",
    "id": "metro-sul-do-tejo",
    "name": "Metro Sul do Tejo",
    "operating_note": "The official National Access Point still designates the dated archive as the current MTS feed, and its service calendar passed the 60-day gate.",
    "subdivision_code": "PT-15",
    "subdivision_name": "Set\u00fabal"
  },
  "categories": {
    "completeness": {
      "details": {
        "accessibility": {
          "measures": "presence_not_usability",
          "score": 100.0,
          "stops_marked_accessible_pct": 100.0,
          "stops_marked_not_accessible_pct": 0.0,
          "stops_stated_pct": 100.0,
          "trips_stated_pct": 100.0
        },
        "accessibility_measures": "presence_not_usability",
        "cemv": {
          "declared": false,
          "supported": false
        },
        "components": {
          "contact": 15.0,
          "fares": 0.0,
          "headsigns": 15.0,
          "stop_names": 15.0,
          "wheelchair_stops": 25.0,
          "wheelchair_trips": 15.0
        },
        "fare_free": false,
        "fares": {
          "applied": false,
          "has_leg_rules": false,
          "has_products": false,
          "has_transfer_rules": false,
          "model": "none",
          "product_count": 0
        },
        "flex": {
          "booking_reachable": false,
          "booking_rule_count": 0,
          "has_booking_rules": false,
          "has_flex": false
        },
        "has_fares": false,
        "headsign_applicable_trips": 2067,
        "headsign_loop_exempt_trips": 0,
        "headsign_pct": 100.0,
        "headsign_scored_pct": 100.0,
        "headsign_stop_headsign_trips": 0,
        "mixed_case_stop_name_pct": 100.0,
        "pathways": {
          "has_entrances": false,
          "has_levels": false,
          "has_pathways": false,
          "has_stations": false,
          "has_step_free": false,
          "pathway_count": 0
        },
        "stops": 19,
        "translations": {
          "feed_lang": "pt",
          "has_translations": false,
          "languages": [],
          "translated_tables": [],
          "translation_count": 0
        },
        "trips": 2067,
        "unmeasured_components": [],
        "wheelchair_accessible_pct": 100.0,
        "wheelchair_boarding_pct": 100.0,
        "wheelchair_marked_accessible_pct": 100.0,
        "wheelchair_marked_not_accessible_pct": 0.0
      },
      "findings": [
        {
          "code": "scorecard_no_fare_data",
          "consequence": {
            "absences": [
              "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
              "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
            ],
            "code": "scorecard_no_fare_data",
            "line": "This one is about the feed as a whole, so there is no share of it to count.",
            "reach": {
              "affected": null,
              "basis": "none",
              "basis_label": null,
              "reason": "feed_level",
              "share": null,
              "total": null,
              "total_source": null
            },
            "ridership": {
              "annual_rider_trips": null,
              "ntd_id": null,
              "reason": "outside_ridership_scope"
            },
            "served_area_need": {
              "reason": "outside_need_scope",
              "scale": null,
              "tier": null
            }
          },
          "count": 1,
          "effort": "A small file for most flat-fare systems.",
          "fix": "Add fare_attributes.txt (or Fares v2 files) with your fare structure. If your service is fare-free, ask to have it marked fare-free instead.",
          "owner": "",
          "points": 15.0,
          "severity": "WARNING",
          "what": "The feed contains no fare information.",
          "why": "Riders see 'fare unknown' in trip planners and can't budget their trip; visitors are most affected."
        }
      ],
      "name": "completeness",
      "score": 85.0,
      "status": "measured",
      "summary": "100% of stops state wheelchair accessibility (100% marked accessible, 0% marked not accessible). This measures what the feed publishes, not whether a stop is physically usable. Fare data is not published.",
      "weight": 0.25
    },
    "correctness": {
      "details": {
        "distinct_codes": 7,
        "instances_by_severity": {
          "ERROR": 0,
          "INFO": 20,
          "WARNING": 5
        },
        "validator_version": "8.0.1"
      },
      "findings": [
        {
          "code": "stops_match_shape_out_of_order",
          "consequence": {
            "absences": [
              "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
              "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
            ],
            "code": "stops_match_shape_out_of_order",
            "line": "This is a validator notice, and the validator decides what each instance covers, so no share of the network can be read from it here.",
            "reach": {
              "affected": null,
              "basis": "none",
              "basis_label": null,
              "reason": "validator_notice",
              "share": null,
              "total": null,
              "total_source": null
            },
            "ridership": {
              "annual_rider_trips": null,
              "ntd_id": null,
              "reason": "outside_ridership_scope"
            },
            "served_area_need": {
              "reason": "outside_need_scope",
              "scale": null,
              "tier": null
            }
          },
          "count": 4,
          "effort": "A few minutes per flagged trip.",
          "fix": "Check the stop order and the shape direction in your scheduling software; the shape is often drawn backwards.",
          "owner": "Likely your export tool",
          "points": 4.0,
          "severity": "WARNING",
          "what": "On some trips the stops fall along the route line in a different order than the schedule lists.",
          "why": "Trip planners can draw the transit vehicle doubling back or skipping ahead, which confuses riders reading the map."
        },
        {
          "code": "expired_calendar",
          "consequence": {
            "absences": [
              "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
              "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
            ],
            "code": "expired_calendar",
            "line": "This is a validator notice, and the validator decides what each instance covers, so no share of the network can be read from it here.",
            "reach": {
              "affected": null,
              "basis": "none",
              "basis_label": null,
              "reason": "validator_notice",
              "share": null,
              "total": null,
              "total_source": null
            },
            "ridership": {
              "annual_rider_trips": null,
              "ntd_id": null,
              "reason": "outside_ridership_scope"
            },
            "served_area_need": {
              "reason": "outside_need_scope",
              "scale": null,
              "tier": null
            }
          },
          "count": 1,
          "effort": "One setting in most export tools.",
          "fix": "Remove past service periods the next time you export the feed.",
          "owner": "Likely your export tool",
          "points": 4.0,
          "severity": "WARNING",
          "what": "Some service calendars in the feed have already ended.",
          "why": "Expired calendars are dead weight and can hide real schedule problems from your staff and vendors."
        },
        {
          "code": "unknown_column",
          "consequence": {
            "absences": [
              "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
              "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
            ],
            "code": "unknown_column",
            "line": "This is a validator notice, and the validator decides what each instance covers, so no share of the network can be read from it here.",
            "reach": {
              "affected": null,
              "basis": "none",
              "basis_label": null,
              "reason": "validator_notice",
              "share": null,
              "total": null,
              "total_source": null
            },
            "ridership": {
              "annual_rider_trips": null,
              "ntd_id": null,
              "reason": "outside_ridership_scope"
            },
            "served_area_need": {
              "reason": "outside_need_scope",
              "scale": null,
              "tier": null
            }
          },
          "count": 13,
          "effort": "A quick look at the flagged files.",
          "fix": "Check the flagged column names for misspellings of standard GTFS fields; remove them if they are vendor extras.",
          "owner": "",
          "points": 0.8,
          "severity": "INFO",
          "what": "Some files contain columns that are not part of the GTFS spec.",
          "why": "Harmless to riders, but apps ignore these columns and they can hide typos in real column names."
        },
        {
          "code": "big_gap_in_service",
          "consequence": {
            "absences": [
              "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
              "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
            ],
            "code": "big_gap_in_service",
            "line": "This is a validator notice, and the validator decides what each instance covers, so no share of the network can be read from it here.",
            "reach": {
              "affected": null,
              "basis": "none",
              "basis_label": null,
              "reason": "validator_notice",
              "share": null,
              "total": null,
              "total_source": null
            },
            "ridership": {
              "annual_rider_trips": null,
              "ntd_id": null,
              "reason": "outside_ridership_scope"
            },
            "served_area_need": {
              "reason": "outside_need_scope",
              "scale": null,
              "tier": null
            }
          },
          "count": 2,
          "effort": "A review of your calendar dates.",
          "fix": "Check whether the gap is real, like a seasonal break; if not, add the missing dates to the calendar.",
          "owner": "",
          "points": 0.5,
          "severity": "INFO",
          "what": "The feed has a stretch of two weeks or more with no service running.",
          "why": "A long gap can mean dates were left out of the calendar. Apps then show no trips on those days."
        },
        {
          "code": "service_extends_far_in_the_future",
          "consequence": {
            "absences": [
              "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
              "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
            ],
            "code": "service_extends_far_in_the_future",
            "line": "This is a validator notice, and the validator decides what each instance covers, so no share of the network can be read from it here.",
            "reach": {
              "affected": null,
              "basis": "none",
              "basis_label": null,
              "reason": "validator_notice",
              "share": null,
              "total": null,
              "total_source": null
            },
            "ridership": {
              "annual_rider_trips": null,
              "ntd_id": null,
              "reason": "outside_ridership_scope"
            },
            "served_area_need": {
              "reason": "outside_need_scope",
              "scale": null,
              "tier": null
            }
          },
          "count": 2,
          "effort": "Varies.",
          "fix": "Review the rule documentation for 'service_extends_far_in_the_future' at https://gtfs-validator.mobilitydata.org/rules.html and check the flagged rows in your feed.",
          "owner": "",
          "points": 0.5,
          "severity": "INFO",
          "what": "Service extends far in the future (flagged by the MobilityData validator).",
          "why": "See the linked rule for what this affects."
        },
        {
          "code": "service_window_outside_feed_period",
          "consequence": {
            "absences": [
              "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
              "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
            ],
            "code": "service_window_outside_feed_period",
            "line": "This is a validator notice, and the validator decides what each instance covers, so no share of the network can be read from it here.",
            "reach": {
              "affected": null,
              "basis": "none",
              "basis_label": null,
              "reason": "validator_notice",
              "share": null,
              "total": null,
              "total_source": null
            },
            "ridership": {
              "annual_rider_trips": null,
              "ntd_id": null,
              "reason": "outside_ridership_scope"
            },
            "served_area_need": {
              "reason": "outside_need_scope",
              "scale": null,
              "tier": null
            }
          },
          "count": 2,
          "effort": "Two fields in feed_info.txt, or one export setting.",
          "fix": "Widen feed_start_date and feed_end_date to cover all service dates, or fix the dates that fall outside.",
          "owner": "Likely your export tool",
          "points": 0.5,
          "severity": "INFO",
          "what": "Some service dates fall outside the date window set in feed_info.txt.",
          "why": "feed_info.txt should span every day your service runs, so apps know when the data applies."
        },
        {
          "code": "unknown_file",
          "consequence": {
            "absences": [
              "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
              "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
            ],
            "code": "unknown_file",
            "line": "This is a validator notice, and the validator decides what each instance covers, so no share of the network can be read from it here.",
            "reach": {
              "affected": null,
              "basis": "none",
              "basis_label": null,
              "reason": "validator_notice",
              "share": null,
              "total": null,
              "total_source": null
            },
            "ridership": {
              "annual_rider_trips": null,
              "ntd_id": null,
              "reason": "outside_ridership_scope"
            },
            "served_area_need": {
              "reason": "outside_need_scope",
              "scale": null,
              "tier": null
            }
          },
          "count": 1,
          "effort": "A quick look at the flagged file.",
          "fix": "Check the flagged file name for a typo of a standard GTFS file. Remove it if it is a vendor extra.",
          "owner": "",
          "points": 0.5,
          "severity": "INFO",
          "what": "The feed includes a file that is not part of the GTFS spec.",
          "why": "Apps ignore files they don't know, and a stray file can hide a misspelled standard file name."
        }
      ],
      "name": "correctness",
      "score": 89.2,
      "status": "measured",
      "summary": "The MobilityData validator flagged 7 kinds of issue across 25 instances (0 error, 5 warning, 20 informational).",
      "weight": 0.35
    },
    "freshness": {
      "details": {
        "days_until_expiry": 1174,
        "effective_expiry_date": "2030-01-01",
        "expiry_limited_by": "feed_end_date",
        "feed_end_date": "2030-01-01",
        "feed_start_date": "2024-01-01",
        "feed_version": "1.0",
        "has_feed_info": true,
        "last_service_date": "2032-12-31",
        "seasonal_boundary": false,
        "service_horizon_review_years": 10,
        "service_horizon_status": "within_review_threshold",
        "service_type": "fixed"
      },
      "findings": [],
      "name": "freshness",
      "score": 100.0,
      "status": "measured",
      "summary": "Service data covers the next 1174 days.",
      "weight": 0.2
    },
    "realtime": {
      "name": "realtime",
      "status": "not_yet_measured",
      "summary": "Not scored yet. Nothing here counts against the grade.",
      "weight": 0.2
    }
  },
  "confidence": {
    "feed_age_days": 0,
    "fetch_source": "origin",
    "level": "medium",
    "measured_categories": 3,
    "notes": [
      "Realtime quality was not measured this run. It does not count against the grade.",
      "The feed was downloaded from the official feed URL on file."
    ],
    "rt_windows": 0,
    "total_categories": 4
  },
  "conformance": {
    "awarded": true,
    "criteria": [
      {
        "detail": "Passes validation with no errors.",
        "key": "valid",
        "met": true
      },
      {
        "detail": "Service data covers the next 1174 days.",
        "key": "current",
        "met": true
      },
      {
        "detail": "States wheelchair access on 100% of stops and 100% of trips.",
        "key": "accessible",
        "met": true
      }
    ],
    "status": "awarded",
    "summary": "This feed earns the conformance mark: valid, current, and stating wheelchair access on nearly every stop and trip.",
    "version": 2
  },
  "feed": {
    "license_note": "CC BY 4.0 through Portugal's National Access Point; credit Metro Transportes do Sul.",
    "reachable": true,
    "sha256": "ce0cca2c4bb42b53f3189d679221d3644b43d2016cab78ee77e6e05c6cd60db0",
    "size_bytes": 245810,
    "source_provenance": "official",
    "static_url": "https://mts.pt/imt/MTS-20240129.zip"
  },
  "fetch": {
    "final_url": "https://mts.pt/imt/MTS-20240129.zip",
    "max_attempts": 4,
    "reader_archive_profile": "raw-v1",
    "source": "origin",
    "user_agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
  },
  "generated_at": "2026-10-15T00:00:00+00:00",
  "geo": {
    "bbox": [
      -9.20717,
      38.63712,
      -9.14738,
      38.68755
    ],
    "lat": 38.66553,
    "lon": -9.16001,
    "stop_count": 19
  },
  "mode_profile": {
    "ferry_only": false,
    "graded": false,
    "has_ferry": false,
    "is_multimodal": false,
    "measured": true,
    "modes": [
      {
        "key": "tram",
        "label": "Tram / light rail",
        "route_count": 3,
        "trip_count": 2067,
        "trip_share_pct": 100.0
      }
    ],
    "primary_mode": "tram",
    "primary_mode_label": "Tram / light rail",
    "route_count": 3,
    "trip_count": 2067
  },
  "overall": {
    "grade": "A",
    "margin_to_lower_band": 0.6,
    "margin_to_next_band": null,
    "score": 90.6
  },
  "recommendations": [
    {
      "category": "accessibility",
      "code": "scorecard_route_color_low_contrast",
      "count": 2,
      "effort": "A per-route color setting in your scheduling software.",
      "fix": "Adjust route_color or route_text_color so each pair clears 4.5:1. Often switching the text between black and white is enough.",
      "owner": "Likely your export tool",
      "points": 0.0,
      "severity": "WARNING",
      "what": "2 route badge(s) pair a color and text color below the WCAG 4.5:1 contrast bar (1, 3).",
      "why": "Riders with low vision struggle to read a low-contrast route badge. It also washes out on a phone screen in sunlight at the stop."
    }
  ],
  "routability": {
    "boardable_stops": 19,
    "findings": [],
    "orphan_stops": 0,
    "single_stop_trips": 0,
    "trips_total": 2067
  },
  "route_map": {
    "drawn_route_count": 3,
    "has_shapes": true,
    "path": "data/artifacts/metro-sul-do-tejo/geometry.geojson",
    "route_count": 3,
    "routes": [
      {
        "color": "00A3E8",
        "color_name": "teal",
        "has_shape": true,
        "id": "1_0",
        "label": "1",
        "long": "Corroios - Cacilhas",
        "short": "1",
        "text_color": "FFFFFF",
        "type_label": "Tram / light rail"
      },
      {
        "color": "FBCD01",
        "color_name": "yellow",
        "has_shape": true,
        "id": "2_0",
        "label": "2",
        "long": "Corroios - Pragal",
        "short": "2",
        "text_color": "000000",
        "type_label": "Tram / light rail"
      },
      {
        "color": "BBCF16",
        "color_name": "yellow",
        "has_shape": true,
        "id": "3_0",
        "label": "3",
        "long": "Cacilhas - Universidade",
        "short": "3",
        "text_color": "FFFFFF",
        "type_label": "Tram / light rail"
      }
    ],
    "stop_count": 19,
    "stop_points_capped": false
  },
  "rubric_version": "1.4",
  "schema_version": "1.19",
  "scoring_profile": {
    "id": "gtfs-scorecard-1.4",
    "provenance": "GTFS Scorecard's project-authored weights, deductions, thresholds, grade bands, and fix ranking, informed by the California Transit Data Guidelines and the MobilityData gtfs-validator. It is not a worldwide standard or a compliance determination.",
    "rubric_version": "1.4"
  },
  "snapshot_date": "2026-10-15",
  "top_fixes": [
    {
      "code": "scorecard_no_fare_data",
      "consequence": {
        "absences": [
          "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
          "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
        ],
        "code": "scorecard_no_fare_data",
        "line": "This one is about the feed as a whole, so there is no share of it to count.",
        "reach": {
          "affected": null,
          "basis": "none",
          "basis_label": null,
          "reason": "feed_level",
          "share": null,
          "total": null,
          "total_source": null
        },
        "ridership": {
          "annual_rider_trips": null,
          "ntd_id": null,
          "reason": "outside_ridership_scope"
        },
        "served_area_need": {
          "reason": "outside_need_scope",
          "scale": null,
          "tier": null
        }
      },
      "count": 1,
      "effort": "A small file for most flat-fare systems.",
      "fix": "Add fare_attributes.txt (or Fares v2 files) with your fare structure. If your service is fare-free, ask to have it marked fare-free instead.",
      "owner": "",
      "points": 15.0,
      "rank": 1,
      "severity": "WARNING",
      "what": "The feed contains no fare information.",
      "why": "Riders see 'fare unknown' in trip planners and can't budget their trip; visitors are most affected."
    },
    {
      "code": "stops_match_shape_out_of_order",
      "consequence": {
        "absences": [
          "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
          "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
        ],
        "code": "stops_match_shape_out_of_order",
        "line": "This is a validator notice, and the validator decides what each instance covers, so no share of the network can be read from it here.",
        "reach": {
          "affected": null,
          "basis": "none",
          "basis_label": null,
          "reason": "validator_notice",
          "share": null,
          "total": null,
          "total_source": null
        },
        "ridership": {
          "annual_rider_trips": null,
          "ntd_id": null,
          "reason": "outside_ridership_scope"
        },
        "served_area_need": {
          "reason": "outside_need_scope",
          "scale": null,
          "tier": null
        }
      },
      "count": 4,
      "effort": "A few minutes per flagged trip.",
      "fix": "Check the stop order and the shape direction in your scheduling software; the shape is often drawn backwards.",
      "owner": "Likely your export tool",
      "points": 4.0,
      "rank": 2,
      "severity": "WARNING",
      "what": "On some trips the stops fall along the route line in a different order than the schedule lists.",
      "why": "Trip planners can draw the transit vehicle doubling back or skipping ahead, which confuses riders reading the map."
    },
    {
      "code": "expired_calendar",
      "consequence": {
        "absences": [
          "Rider-trip figures come from the United States National Transit Database, which does not cover this feed's country.",
          "The served-area need overlays cover the United States and Canada, so none of them applies to this feed."
        ],
        "code": "expired_calendar",
        "line": "This is a validator notice, and the validator decides what each instance covers, so no share of the network can be read from it here.",
        "reach": {
          "affected": null,
          "basis": "none",
          "basis_label": null,
          "reason": "validator_notice",
          "share": null,
          "total": null,
          "total_source": null
        },
        "ridership": {
          "annual_rider_trips": null,
          "ntd_id": null,
          "reason": "outside_ridership_scope"
        },
        "served_area_need": {
          "reason": "outside_need_scope",
          "scale": null,
          "tier": null
        }
      },
      "count": 1,
      "effort": "One setting in most export tools.",
      "fix": "Remove past service periods the next time you export the feed.",
      "owner": "Likely your export tool",
      "points": 4.0,
      "rank": 3,
      "severity": "WARNING",
      "what": "Some service calendars in the feed have already ended.",
      "why": "Expired calendars are dead weight and can hide real schedule problems from your staff and vendors."
    }
  ],
  "validator_version": "8.0.1"
}
