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 common types used by both NOS Booking and NOS Equipment transactions
<xsd:element name="FileName" minOccurs="0"><xsd:annotation><xsd:documentation>Required if file attachment included in note.</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="255"/><xsd:whiteSpace value="preserve"/><xsd:minLength value="1"/></xsd:restriction></xsd:simpleType></xsd:element>
<xsd:simpleType name="CompanyBookingIdType"><xsd:annotation><xsd:documentation>The ID (set by Company (TNSP)) of the submitted booking</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:maxLength value="20"/><xsd:minLength value="1"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="CompanyRefCodeType"><xsd:annotation><xsd:documentation>Common definition of a company provided booking reference (display only)</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:maxLength value="20"/><xsd:minLength value="1"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="EnumScopeOfWorkType"><xsd:annotation><xsd:documentation>Enumeration of possible RIEMNS compliant scopes of work for a booking</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:maxLength value="25"/><xsd:whiteSpace value="collapse"/><xsd:enumeration value="Line"/><xsd:enumeration value="Substn"/><xsd:enumeration value="Line/Substn"/><xsd:enumeration value="Live Line"/><xsd:enumeration value="Live Substn"/><xsd:enumeration value="Live Line/Substn"/><xsd:enumeration value="Protection"/><xsd:enumeration value="SCADA"/><xsd:enumeration value="Communications"/><xsd:enumeration value="Other secondary equipt"/><xsd:enumeration value="Auto Control Scheme"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="CompanyElementIdType"><xsd:annotation><xsd:documentation>The ID (set by Company (TNSP)) of the equipment involved in the booking</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:maxLength value="45"/><xsd:minLength value="1"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="CompanyOutageIdType"><xsd:annotation><xsd:documentation>The ID (set by Company (TNSP)) of the submitted outage</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:maxLength value="20"/><xsd:minLength value="1"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="EnumReasonVarPlanActualType"><xsd:annotation><xsd:documentation>Enumeration of possible reasons an outage planned and actual times may vary</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:maxLength value="30"/><xsd:whiteSpace value="collapse"/><xsd:enumeration value="Not Supplied"/><xsd:enumeration value="Security Requirement"/><xsd:enumeration value="System Conditions"/><xsd:enumeration value="Weather"/><xsd:enumeration value="Resource Problems"/></xsd:restriction></xsd:simpleType>
<xsd:complexType name="NoteType"><xsd:annotation><xsd:documentation>Standard NOS note. A note must have a PlainText and/or a FileAttach.</xsd:documentation></xsd:annotation><xsd:sequence><xsd:element name="PlainText" minOccurs="0"><xsd:annotation><xsd:documentation>The note as plain text</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:whiteSpace value="preserve"/><xsd:minLength value="1"/></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="FileName" minOccurs="0"><xsd:annotation><xsd:documentation>Required if file attachment included in note.</xsd:documentation></xsd:annotation><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="255"/><xsd:whiteSpace value="preserve"/><xsd:minLength value="1"/></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="FileAttach" type="xsd:base64Binary" minOccurs="0"><xsd:annotation><xsd:documentation>A single file attachment</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="CreatedBy" type="NOSUserIdType" minOccurs="0"><xsd:annotation><xsd:documentation>Set by NEMMCO</xsd:documentation></xsd:annotation></xsd:element><xsd:element name="CreatedOn" type="xsd:dateTime" minOccurs="0"><xsd:annotation><xsd:documentation>Set by NEMMCO</xsd:documentation></xsd:annotation></xsd:element></xsd:sequence></xsd:complexType>
<xsd:simpleType name="NOSUserIdType"><xsd:annotation><xsd:documentation>Common definition for user id fields through out NOS schema structures</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:whiteSpace value="collapse"/><xsd:maxLength value="128"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="CompanyNoteIdType"><xsd:annotation><xsd:documentation>The ID (set by Company (TNSP)) of the submitted note</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:maxLength value="20"/><xsd:minLength value="1"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="EnumCompanyNoteType"><xsd:annotation><xsd:documentation>Company Note type is used by both booking and outage notes. The word Company was used in the name to avoid confusion with Assessment note type.</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:maxLength value="40"/><xsd:whiteSpace value="collapse"/><xsd:enumeration value="Effect On System / Work Details"/><xsd:enumeration value="Contingency Plan"/><xsd:enumeration value="Issue Response"/><xsd:enumeration value="Pre-Requisite Switching"/><xsd:enumeration value="Limit Equation Data"/><xsd:enumeration value="Isolation Points"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="NOSOperationType"><xsd:annotation><xsd:documentation>Used to distinguish between submit, resubmit and withdraw of NOS data</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:enumeration value="Submit"/><xsd:enumeration value="Resubmit"/><xsd:enumeration value="Withdraw"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="EnumResubmitReasonType"><xsd:annotation><xsd:documentation>Enumeration of possible reason for resubmission or withdrawal of an outage</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:maxLength value="40"/><xsd:whiteSpace value="collapse"/><xsd:enumeration value="Not Supplied"/><xsd:enumeration value="Information Update"/><xsd:enumeration value="Optimising Availability"/><xsd:enumeration value="Environ Hazards"/><xsd:enumeration value="Resource Problems"/><xsd:enumeration value="NEMMCO Request"/><xsd:enumeration value="System Incident"/><xsd:enumeration value="Weather"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="EnumOutageStatusType"><xsd:annotation><xsd:documentation>Enumeration of statuses that can be assigned to an outage</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:maxLength value="20"/><xsd:whiteSpace value="collapse"/><xsd:enumeration value="SUBMIT"/><xsd:enumeration value="RESUBMIT"/><xsd:enumeration value="MTLTP"/><xsd:enumeration value="STLTP"/><xsd:enumeration value="PDLTP"/><xsd:enumeration value="PTP"/><xsd:enumeration value="PTR"/><xsd:enumeration value="COMPLETE"/><xsd:enumeration value="UTP"/><xsd:enumeration value="WD REQ"/><xsd:enumeration value="WDRAWN"/><xsd:enumeration value="INFO"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="NEMMCOIssueIdType"><xsd:annotation><xsd:documentation>The ID (set by NEMMCO) of a issue</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:int"/></xsd:simpleType>
<xsd:simpleType name="NOSInfoType"><xsd:annotation><xsd:documentation>Used to distinguish between submit, resubmit and withdraw of NOS data</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:string"><xsd:enumeration value="Booking Response"/><xsd:enumeration value="Equipment Response"/><xsd:enumeration value="Notification"/></xsd:restriction></xsd:simpleType>
<xsd:simpleType name="NOSVoltage"><xsd:annotation><xsd:documentation>Common voltage field definition</xsd:documentation></xsd:annotation><xsd:restriction base="xsd:decimal"><xsd:totalDigits value="5"/><xsd:fractionDigits value="1"/></xsd:restriction></xsd:simpleType>