{
  "id": "gtfs_rt_schedule_relationship",
  "kind": "datatype",
  "status": "draft",
  "name": "GTFS Realtime schedule relationship",
  "doc": "Value of a schedule_relationship field of a GTFS Realtime feed, how a realtime trip or stop time relates to the static schedule. For a trip (TripDescriptor.ScheduleRelationship): SCHEDULED, ADDED (deprecated), UNSCHEDULED, CANCELED, REPLACEMENT, DUPLICATED, NEW or DELETED; for a stop time update: SCHEDULED, SKIPPED, NO_DATA or UNSCHEDULED.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "transport"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:SCHEDULED|ADDED|UNSCHEDULED|CANCELED|CANCELLED|REPLACEMENT|DUPLICATED|NEW|DELETED|SKIPPED|NO_DATA)$",
  "examples": [
    {
      "value": "SCHEDULED",
      "description": "Canberra Metro light rail trip updates",
      "valid": true
    },
    {
      "value": "ADDED",
      "valid": true
    },
    {
      "value": "SKIPPED",
      "description": "a stop time update",
      "valid": true
    },
    {
      "value": "DELAYED",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://gtfs.org/documentation/realtime/reference/"
    }
  ],
  "translations": {
    "ru": {
      "name": "Отношение к расписанию (GTFS Realtime)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gtfsrtschedulerelationshipbyfield",
        "type": "field",
        "match": "regex",
        "file": "common/transport.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/transport/gtfs_rt_schedule_relationship.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/transport/gtfs_rt_schedule_relationship.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/transport/gtfs_rt_schedule_relationship.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gtfs_rt_schedule_relationship",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gtfs_rt_schedule_relationship.json"
  }
}