PtSituationElement Data Type

Implemented Interfaces
Serializable
Properties
name data type description
Verification VerificationStatusEnumeration
Progress WorkflowStatusEnumeration
QualityIndex QualityEnumeration
Reality InformationStatusEnum
Likelihood ProbabilityOfOccurrenceEnum
Publication array of string
ValidityPeriod array of ValidityPeriod
Repetitions Repetitions
PublicationWindow HalfOpenTimestampRangeStructure
UndefinedReason string
EnvironmentReason EnvironmentReasonEnumeration
EquipmentReason EquipmentReasonEnumeration
PersonnelReason PersonnelReasonEnumeration
MiscellaneousReason MiscellaneousReasonEnumeration
UnknownReason string
PublicEventReason PublicEventTypeEnum
ReasonName NaturalLanguageStringStructure
Severity SeverityEnumeration
Priority number
Sensitivity SensitivityEnumeration
Audience AudienceEnumeration
ScopeType ScopeTypeEnumeration
ReportType string
Planned boolean
Keywords array of string
SecondaryReasons SecondaryReasons
Language string
Summary DefaultedTextStructure
Description DefaultedTextStructure
Detail DefaultedTextStructure
Advice DefaultedTextStructure
Internal DefaultedTextStructure
Images Images
InfoLinks InfoLinks
Affects AffectsScopeStructure
Consequences PtConsequencesStructure
PublishingActions ActionsStructure
Extensions Extensions
Properties inherited from SituationElementStructure
References ReferencesStructure
Source SituationSourceStructure
VersionedAtTime string
Properties inherited from AbstractSituationElementStructure
CreationTime string
CountryRef CountryRefStructure
ParticipantRef RequestorRef
SituationNumber SituationNumber
UpdateCountryRef CountryRefStructure
UpdateParticipantRef RequestorRef
Version SituationVersion

Example

{
  "Verification" : "verified",
  "Progress" : "draft",
  "QualityIndex" : "unconfirmed",
  "Reality" : "technicalExercise",
  "Likelihood" : "probable",
  "Publication" : [ "...", "..." ],
  "ValidityPeriod" : [ {
    "StartTime" : "...",
    "EndTime" : "..."
  }, {
    "StartTime" : "...",
    "EndTime" : "..."
  } ],
  "Repetitions" : {
    "DayType" : [ "nationalHoliday", "pti34_255" ]
  },
  "PublicationWindow" : {
    "StartTime" : "...",
    "EndTime" : "..."
  },
  "UndefinedReason" : "...",
  "EnvironmentReason" : "undefinedEnvironmentalProblem",
  "EquipmentReason" : "pti21_21",
  "PersonnelReason" : "pti20_6",
  "MiscellaneousReason" : "animalOnTheLine",
  "UnknownReason" : "...",
  "PublicEventReason" : "tournament",
  "ReasonName" : {
    "value" : "...",
    "lang" : "..."
  },
  "Severity" : "normal",
  "Priority" : 12345,
  "Sensitivity" : "medium",
  "Audience" : "staff",
  "ScopeType" : "network",
  "ReportType" : "...",
  "Planned" : true,
  "Keywords" : [ "...", "..." ],
  "SecondaryReasons" : {
    "Reason" : [ {
      "UndefinedReason" : "...",
      "EnvironmentReason" : "pti22_2",
      "EquipmentReason" : "pti21_11",
      "PersonnelReason" : "pti20_3",
      "MiscellaneousReason" : "pti19_24_Alias_4",
      "UnknownReason" : "...",
      "PublicEventReason" : "athleticsMeeting",
      "ReasonName" : { }
    }, {
      "UndefinedReason" : "...",
      "EnvironmentReason" : "pti22_19",
      "EquipmentReason" : "fuelProblem",
      "PersonnelReason" : "industrialAction",
      "MiscellaneousReason" : "pti19_6",
      "UnknownReason" : "...",
      "PublicEventReason" : "marathon",
      "ReasonName" : { }
    } ]
  },
  "Language" : "...",
  "Summary" : {
    "overridden" : true,
    "value" : "...",
    "lang" : "..."
  },
  "Description" : {
    "overridden" : true,
    "value" : "...",
    "lang" : "..."
  },
  "Detail" : {
    "overridden" : true,
    "value" : "...",
    "lang" : "..."
  },
  "Advice" : {
    "overridden" : true,
    "value" : "...",
    "lang" : "..."
  },
  "Internal" : {
    "overridden" : true,
    "value" : "...",
    "lang" : "..."
  },
  "Images" : {
    "Image" : [ {
      "ImageBinary" : "...",
      "ImageRef" : "...",
      "ImageContent" : "graphic"
    }, {
      "ImageBinary" : "...",
      "ImageRef" : "...",
      "ImageContent" : "map"
    } ]
  },
  "InfoLinks" : {
    "InfoLink" : [ {
      "Uri" : "...",
      "Label" : { },
      "Image" : { },
      "LinkContent" : "relatedSite"
    }, {
      "Uri" : "...",
      "Label" : { },
      "Image" : { },
      "LinkContent" : "timetable"
    } ]
  },
  "Affects" : {
    "AreaOfInterest" : "neighbouringCountries",
    "Operators" : {
      "AffectedOperator" : [ { }, { } ],
      "AllOperators" : "..."
    },
    "Networks" : {
      "AffectedNetwork" : [ { }, { } ]
    },
    "StopPoints" : {
      "AffectedStopPoint" : [ { }, { } ]
    },
    "StopPlaces" : {
      "AffectedStopPlace" : [ { }, { } ]
    },
    "Places" : {
      "AffectedPlace" : [ { }, { } ]
    },
    "VehicleJourneys" : {
      "AffectedVehicleJourney" : { }
    },
    "Roads" : {
      "Datex2Locations" : { },
      "AffectedRoad" : [ { }, { } ]
    },
    "Extensions" : {
      "any" : { }
    }
  },
  "Consequences" : {
    "Consequence" : [ {
      "Period" : { },
      "Condition" : "intermittentService",
      "Severity" : "pti26_2",
      "Affects" : { },
      "Suitabilities" : { },
      "Advice" : { },
      "Blocking" : { },
      "Boarding" : { },
      "Delays" : { },
      "Casualties" : { },
      "Easements" : [ { }, { } ],
      "Extensions" : { }
    }, {
      "Period" : { },
      "Condition" : "pti13_12",
      "Severity" : "noImpact",
      "Affects" : { },
      "Suitabilities" : { },
      "Advice" : { },
      "Blocking" : { },
      "Boarding" : { },
      "Delays" : { },
      "Casualties" : { },
      "Easements" : [ { }, { } ],
      "Extensions" : { }
    } ]
  },
  "PublishingActions" : {
    "PublishToWebAction" : [ {
      "Incidents" : true,
      "HomePage" : true,
      "Ticker" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "published"
    }, {
      "Incidents" : true,
      "HomePage" : true,
      "Ticker" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "closed"
    } ],
    "PublishToMobileAction" : [ {
      "Incidents" : true,
      "HomePage" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "published"
    }, {
      "Incidents" : true,
      "HomePage" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "published"
    } ],
    "PublishToTvAction" : {
      "Ceefax" : true,
      "Teletext" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "published"
    },
    "PublishToAlertsAction" : [ {
      "ByEmail" : true,
      "ByMobile" : true,
      "BeforeNotices" : { },
      "ClearNotice" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "open"
    }, {
      "ByEmail" : true,
      "ByMobile" : true,
      "BeforeNotices" : { },
      "ClearNotice" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "open"
    } ],
    "ManualAction" : [ {
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "closed"
    }, {
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "closed"
    } ],
    "NotifyByEmailAction" : [ {
      "email" : "...",
      "BeforeNotices" : { },
      "ClearNotice" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "open"
    }, {
      "email" : "...",
      "BeforeNotices" : { },
      "ClearNotice" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "open"
    } ],
    "NotifyBySmsAction" : {
      "Phone" : "...",
      "Premium" : true,
      "BeforeNotices" : { },
      "ClearNotice" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "published"
    },
    "NotifyByPagerAction" : [ {
      "PagerGroupRef" : "...",
      "Pager" : "...",
      "BeforeNotices" : { },
      "ClearNotice" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "closed"
    }, {
      "PagerGroupRef" : "...",
      "Pager" : "...",
      "BeforeNotices" : { },
      "ClearNotice" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "open"
    } ],
    "NotifyUserAction" : [ {
      "WorkgroupRef" : "...",
      "UserName" : "...",
      "UserRef" : "...",
      "BeforeNotices" : { },
      "ClearNotice" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "closed"
    }, {
      "WorkgroupRef" : "...",
      "UserName" : "...",
      "UserRef" : "...",
      "BeforeNotices" : { },
      "ClearNotice" : true,
      "Description" : { },
      "ActionData" : [ { }, { } ],
      "ActionStatus" : "closed"
    } ],
    "Extensions" : { }
  },
  "Extensions" : {
    "any" : {
      "tagName" : "...",
      "schemaTypeInfo" : { },
      "ownerDocument" : { },
      "firstChild" : { },
      "prefix" : "...",
      "nextSibling" : { },
      "parentNode" : { },
      "nodeType" : 12345,
      "nodeValue" : "...",
      "nodeName" : "...",
      "namespaceURI" : "...",
      "childNodes" : { },
      "baseURI" : "...",
      "localName" : "...",
      "attributes" : { },
      "lastChild" : { },
      "textContent" : "...",
      "previousSibling" : { }
    }
  },
  "References" : {
    "RelatedToRef" : [ {
      "CreationTime" : "...",
      "CountryRef" : { },
      "ParticipantRef" : { },
      "SituationNumber" : { },
      "UpdateCountryRef" : { },
      "UpdateParticipantRef" : { },
      "Version" : { },
      "ExternalReference" : "...",
      "RelatedAs" : "supercededBy",
      "Extensions" : { }
    }, {
      "CreationTime" : "...",
      "CountryRef" : { },
      "ParticipantRef" : { },
      "SituationNumber" : { },
      "UpdateCountryRef" : { },
      "UpdateParticipantRef" : { },
      "Version" : { },
      "ExternalReference" : "...",
      "RelatedAs" : "update",
      "Extensions" : { }
    } ]
  },
  "Source" : {
    "Country" : "...",
    "SourceType" : "phone",
    "Email" : "...",
    "Phone" : "...",
    "Fax" : "...",
    "Web" : "...",
    "Other" : "...",
    "SourceMethod" : "freightVehicleOperator",
    "AgentReference" : "...",
    "Name" : {
      "value" : "...",
      "lang" : "..."
    },
    "SourceRole" : "...",
    "TimeOfCommunication" : "...",
    "ExternalCode" : "...",
    "SourceFile" : "..."
  },
  "VersionedAtTime" : "...",
  "CreationTime" : "...",
  "CountryRef" : {
    "value" : "th"
  },
  "ParticipantRef" : {
    "value" : "..."
  },
  "SituationNumber" : {
    "value" : "..."
  },
  "UpdateCountryRef" : {
    "value" : "mp"
  },
  "UpdateParticipantRef" : {
    "value" : "..."
  },
  "Version" : {
    "value" : 12345
  }
}