PtConsequenceStructure Data Type

Implemented Interfaces
Serializable
Properties
name data type description
Period HalfOpenTimestampRangeStructure
Condition ServiceConditionEnumeration
Severity SeverityEnumeration
Affects AffectsScopeStructure
Suitabilities Suitabilities
Advice PtAdviceStructure
Blocking BlockingStructure
Boarding BoardingStructure
Delays DelaysStructure
Casualties CasualtiesStructure
Easements array of EasementsStructure
Extensions Extensions

Example

{
  "Period" : {
    "StartTime" : "...",
    "EndTime" : "..."
  },
  "Condition" : "replacementService",
  "Severity" : "pti26_5",
  "Affects" : {
    "AreaOfInterest" : "notSpecified",
    "Operators" : {
      "AffectedOperator" : [ { }, { } ],
      "AllOperators" : "..."
    },
    "Networks" : {
      "AffectedNetwork" : [ { }, { } ]
    },
    "StopPoints" : {
      "AffectedStopPoint" : [ { }, { } ]
    },
    "StopPlaces" : {
      "AffectedStopPlace" : [ { }, { } ]
    },
    "Places" : {
      "AffectedPlace" : [ { }, { } ]
    },
    "VehicleJourneys" : {
      "AffectedVehicleJourney" : [ { }, { } ]
    },
    "Roads" : {
      "Datex2Locations" : { },
      "AffectedRoad" : [ { }, { } ]
    },
    "Extensions" : {
      "any" : { }
    }
  },
  "Suitabilities" : {
    "Suitability" : [ {
      "Suitable" : "suitable",
      "UserNeed" : { }
    }, {
      "Suitable" : "suitable",
      "UserNeed" : { }
    } ]
  },
  "Advice" : {
    "AdviceRef" : {
      "value" : "..."
    },
    "Details" : {
      "value" : "...",
      "lang" : "..."
    }
  },
  "Blocking" : {
    "JourneyPlanner" : true,
    "RealTime" : true
  },
  "Boarding" : {
    "ArrivalBoardingActivity" : "noAlighting",
    "DepartureBoardingActivity" : "passThru"
  },
  "Delays" : {
    "DelayBand" : "delayBetweenThreeHoursAndSixHours",
    "DelayType" : "longDelays",
    "Delay" : {
      "sign" : 12345,
      "seconds" : 12345,
      "months" : 12345,
      "years" : 12345,
      "days" : 12345,
      "XMLSchemaType" : "...",
      "hours" : 12345,
      "minutes" : 12345
    }
  },
  "Casualties" : {
    "NumberOfDeaths" : 12345,
    "NumberOfInjured" : 12345
  },
  "Easements" : [ {
    "TicketRestrictions" : "noWeekendReturnTickets",
    "Easement" : {
      "value" : "...",
      "lang" : "..."
    },
    "EasementRef" : {
      "value" : "...",
      "lang" : "..."
    }
  }, {
    "TicketRestrictions" : "pti25_8",
    "Easement" : {
      "value" : "...",
      "lang" : "..."
    },
    "EasementRef" : {
      "value" : "...",
      "lang" : "..."
    }
  } ],
  "Extensions" : {
    "any" : {
      "tagName" : "...",
      "schemaTypeInfo" : { },
      "ownerDocument" : { },
      "firstChild" : { },
      "prefix" : "...",
      "nextSibling" : { },
      "parentNode" : { },
      "nodeType" : 12345,
      "nodeValue" : "...",
      "nodeName" : "...",
      "namespaceURI" : "...",
      "childNodes" : { },
      "baseURI" : "...",
      "localName" : "...",
      "attributes" : { },
      "lastChild" : { },
      "textContent" : "...",
      "previousSibling" : { }
    }
  }
}