This schema file is part of the aseXML schema set, and is subject to the terms and conditions that are detailed in the aseXML_r*.xsd schema file with which this file is used
Purpose - Defines the transactions necessary to manage the transfer of Network Outage information between TNSPs and NEMMCO
<xsd:element name="CompanyBookingId" type="CompanyBookingIdType"><xsd:annotation><xsd:documentation>This field must contain a value that is unique to the company submitting it. The CompanyBookingId may be reused if the whole booking is withdrawn.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="TNSPId" type="PartyIdentifier" minOccurs="0"><xsd:annotation><xsd:documentation>The B2B id of the TNSP that owns the booking. Not required for submission.</xsd:documentation></xsd:annotation></xsd:element>
A TNSP provided reference code (display only). Typically this is a job number or switching sheet reference. This value is only used if the outage Company RefCode is not set.
<xsd:element name="CompanyRefCode" minOccurs="0"><xsd:annotation><xsd:documentation>A TNSP provided reference code (display only). Typically this is a job number or switching sheet reference. This value is only used if the outage Company RefCode is not set.</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="CompanyRefCodeType"/></xsd:simpleType></xsd:element>
Indicates an outage booking is for an outage not under the direct oversight of NEMMCO. A value is required when creating a new booking and is not updatable.
Diagram
Type
xsd:boolean
Properties
content:
simple
minOccurs:
0
Source
<xsd:element name="InformationOnly" type="xsd:boolean" minOccurs="0"><xsd:annotation><xsd:documentation>Indicates an outage booking is for an outage not under the direct oversight of NEMMCO. A value is required when creating a new booking and is not updatable.</xsd:documentation></xsd:annotation></xsd:element>
The booking is Not For Publication (to the NEM) for commercial reasons. A value is required when creating a new booking.
Diagram
Type
xsd:boolean
Properties
content:
simple
minOccurs:
0
default:
false
Source
<xsd:element name="NotForPublication" type="xsd:boolean" default="false" minOccurs="0"><xsd:annotation><xsd:documentation>The booking is Not For Publication (to the NEM) for commercial reasons. A value is required when creating a new booking.</xsd:documentation></xsd:annotation></xsd:element>
Indicates this booking involves primary plant going out of service. A value is required when creating a new booking and is not updatable.
Diagram
Type
xsd:boolean
Properties
content:
simple
minOccurs:
0
Source
<xsd:element name="PrimaryOut" type="xsd:boolean" minOccurs="0"><xsd:annotation><xsd:documentation>Indicates this booking involves primary plant going out of service. A value is required when creating a new booking and is not updatable.</xsd:documentation></xsd:annotation></xsd:element>
Reason for submission of an outage request. Must match a value from a pre-defined list. A value is required when creating a new booking and is not updatable.
<xsd:element name="Reason" type="EnumReasonType" minOccurs="0"><xsd:annotation><xsd:documentation>Reason for submission of an outage request. Must match a value from a pre-defined list. A value is required when creating a new booking and is not updatable.</xsd:documentation></xsd:annotation></xsd:element>
The are business rules associated with this value. Allowable values are restricted by the selection of Reason + PrimaryOut. A value is required when creating a new booking and is not updatable.
Line, Substn, Line/Substn, Live Line, Live Substn, Live Line/Substn, Protection, SCADA, Communications, Other secondary equipt,
Auto Control Scheme
Source
<xsd:element name="ScopeOfWork" type="EnumScopeOfWorkType" minOccurs="0"><xsd:annotation><xsd:documentation>The are business rules associated with this value. Allowable values are restricted by the selection of Reason + PrimaryOut. A value is required when creating a new booking and is not updatable.</xsd:documentation></xsd:annotation></xsd:element>
Outage scheduled, System security assessed, Outage confirmed
Source
<xsd:element name="Certainty" type="EnumCertaintyType" minOccurs="0"><xsd:annotation><xsd:documentation>Outage Certainty level indicating how firm the outage booking is. A value is required when creating a new booking.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="BookingElements" type="BookingElements" minOccurs="0"><xsd:annotation><xsd:documentation>At least one item of equipment is required when creating a new booking. Also booking equipment can not be changed for an existing booking.</xsd:documentation></xsd:annotation><xsd:unique name="uniqueBookingElement"><xsd:selector xpath=".//BookingElement"/><xsd:field xpath="CompanyElementId"/><xsd:field xpath="ServiceAffected"/></xsd:unique></xsd:element>
<xsd:element name="CompanyElementId" type="CompanyElementIdType"><xsd:annotation><xsd:documentation>The TNSP unique identifier of either a Station or item of HV equipment.</xsd:documentation></xsd:annotation></xsd:element>
HV plant, HV A/R OFF, HV trip & A/R test, HV plant protection+trip test, HV plant protection, System Protection, UV control
scheme, UF load shed scheme, Overload scheme, DC link scheme, Other control scheme, Voice, Data & controls, AGC controls,
Other equipment
Source
<xsd:element name="ServiceAffected" type="EnumBookingElementServiceAffectedType"><xsd:annotation><xsd:documentation>The Service Affected Type summary category.</xsd:documentation></xsd:annotation></xsd:element>
Free form details of the serivce affected by the booking (may be an equipment description). This field becomes mandatory when the CompanyElementId is the identifier of a Station. Not required if HV equipment item is selected in CompanyElementId. Field is used to overcome the impracticality of having all secondary equipment in the equipment list.
Diagram
Type
restriction of xsd:string
Properties
content:
simple
minOccurs:
0
Facets
whiteSpace
collapse
minLength
1
maxLength
60
Source
<xsd:element name="ServiceAffectedDetail" minOccurs="0"><xsd:annotation><xsd:documentation>Free form details of the serivce affected by the booking (may be an equipment description). This field becomes mandatory when the CompanyElementId is the identifier of a Station. Not required if HV equipment item is selected in CompanyElementId. Field is used to overcome the impracticality of having all secondary equipment in the equipment list.</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="60"/><xsd:whiteSpace value="collapse"/><xsd:minLength value="1"/></xsd:restriction></xsd:simpleType></xsd:element>
At least one outage is required when creating a new booking. When updating an existing booking, only include outages in this list that are new or being modified. Also the CompanyOutageId of a withdrawn outage can not be reused.
<xsd:element name="Outages" type="Outages" minOccurs="0"><xsd:annotation><xsd:documentation>At least one outage is required when creating a new booking. When updating an existing booking, only include outages in this list that are new or being modified. Also the CompanyOutageId of a withdrawn outage can not be reused.</xsd:documentation></xsd:annotation><xsd:unique name="uniqueOutageInBooking"><xsd:selector xpath=".//Outage"/><xsd:field xpath="CompanyOutageId"/></xsd:unique></xsd:element>
<xsd:element name="CompanyOutageId" type="CompanyOutageIdType"><xsd:annotation><xsd:documentation>This field must contain a value that is unique to the booking it belongs to. This value is supplied by TNSP</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="CompanyRefCode" minOccurs="0"><xsd:annotation><xsd:documentation>A TNSP provided reference code (display only). Typically this is a job number or switching sheet reference. Does not have to be unique to the Outage.</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="CompanyRefCodeType"/></xsd:simpleType></xsd:element>
The planned start date/time of the outage. A value is required when creating a new outage.
Diagram
Type
xsd:dateTime
Properties
content:
simple
minOccurs:
0
nillable:
false
Source
<xsd:element name="PlanStart" type="xsd:dateTime" nillable="false" minOccurs="0"><xsd:annotation><xsd:documentation>The planned start date/time of the outage. A value is required when creating a new outage.</xsd:documentation></xsd:annotation></xsd:element>
The planned finish date/time of the outage. A value is required when creating a new outage.
Diagram
Type
xsd:dateTime
Properties
content:
simple
minOccurs:
0
nillable:
false
Source
<xsd:element name="PlanFinish" type="xsd:dateTime" nillable="false" minOccurs="0"><xsd:annotation><xsd:documentation>The planned finish date/time of the outage. A value is required when creating a new outage.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="ActualStart" type="xsd:dateTime" minOccurs="0"><xsd:annotation><xsd:documentation>The actual start date/time of the outage</xsd:documentation></xsd:annotation></xsd:element>
Not Supplied, Security Requirement, System Conditions, Weather, Resource Problems
Source
<xsd:element name="ReasonVarPlanActualStart" type="EnumReasonVarPlanActualType" minOccurs="0"><xsd:annotation><xsd:documentation>Why the actual start and the planned start vary by more than 30 mins</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="ActualFinish" type="xsd:dateTime" minOccurs="0"><xsd:annotation><xsd:documentation>The actual finish date/time of the outage</xsd:documentation></xsd:annotation></xsd:element>
Not Supplied, Security Requirement, System Conditions, Weather, Resource Problems
Source
<xsd:element name="ReasonVarPlanActualFinish" type="EnumReasonVarPlanActualType" minOccurs="0"><xsd:annotation><xsd:documentation>Why the actual finish and the planned finish vary be more than 30 mins</xsd:documentation></xsd:annotation></xsd:element>
The number of minutes the company requires to return the affected items of plant to service during the day. A value less than 0 with be interpreted as "No recall" When the value is not supplied at all the interpretation is "Not applicable" Business rule is that both DayRecallMin and NightRecallMin cannot both be "NotApplicable"
Diagram
Type
xsd:int
Properties
content:
simple
minOccurs:
0
Source
<xsd:element name="DayRecallMin" type="xsd:int" minOccurs="0"><xsd:annotation><xsd:documentation>The number of minutes the company requires to return the affected items of plant to service during the day. A value less than 0 with be interpreted as "No recall" When the value is not supplied at all the interpretation is "Not applicable" Business rule is that both DayRecallMin and NightRecallMin cannot both be "NotApplicable"</xsd:documentation></xsd:annotation></xsd:element>
The number of minutes the company requires to return the affected items of plant to service during the night. A value less than 0 with be interpreted as "No recall". When the value is not supplied at all the interpretation is "Not Applicable"Business rule is that both DayRecallMin and NightRecallMin cannot both be "NotApplicable"
Diagram
Type
xsd:int
Properties
content:
simple
minOccurs:
0
Source
<xsd:element name="NightRecallMin" type="xsd:int" minOccurs="0"><xsd:annotation><xsd:documentation>The number of minutes the company requires to return the affected items of plant to service during the night. A value less than 0 with be interpreted as "No recall". When the value is not supplied at all the interpretation is "Not Applicable"Business rule is that both DayRecallMin and NightRecallMin cannot both be "NotApplicable"</xsd:documentation></xsd:annotation></xsd:element>
Notes attached to an outage apply only to that outage. When defining new notes the CompanyNoteId must be unique to the outage. Also the CompanyNoteId of a withdrawn note can not be reused.
<xsd:element name="Notes" type="CompanyNotes" minOccurs="0"><xsd:annotation><xsd:documentation>Notes attached to an outage apply only to that outage. When defining new notes the CompanyNoteId must be unique to the outage. Also the CompanyNoteId of a withdrawn note can not be reused.</xsd:documentation></xsd:annotation><xsd:unique name="uniqueNoteInOutage"><xsd:selector xpath=".//Note"/><xsd:field xpath="CompanyNoteId"/></xsd:unique></xsd:element>
<xsd:element name="Note" type="CompanyNoteType" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>A note can not contain both a blank plain text section and an empty file attachment.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="CompanyNoteId" type="CompanyNoteIdType"><xsd:annotation><xsd:documentation>Company provided id, unique to outage or booking.</xsd:documentation></xsd:annotation></xsd:element>
Effect On System / Work Details, Contingency Plan, Issue Response, Pre-Requisite Switching, Limit Equation Data, Isolation
Points
Source
<xsd:element name="Type" type="EnumCompanyNoteType" minOccurs="0"><xsd:annotation><xsd:documentation>A value is required when creating a new note and is not updatable.</xsd:documentation></xsd:annotation></xsd:element>
A value is required when creatiing a new note. This element indicates that the current note can be included in the RIEMNS report. Can not be modifed once set.
Diagram
Type
xsd:boolean
Properties
content:
simple
minOccurs:
0
Source
<xsd:element name="IncludeInRiemns" type="xsd:boolean" minOccurs="0"><xsd:annotation><xsd:documentation>A value is required when creatiing a new note. This element indicates that the current note can be included in the RIEMNS report. Can not be modifed once set.</xsd:documentation></xsd:annotation></xsd:element>
Not Supplied, Information Update, Optimising Availability, Environ Hazards, Resource Problems, NEMMCO Request, System Incident,
Weather
Source
<xsd:element name="ResubmitReason" type="EnumResubmitReasonType" minOccurs="0"><xsd:annotation><xsd:documentation>Reason outage has been withdrawn or modified. Required only on outage resubmission.</xsd:documentation></xsd:annotation></xsd:element>
Notes attached to the booking, apply to all outages in that booking. When defining new notes the CompanyNoteId must be unique to the booking. Also the CompanyNoteId of a withdrawn note can not be reused.
<xsd:element name="Notes" type="CompanyNotes" minOccurs="0"><xsd:annotation><xsd:documentation>Notes attached to the booking, apply to all outages in that booking. When defining new notes the CompanyNoteId must be unique to the booking. Also the CompanyNoteId of a withdrawn note can not be reused.</xsd:documentation></xsd:annotation><xsd:unique name="uniqueNoteInBooking"><xsd:selector xpath=".//Note"/><xsd:field xpath="CompanyNoteId"/></xsd:unique></xsd:element>
Required resubmission of booking notes and or booking details. This value is propagated down to outage level if the outage resubmit is not set. A reason is required on Booking withdraw.
Not Supplied, Information Update, Optimising Availability, Environ Hazards, Resource Problems, NEMMCO Request, System Incident,
Weather
Source
<xsd:element name="ResubmitReason" type="EnumResubmitReasonType" minOccurs="0"><xsd:annotation><xsd:documentation>Required resubmission of booking notes and or booking details. This value is propagated down to outage level if the outage resubmit is not set. A reason is required on Booking withdraw.</xsd:documentation></xsd:annotation></xsd:element>
The response for an individual booking contains the booking's unique id, the operation attempted and success/failure indicated by the event element. If the operation was successful none of the other booking sub-components (note, outage, etc) will be provided.
<xsd:element name="Booking" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>The response for an individual booking contains the booking's unique id, the operation attempted and success/failure indicated by the event element. If the operation was successful none of the other booking sub-components (note, outage, etc) will be provided.</xsd:documentation></xsd:annotation><xsd:complexType><xsd:complexContent><xsd:extension base="BookingResponseType"/></xsd:complexContent></xsd:complexType></xsd:element>
<xsd:element name="CompanyBookingId" type="CompanyBookingIdType"><xsd:annotation><xsd:documentation>Unique id provided by the request initiator for a booking</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="BookingElement" type="BookingElementResponseType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Individual booking elements are identified by the combined value of CompanyElementId and ServiceAffected.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="Error" type="NOSErrorType" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Errors at the booking element level only.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="Outage" type="OutageResponseType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Individual outages belonging to this booking are identified by the CompanyOutageId.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="Note" type="CompanyNoteResponseType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Individual notes belonging to this outage are identified by the CompanyNoteId.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="Error" type="NOSErrorType" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Errors at the note level only.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="Error" type="NOSErrorType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Errors at the outage level only.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="Note" type="CompanyNoteResponseType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Individual notes belonging to this booking are identified by the CompanyNoteId.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="Error" type="NOSErrorType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Errors at the booking level only.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="CompanyBookingId" type="CompanyBookingIdType"><xsd:annotation><xsd:documentation>The TNSP generated ID for Booking</xsd:documentation></xsd:annotation></xsd:element>
The TNSP generated ID for an outage. Only required when the information request pertains only to a single outage from a repeating booking. This ID is unique within it's booking
<xsd:element name="CompanyOutageId" type="CompanyOutageIdType" minOccurs="0"><xsd:annotation><xsd:documentation>The TNSP generated ID for an outage. Only required when the information request pertains only to a single outage from a repeating booking. This ID is unique within it's booking</xsd:documentation></xsd:annotation></xsd:element>
<xsd:element name="TNSPId" type="PartyIdentifier" minOccurs="0"><xsd:annotation><xsd:documentation>The B2B id of the TNSP that owns the booking/outage. Only required if the requesting TNSP is not the same as the TNSP that owns the Booking/Outage.</xsd:documentation></xsd:annotation></xsd:element>
<xsd:complexType name="NOSBookingSubmission"><xsd:annotation><xsd:documentation>A list of bookings submitted/re-submitted/withdrawn by the sending TNSP.</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="Booking" type="BookingType" maxOccurs="unbounded"/></xsd:sequence><xsd:attribute name="version" type="r18" use="required"/></xsd:complexType>
<xsd:complexType name="BookingType"><xsd:annotation><xsd:documentation>A Booking submitted by a TNSP</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="CompanyBookingId" type="CompanyBookingIdType"><xsd:annotation><xsd:documentation>This field must contain a value that is unique to the company submitting it. The CompanyBookingId may be reused if the whole booking is withdrawn.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="TNSPId" type="PartyIdentifier" minOccurs="0"><xsd:annotation><xsd:documentation>The B2B id of the TNSP that owns the booking. Not required for submission.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="CompanyRefCode" minOccurs="0"><xsd:annotation><xsd:documentation>A TNSP provided reference code (display only). Typically this is a job number or switching sheet reference. This value is only used if the outage Company RefCode is not set.</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="CompanyRefCodeType"/></xsd:simpleType></xsd:element><xsd:element name="InformationOnly" type="xsd:boolean" minOccurs="0"><xsd:annotation><xsd:documentation>Indicates an outage booking is for an outage not under the direct oversight of NEMMCO. A value is required when creating a new booking and is not updatable.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="NotForPublication" type="xsd:boolean" default="false" minOccurs="0"><xsd:annotation><xsd:documentation>The booking is Not For Publication (to the NEM) for commercial reasons. A value is required when creating a new booking.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="PrimaryOut" type="xsd:boolean" minOccurs="0"><xsd:annotation><xsd:documentation>Indicates this booking involves primary plant going out of service. A value is required when creating a new booking and is not updatable.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="Reason" type="EnumReasonType" minOccurs="0"><xsd:annotation><xsd:documentation>Reason for submission of an outage request. Must match a value from a pre-defined list. A value is required when creating a new booking and is not updatable.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="ScopeOfWork" type="EnumScopeOfWorkType" minOccurs="0"><xsd:annotation><xsd:documentation>The are business rules associated with this value. Allowable values are restricted by the selection of Reason + PrimaryOut. A value is required when creating a new booking and is not updatable.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="Certainty" type="EnumCertaintyType" minOccurs="0"><xsd:annotation><xsd:documentation>Outage Certainty level indicating how firm the outage booking is. A value is required when creating a new booking.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="BookingElements" type="BookingElements" minOccurs="0"><xsd:annotation><xsd:documentation>At least one item of equipment is required when creating a new booking. Also booking equipment can not be changed for an existing booking.</xsd:documentation></xsd:annotation><xsd:unique name="uniqueBookingElement"><xsd:selector xpath=".//BookingElement"/><xsd:field xpath="CompanyElementId"/><xsd:field xpath="ServiceAffected"/></xsd:unique></xsd:element><xsd:element name="Outages" type="Outages" minOccurs="0"><xsd:annotation><xsd:documentation>At least one outage is required when creating a new booking. When updating an existing booking, only include outages in this list that are new or being modified. Also the CompanyOutageId of a withdrawn outage can not be reused.</xsd:documentation></xsd:annotation><xsd:unique name="uniqueOutageInBooking"><xsd:selector xpath=".//Outage"/><xsd:field xpath="CompanyOutageId"/></xsd:unique></xsd:element><xsd:element name="Notes" type="CompanyNotes" minOccurs="0"><xsd:annotation><xsd:documentation>Notes attached to the booking, apply to all outages in that booking. When defining new notes the CompanyNoteId must be unique to the booking. Also the CompanyNoteId of a withdrawn note can not be reused.</xsd:documentation></xsd:annotation><xsd:unique name="uniqueNoteInBooking"><xsd:selector xpath=".//Note"/><xsd:field xpath="CompanyNoteId"/></xsd:unique></xsd:element><xsd:element name="ResubmitReason" type="EnumResubmitReasonType" minOccurs="0"><xsd:annotation><xsd:documentation>Required resubmission of booking notes and or booking details. This value is propagated down to outage level if the outage resubmit is not set. A reason is required on Booking withdraw.</xsd:documentation></xsd:annotation></xsd:element></xsd:sequence><xsd:attribute name="operationType" type="NOSOperationType" use="optional"/><xsd:attribute name="changedBy" type="MessageSecurityContext" use="optional"/></xsd:complexType>
<xsd:complexType name="BookingElementType"><xsd:annotation><xsd:documentation>The Equipment/Services Affected by the Booking.</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="CompanyElementId" type="CompanyElementIdType"><xsd:annotation><xsd:documentation>The TNSP unique identifier of either a Station or item of HV equipment.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="ServiceAffected" type="EnumBookingElementServiceAffectedType"><xsd:annotation><xsd:documentation>The Service Affected Type summary category.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="ServiceAffectedDetail" minOccurs="0"><xsd:annotation><xsd:documentation>Free form details of the serivce affected by the booking (may be an equipment description). This field becomes mandatory when the CompanyElementId is the identifier of a Station. Not required if HV equipment item is selected in CompanyElementId. Field is used to overcome the impracticality of having all secondary equipment in the equipment list.</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="60"/><xsd:whiteSpace value="collapse"/><xsd:minLength value="1"/></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType>
<xsd:complexType name="NOSOutageType"><xsd:annotation><xsd:documentation>Each Booking is made up of one or more Outages</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="CompanyOutageId" type="CompanyOutageIdType"><xsd:annotation><xsd:documentation>This field must contain a value that is unique to the booking it belongs to. This value is supplied by TNSP</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="CompanyRefCode" minOccurs="0"><xsd:annotation><xsd:documentation>A TNSP provided reference code (display only). Typically this is a job number or switching sheet reference. Does not have to be unique to the Outage.</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="CompanyRefCodeType"/></xsd:simpleType></xsd:element><xsd:element name="PlanStart" type="xsd:dateTime" nillable="false" minOccurs="0"><xsd:annotation><xsd:documentation>The planned start date/time of the outage. A value is required when creating a new outage.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="PlanFinish" type="xsd:dateTime" nillable="false" minOccurs="0"><xsd:annotation><xsd:documentation>The planned finish date/time of the outage. A value is required when creating a new outage.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="ActualStart" type="xsd:dateTime" minOccurs="0"><xsd:annotation><xsd:documentation>The actual start date/time of the outage</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="ReasonVarPlanActualStart" type="EnumReasonVarPlanActualType" minOccurs="0"><xsd:annotation><xsd:documentation>Why the actual start and the planned start vary by more than 30 mins</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="ActualFinish" type="xsd:dateTime" minOccurs="0"><xsd:annotation><xsd:documentation>The actual finish date/time of the outage</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="ReasonVarPlanActualFinish" type="EnumReasonVarPlanActualType" minOccurs="0"><xsd:annotation><xsd:documentation>Why the actual finish and the planned finish vary be more than 30 mins</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="DayRecallMin" type="xsd:int" minOccurs="0"><xsd:annotation><xsd:documentation>The number of minutes the company requires to return the affected items of plant to service during the day. A value less than 0 with be interpreted as "No recall" When the value is not supplied at all the interpretation is "Not applicable" Business rule is that both DayRecallMin and NightRecallMin cannot both be "NotApplicable"</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="NightRecallMin" type="xsd:int" minOccurs="0"><xsd:annotation><xsd:documentation>The number of minutes the company requires to return the affected items of plant to service during the night. A value less than 0 with be interpreted as "No recall". When the value is not supplied at all the interpretation is "Not Applicable"Business rule is that both DayRecallMin and NightRecallMin cannot both be "NotApplicable"</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="DNSPAware" type="xsd:boolean" default="false" minOccurs="0"><xsd:annotation><xsd:documentation>The TNSP has notified affected DNSPs</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="GenAware" type="xsd:boolean" default="false" minOccurs="0"><xsd:annotation><xsd:documentation>The TNSP has notified affected Geneators</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="OtherRegionAware" type="xsd:boolean" default="false" minOccurs="0"><xsd:annotation><xsd:documentation>The TNSP has notified other affected TNSPs</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="Notes" type="CompanyNotes" minOccurs="0"><xsd:annotation><xsd:documentation>Notes attached to an outage apply only to that outage. When defining new notes the CompanyNoteId must be unique to the outage. Also the CompanyNoteId of a withdrawn note can not be reused.</xsd:documentation></xsd:annotation><xsd:unique name="uniqueNoteInOutage"><xsd:selector xpath=".//Note"/><xsd:field xpath="CompanyNoteId"/></xsd:unique></xsd:element><xsd:element name="ResubmitReason" type="EnumResubmitReasonType" minOccurs="0"><xsd:annotation><xsd:documentation>Reason outage has been withdrawn or modified. Required only on outage resubmission.</xsd:documentation></xsd:annotation></xsd:element></xsd:sequence><xsd:attribute name="operationType" type="NOSOperationType" use="optional"/><xsd:attribute name="changedBy" type="MessageSecurityContext" use="optional"/></xsd:complexType>
<xsd:complexType name="CompanyNotes"><xsd:annotation><xsd:documentation>Container for company notes</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="Note" type="CompanyNoteType" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>A note can not contain both a blank plain text section and an empty file attachment.</xsd:documentation></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType>
<xsd:complexType name="CompanyNoteType"><xsd:annotation><xsd:documentation>Note that belongs to an Outage or Booking.</xsd:documentation></xsd:annotation><xsd:complexContent><xsd:extension base="NoteType"><xsd:sequence><xsd:element name="CompanyNoteId" type="CompanyNoteIdType"><xsd:annotation><xsd:documentation>Company provided id, unique to outage or booking.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="Type" type="EnumCompanyNoteType" minOccurs="0"><xsd:annotation><xsd:documentation>A value is required when creating a new note and is not updatable.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="IncludeInRiemns" type="xsd:boolean" minOccurs="0"><xsd:annotation><xsd:documentation>A value is required when creatiing a new note. This element indicates that the current note can be included in the RIEMNS report. Can not be modifed once set.</xsd:documentation></xsd:annotation></xsd:element></xsd:sequence><xsd:attribute name="operationType" type="NOSOperationType" use="optional"/><xsd:attribute name="changedBy" type="MessageSecurityContext" use="optional"/></xsd:extension></xsd:complexContent></xsd:complexType>
<xsd:complexType name="NOSBookingResponse"><xsd:annotation><xsd:documentation>When a booking submission is processed by NEMMCO a 'Booking Response' will be generated.</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="Booking" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>The response for an individual booking contains the booking's unique id, the operation attempted and success/failure indicated by the event element. If the operation was successful none of the other booking sub-components (note, outage, etc) will be provided.</xsd:documentation></xsd:annotation><xsd:complexType><xsd:complexContent><xsd:extension base="BookingResponseType"/></xsd:complexContent></xsd:complexType></xsd:element></xsd:sequence><xsd:attribute name="version" type="r18" use="required"/></xsd:complexType>
<xsd:complexType name="BookingResponseType"><xsd:annotation><xsd:documentation>For reporting successful submission or error causing the submission to fail.</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="CompanyBookingId" type="CompanyBookingIdType"><xsd:annotation><xsd:documentation>Unique id provided by the request initiator for a booking</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="BookingElement" type="BookingElementResponseType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Individual booking elements are identified by the combined value of CompanyElementId and ServiceAffected.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="Outage" type="OutageResponseType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Individual outages belonging to this booking are identified by the CompanyOutageId.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="Note" type="CompanyNoteResponseType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Individual notes belonging to this booking are identified by the CompanyNoteId.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="Error" type="NOSErrorType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Errors at the booking level only.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="Event" type="Event"><xsd:annotation><xsd:documentation>Contains overall success/failure</xsd:documentation></xsd:annotation></xsd:element></xsd:sequence><xsd:attribute name="operationType" type="NOSOperationType" use="required"/></xsd:complexType>
<xsd:complexType name="OutageResponseType"><xsd:annotation><xsd:documentation>For reporting outage errors</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="CompanyOutageId" type="CompanyOutageIdType"/><xsd:element name="Note" type="CompanyNoteResponseType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Individual notes belonging to this outage are identified by the CompanyNoteId.</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="Error" type="NOSErrorType" minOccurs="0" maxOccurs="unbounded"><xsd:annotation><xsd:documentation>Errors at the outage level only.</xsd:documentation></xsd:annotation></xsd:element></xsd:sequence><xsd:attribute name="operationType" type="NOSOperationType" use="required"/></xsd:complexType>
<xsd:complexType name="NOSBookingInfoRequest"><xsd:annotation><xsd:documentation>Requests for specific booking and or outage information.</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="BookingInfoRequestKey" type="BookingInfoRequestKeyType" maxOccurs="unbounded"/></xsd:sequence><xsd:attribute name="version" type="r16" use="optional"/></xsd:complexType>
Represents a request for current information about a specific Booking or a particular Outage within a Repeating Booking. The attribute, "InfoType" specifies the type of Booking Information to be returned.
<xsd:complexType name="BookingInfoRequestKeyType"><xsd:annotation><xsd:documentation>Represents a request for current information about a specific Booking or a particular Outage within a Repeating Booking. The attribute, "InfoType" specifies the type of Booking Information to be returned.</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="CompanyBookingId" type="CompanyBookingIdType"><xsd:annotation><xsd:documentation>The TNSP generated ID for Booking</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="CompanyOutageId" type="CompanyOutageIdType" minOccurs="0"><xsd:annotation><xsd:documentation>The TNSP generated ID for an outage. Only required when the information request pertains only to a single outage from a repeating booking. This ID is unique within it's booking</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="TNSPId" type="PartyIdentifier" minOccurs="0"><xsd:annotation><xsd:documentation>The B2B id of the TNSP that owns the booking/outage. Only required if the requesting TNSP is not the same as the TNSP that owns the Booking/Outage.</xsd:documentation></xsd:annotation></xsd:element></xsd:sequence><xsd:attribute name="infoType" use="optional" default="all"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:enumeration value="all"><xsd:annotation><xsd:documentation>all information relating to the booking and or outage</xsd:documentation></xsd:annotation></xsd:enumeration><xsd:enumeration value="NEMMCO"><xsd:annotation><xsd:documentation>Only NEMMCO generated information about an outage (ie status, constraints, assessment notes)</xsd:documentation></xsd:annotation></xsd:enumeration><xsd:enumeration value="TNSP"><xsd:annotation><xsd:documentation>Only TNSP generated information (ie booking, outage)</xsd:documentation></xsd:annotation></xsd:enumeration></xsd:restriction></xsd:simpleType></xsd:attribute></xsd:complexType>
<xsd:attribute name="infoType" use="optional" default="all"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:enumeration value="all"><xsd:annotation><xsd:documentation>all information relating to the booking and or outage</xsd:documentation></xsd:annotation></xsd:enumeration><xsd:enumeration value="NEMMCO"><xsd:annotation><xsd:documentation>Only NEMMCO generated information about an outage (ie status, constraints, assessment notes)</xsd:documentation></xsd:annotation></xsd:enumeration><xsd:enumeration value="TNSP"><xsd:annotation><xsd:documentation>Only TNSP generated information (ie booking, outage)</xsd:documentation></xsd:annotation></xsd:enumeration></xsd:restriction></xsd:simpleType></xsd:attribute>