{
  "agency": {
    "country": "MY",
    "id": "ktmb-national",
    "name": "Keretapi Tanah Melayu (KTMB)",
    "operating_note": "Malaysia's national railway: the KTM Komuter commuter lines and the intercity shuttle services across Peninsular Malaysia. Carried as a national feed with no single subdivision; counted as one feed record."
  },
  "categories": {
    "completeness": {
      "details": {
        "accessibility": {
          "measures": "presence_not_usability",
          "score": 0.0,
          "stops_marked_accessible_pct": 0.0,
          "stops_marked_not_accessible_pct": 0.0,
          "stops_stated_pct": 0.0,
          "trips_stated_pct": 0.0
        },
        "accessibility_measures": "presence_not_usability",
        "cemv": {
          "declared": false,
          "supported": false
        },
        "components": {
          "contact": 7.5,
          "fares": 0.0,
          "headsigns": 0.0,
          "stop_names": 0.2,
          "wheelchair_stops": 0.0,
          "wheelchair_trips": 0.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": 374,
        "headsign_loop_exempt_trips": 0,
        "headsign_pct": 0.0,
        "headsign_scored_pct": 0.0,
        "mixed_case_stop_name_pct": 1.3,
        "pathways": {
          "has_entrances": false,
          "has_levels": false,
          "has_pathways": false,
          "has_stations": false,
          "has_step_free": false,
          "pathway_count": 0
        },
        "stops": 156,
        "translations": {
          "feed_lang": null,
          "has_translations": false,
          "languages": [],
          "translated_tables": [],
          "translation_count": 0
        },
        "trips": 374,
        "unmeasured_components": [],
        "wheelchair_accessible_pct": 0.0,
        "wheelchair_boarding_pct": 0.0,
        "wheelchair_marked_accessible_pct": 0.0,
        "wheelchair_marked_not_accessible_pct": 0.0
      },
      "findings": [
        {
          "code": "scorecard_wheelchair_boarding_unknown",
          "count": 156,
          "effort": "A column in stops.txt; your scheduling software likely has it.",
          "fix": "Set wheelchair_boarding to 1 (accessible) or 2 (not accessible) for every stop. A field survey can start with the busiest stops.",
          "owner": "Likely your team",
          "points": 25.0,
          "severity": "WARNING",
          "what": "156 of 156 stops don't say whether a wheelchair user can board there.",
          "why": "Riders who use wheelchairs can't plan a trip when accessibility is marked 'unknown'; apps show no information at all."
        },
        {
          "code": "scorecard_wheelchair_accessible_unknown",
          "count": 374,
          "effort": "A default or per-trip field in your export.",
          "fix": "Set wheelchair_accessible on every trip. If every vehicle is accessible, this may be one default; otherwise use the value for each trip.",
          "owner": "Likely your export tool",
          "points": 15.0,
          "severity": "WARNING",
          "what": "374 of 374 trips don't say whether the vehicle is wheelchair accessible.",
          "why": "Even with accessible stops, riders need to know the transit vehicle itself can take them."
        },
        {
          "code": "scorecard_no_fare_data",
          "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."
        },
        {
          "code": "scorecard_stop_names_all_caps",
          "count": 154,
          "effort": "Often a bulk fix in your scheduling software.",
          "fix": "Rename stops to mixed case where the language has letter case (for example, 'Central Station').",
          "owner": "Likely your export tool",
          "points": 14.8,
          "severity": "INFO",
          "what": "About 154 stop names are written in ALL CAPS.",
          "why": "Mixed-case names are easier to read in apps and are read more naturally by screen readers."
        },
        {
          "code": "scorecard_missing_headsigns",
          "count": 374,
          "effort": "Usually one value per route pattern in your scheduling source.",
          "fix": "Add the destination, direction, or 'via' label riders actually see to trip_headsign. Do not copy the route name. If the label changes during the trip, use stop_headsign.",
          "owner": "",
          "points": 15.0,
          "severity": "WARNING",
          "what": "374 of 374 trips have no headsign, the text that tells riders where the transit vehicle is going.",
          "why": "When a route has multiple directions or patterns, the route name alone may not tell riders which service is coming."
        },
        {
          "code": "scorecard_no_feed_contact",
          "count": 1,
          "effort": "One field.",
          "fix": "Add feed_contact_email to feed_info.txt.",
          "owner": "",
          "points": 7.5,
          "severity": "INFO",
          "what": "feed_info.txt has no technical contact (feed_contact_email or feed_contact_url).",
          "why": "App makers and state data programs have nobody to email when they spot a problem. Small errors then sit in the feed for months."
        }
      ],
      "name": "completeness",
      "score": 7.7,
      "status": "measured",
      "summary": "0% of stops state wheelchair accessibility (0% 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": 5,
        "instances_by_severity": {
          "ERROR": 0,
          "INFO": 0,
          "WARNING": 214
        },
        "validator_version": "8.0.1"
      },
      "findings": [
        {
          "code": "mixed_case_recommended_field",
          "count": 96,
          "effort": "Often a bulk fix in your scheduling software.",
          "fix": "Use mixed case for stop names and headsigns (e.g. 'Main St & 2nd Ave', not 'MAIN ST & 2ND AVE').",
          "owner": "Likely your export tool",
          "points": 8.0,
          "severity": "WARNING",
          "what": "Some rider-facing names are in ALL CAPS or all lowercase.",
          "why": "ALL-CAPS stop and headsign names are harder to read in apps and are read awkwardly by screen readers."
        },
        {
          "code": "fast_travel_between_consecutive_stops",
          "count": 75,
          "effort": "A few minutes per flagged trip.",
          "fix": "Check the flagged stop times for transposed minutes.",
          "owner": "",
          "points": 8.0,
          "severity": "WARNING",
          "what": "Some scheduled trips move faster between stops than a transit vehicle can.",
          "why": "Usually a typo'd stop time; riders get arrival times no transit vehicle can meet."
        },
        {
          "code": "fast_travel_between_far_stops",
          "count": 38,
          "effort": "Minutes per flagged trip once you open it.",
          "fix": "Check the two stop times for a wrong digit first. Then check whether a stop sits at the wrong coordinates, or a stop between them is missing.",
          "owner": "",
          "points": 6.0,
          "severity": "WARNING",
          "what": "Between two distant stops, the times imply a speed no transit vehicle reaches.",
          "why": "A rider gets a trip plan that cannot happen. Live systems then report delays that are not real."
        },
        {
          "code": "route_short_name_too_long",
          "count": 4,
          "effort": "Varies.",
          "fix": "Review the rule documentation for 'route_short_name_too_long' at https://gtfs-validator.mobilitydata.org/rules.html and check the flagged rows in your feed.",
          "owner": "",
          "points": 4.0,
          "severity": "WARNING",
          "what": "Route short name too long (flagged by the MobilityData validator).",
          "why": "See the linked rule for what this affects."
        },
        {
          "code": "missing_recommended_file",
          "count": 1,
          "effort": "One small file, set once in export settings.",
          "fix": "Add feed_info.txt with publisher name, URL, language, and feed_start_date/feed_end_date.",
          "owner": "Likely your export tool",
          "points": 4.0,
          "severity": "WARNING",
          "what": "A file GTFS asks for (usually feed_info.txt) is missing.",
          "why": "feed_info.txt tells apps who publishes the feed and when it expires; without it nobody is warned before data goes stale."
        }
      ],
      "name": "correctness",
      "score": 70.0,
      "status": "measured",
      "summary": "The MobilityData validator flagged 5 kinds of issue across 214 instances (0 error, 214 warning, 0 informational).",
      "weight": 0.35
    },
    "freshness": {
      "details": {
        "days_until_expiry": 14,
        "effective_expiry_date": "2026-09-16",
        "feed_end_date": null,
        "feed_start_date": null,
        "feed_version": null,
        "has_feed_info": false,
        "last_service_date": "2026-09-16",
        "seasonal_boundary": false,
        "service_horizon_review_years": 10,
        "service_horizon_status": "within_review_threshold",
        "service_type": "fixed"
      },
      "findings": [
        {
          "code": "scorecard_feed_expiring_soon",
          "count": 1,
          "effort": "One export setting.",
          "fix": "Re-export with a validity window that reaches at least 60 days out.",
          "owner": "Likely your export tool",
          "points": 66.0,
          "severity": "WARNING",
          "what": "Service data runs out in 14 day(s).",
          "why": "When the calendar runs out, trip planners stop showing this agency. Fixing it now is calmer than after riders notice."
        },
        {
          "code": "scorecard_missing_feed_info_dates",
          "count": 1,
          "effort": "Two fields, set once in export settings.",
          "fix": "Add feed_info.txt with feed_start_date and feed_end_date to your export.",
          "owner": "Likely your export tool",
          "points": 15.0,
          "severity": "WARNING",
          "what": "feed_info.txt is missing its start/end dates (the file itself is absent)",
          "why": "Apps and this scorecard can't warn anyone before the feed goes stale without stated validity dates."
        }
      ],
      "name": "freshness",
      "score": 8.3,
      "status": "measured",
      "summary": "Service data runs out in 14 day(s). Publish an updated feed soon or riders will lose trip planning.",
      "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": false,
    "criteria": [
      {
        "detail": "Passes validation with no errors.",
        "key": "valid",
        "met": true
      },
      {
        "detail": "Service data runs out in 14 days; renew to qualify.",
        "key": "current",
        "met": false
      },
      {
        "detail": "States wheelchair access on 0% of stops and 0% of trips; the mark needs 90% of each.",
        "key": "accessible",
        "met": false
      }
    ],
    "status": "not_yet",
    "summary": "Two requirements remain for this feed to earn the conformance mark. Service data runs out in 14 days; renew to qualify. States wheelchair access on 0% of stops and 0% of trips; the mark needs 90% of each.",
    "version": 2
  },
  "export_diff": {
    "changes": [
      "Service now runs through 2026-09-16 (was 2026-09-15)."
    ],
    "from_sha256": "07af7931fa45bc70fb34bff39e88af7a1b6f79948fe92b03e633fd0f5cdb4366",
    "to_sha256": "891d8e97da82b565a9405f31f43c71c03a329745fe18ac7ba52aa5663929d49c"
  },
  "feed": {
    "license_note": "CC BY 4.0; published as open data through data.gov.my, the Government of Malaysia's official open data platform. Credit Keretapi Tanah Melayu Berhad (KTMB).",
    "reachable": true,
    "sha256": "891d8e97da82b565a9405f31f43c71c03a329745fe18ac7ba52aa5663929d49c",
    "size_bytes": 46177,
    "source_provenance": "official",
    "static_url": "https://api.data.gov.my/gtfs-static/ktmb"
  },
  "fetch": {
    "final_url": "https://openapi-malaysia-transport.s3.ap-southeast-1.amazonaws.com/ktmb/gtfs_ktmb.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-09-01T00:00:00+00:00",
  "geo": {
    "bbox": [
      100.25713,
      1.44372,
      103.92152,
      7.00396
    ],
    "lat": 3.7589,
    "lon": 101.79137,
    "stop_count": 156
  },
  "mode_profile": {
    "ferry_only": false,
    "graded": false,
    "has_ferry": false,
    "is_multimodal": true,
    "measured": true,
    "modes": [
      {
        "key": "tram",
        "label": "Tram / light rail",
        "route_count": 5,
        "trip_count": 240,
        "trip_share_pct": 64.2
      },
      {
        "key": "rail",
        "label": "Rail",
        "route_count": 4,
        "trip_count": 134,
        "trip_share_pct": 35.8
      }
    ],
    "primary_mode": "tram",
    "primary_mode_label": "Tram / light rail",
    "route_count": 9,
    "trip_count": 374
  },
  "overall": {
    "grade": "F",
    "margin_to_lower_band": 35.1,
    "margin_to_next_band": 24.9,
    "score": 35.1
  },
  "recommendations": [
    {
      "category": "accessibility",
      "code": "scorecard_stop_name_needs_tts",
      "count": 1,
      "effort": "A short text field per affected stop; start with the busiest.",
      "fix": "Add tts_stop_name with the spoken form, e.g. 'Main Street and Second Avenue', for the affected stops.",
      "owner": "",
      "points": 0.0,
      "severity": "INFO",
      "what": "1 stop name(s) use abbreviations or symbols a screen reader may mispronounce, with no spoken form set (\"PULAU SEBANG/TAMPIN\").",
      "why": "A screen reader speaks the raw name. 'Main St & 2nd Ave' can come out as 'Main saint', or lose the ampersand."
    }
  ],
  "recompute": {
    "as_of": "2026-09-02",
    "feed_fetched_date": "2026-09-01",
    "kind": "freshness"
  },
  "routability": {
    "boardable_stops": 156,
    "findings": [],
    "orphan_stops": 0,
    "single_stop_trips": 0,
    "trips_total": 374
  },
  "route_map": {
    "drawn_route_count": 0,
    "has_shapes": false,
    "path": "data/artifacts/ktmb-national/geometry.geojson",
    "route_count": 9,
    "routes": [
      {
        "color": "018000",
        "color_name": "green",
        "has_shape": false,
        "id": "100_47300",
        "label": "Padang Besar Line",
        "long": "KTM Butterworth - Padang Besar",
        "short": "Padang Besar Line",
        "text_color": "FFFFFF",
        "type_label": "Tram / light rail"
      },
      {
        "color": "1964B7",
        "color_name": "teal",
        "has_shape": false,
        "id": "100_9000",
        "label": "Ipoh Line",
        "long": "KTM Butterworth - Ipoh",
        "short": "Ipoh Line",
        "text_color": "FFFFFF",
        "type_label": "Tram / light rail"
      },
      {
        "color": "6E6E6E",
        "color_name": "gray",
        "has_shape": false,
        "id": "ERT",
        "label": "ERT",
        "long": "Intercity Ekspres Rakyat Timuran Tumpat - JB Sentral",
        "short": "ERT",
        "text_color": "FFFFFF",
        "type_label": "Rail"
      },
      {
        "color": "FFC72C",
        "color_name": "yellow",
        "has_shape": false,
        "id": "ETS",
        "label": "ETS",
        "long": "Electric Train Service Padang Besar - JB Sentral",
        "short": "ETS",
        "text_color": "000000",
        "type_label": "Rail"
      },
      {
        "color": "DC2420",
        "color_name": "red",
        "has_shape": false,
        "id": "KA15_KD19",
        "label": "Port Klang Line",
        "long": "KTM Tanjung Malim - Pelabuhan Klang",
        "short": "Port Klang Line",
        "text_color": "FFFFFF",
        "type_label": "Tram / light rail"
      },
      {
        "color": "3C5A9F",
        "color_name": "teal",
        "has_shape": false,
        "id": "KC05_KB18",
        "label": "Seremban Line",
        "long": "KTM Batu Caves - Pulau Sebang/Tampin",
        "short": "Seremban Line",
        "text_color": "FFFFFF",
        "type_label": "Tram / light rail"
      },
      {
        "color": "6E6E6E",
        "color_name": "gray",
        "has_shape": false,
        "id": "SH",
        "label": "SH",
        "long": "Intercity Shuttle Tumpat - Gemas",
        "short": "SH",
        "text_color": "FFFFFF",
        "type_label": "Rail"
      },
      {
        "color": "0A3D7A",
        "color_name": "green",
        "has_shape": false,
        "id": "SS",
        "label": "Shuttle Selatan",
        "long": "KTM Komuter Shuttle Selatan Paloh - JB Sentral",
        "short": "Shuttle Selatan",
        "text_color": "FFFFFF",
        "type_label": "Tram / light rail"
      },
      {
        "color": "6E6E6E",
        "color_name": "gray",
        "has_shape": false,
        "id": "ST",
        "label": "ST",
        "long": "Intercity Shuttle Tebrau JB Sentral - Woodlands",
        "short": "ST",
        "text_color": "FFFFFF",
        "type_label": "Rail"
      }
    ],
    "stop_count": 156,
    "stop_points_capped": false
  },
  "rubric_version": "1.3",
  "schema_version": "1.18",
  "scoring_profile": {
    "id": "gtfs-scorecard-1.3",
    "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.3"
  },
  "snapshot_date": "2026-09-02",
  "top_fixes": [
    {
      "code": "scorecard_feed_expiring_soon",
      "count": 1,
      "effort": "One export setting.",
      "fix": "Re-export with a validity window that reaches at least 60 days out.",
      "owner": "Likely your export tool",
      "points": 66.0,
      "rank": 1,
      "severity": "WARNING",
      "what": "Service data runs out in 14 day(s).",
      "why": "When the calendar runs out, trip planners stop showing this agency. Fixing it now is calmer than after riders notice."
    },
    {
      "code": "scorecard_wheelchair_boarding_unknown",
      "count": 156,
      "effort": "A column in stops.txt; your scheduling software likely has it.",
      "fix": "Set wheelchair_boarding to 1 (accessible) or 2 (not accessible) for every stop. A field survey can start with the busiest stops.",
      "owner": "Likely your team",
      "points": 25.0,
      "rank": 2,
      "severity": "WARNING",
      "what": "156 of 156 stops don't say whether a wheelchair user can board there.",
      "why": "Riders who use wheelchairs can't plan a trip when accessibility is marked 'unknown'; apps show no information at all."
    },
    {
      "code": "scorecard_wheelchair_accessible_unknown",
      "count": 374,
      "effort": "A default or per-trip field in your export.",
      "fix": "Set wheelchair_accessible on every trip. If every vehicle is accessible, this may be one default; otherwise use the value for each trip.",
      "owner": "Likely your export tool",
      "points": 15.0,
      "rank": 3,
      "severity": "WARNING",
      "what": "374 of 374 trips don't say whether the vehicle is wheelchair accessible.",
      "why": "Even with accessible stops, riders need to know the transit vehicle itself can take them."
    }
  ],
  "validator_version": "8.0.1"
}
