Schema source
opra_plannedFrame_version.xsd
OpRa/xsd/opra_framework/opra_frames/opra_plannedFrame_version.xsdView on GitHub
<?xml version="1.0" encoding="UTF-8"?>
<!--Created with Liquid Studio (https://www.liquid-technologies.com)-->
<xsd:schema xmlns="https://transmodel-cen.eu/opra/1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:netex="http://www.netex.org.uk/netex" targetNamespace="https://transmodel-cen.eu/opra/1.0" attributeFormDefault="unqualified" elementFormDefault="qualified" id="opra_plannedFrame_version" version="1.0">
<xsd:import schemaLocation="../../opra_imports/opra_netex_imports.xsd" namespace="http://www.netex.org.uk/netex"/>
<!-- OpRa includes-->
<!-- ======================================================================= -->
<xsd:annotation>
<xsd:appinfo>
<Metadata>
<Aggregation>main schema</Aggregation>
<Audience>e-service developers</Audience>
<Coverage>Europe</Coverage>
<Creator>First Drafted for version 1.0 CEN TC278 WG3 SG10 - OpRa - Editor CEN Opra Project Team</Creator>
<Date>
<Created>2024-11-29</Created>
</Date>
<Description>
<p>OpRa - Operational Raw Data</p>
</Description>
<Format>
<MediaType>text/xml</MediaType>
<Syntax>http://www.w3.org/2001/XMLSchema</Syntax>
<Description>XML schema, W3C Recommendation 2001</Description>
</Format>
<Identifier>{https://transmodel-cen.eu/opra/1.0/xsd/opra_framework/opra_frames/opra_plannedFrame_version.xsd</Identifier>
<Language>[ISO 639-2/B] ENG</Language>
<Rights>Unclassified
</Rights>
<Source>
<ul>
<li>Created for OpRa</li>
</ul>
</Source>
<Status>Initial Version</Status>
<Subject>
<Category>Arts, recreation and travel, Tourism, Travel (tourism), Transport,
Air transport, Airports,
Ports and maritime transport, Ferries (marine),
Public transport, Bus services, Coach services, Bus stops and stations,
Rail transport, Railway stations and track, Train services, Underground trains,
Business and industry, Transport, Air transport , Ports and maritime transport, Public transport,
Rail transport, Roads and Road transport
</Category>
<Project>CEN TC278 WG3 SG10.</Project>
</Subject>
<Title>Opra Planned Frame</Title>
<Type>Standard</Type>
</Metadata>
</xsd:appinfo>
<xsd:documentation>OpRa PlannedFrame, containing/referring data for planned service.</xsd:documentation>
</xsd:annotation>
<!-- ======================================================================= -->
<xsd:simpleType name="PlannedFrameIdType">
<xsd:annotation>
<xsd:documentation>Type for identifier of a PlannedFrame.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="netex:VersionFrameIdType"/>
</xsd:simpleType>
<xsd:element name="PlannedFrameRef" type="PlannedFrameRefStructure" substitutionGroup="netex:VersionFrameRef" abstract="false">
<xsd:annotation>
<xsd:documentation>Reference element to an OpRa PlannedFrame.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="PlannedFrameRefStructure" abstract="false">
<xsd:annotation>
<xsd:documentation>Type for a reference to an OpRa PlannedFrame.</xsd:documentation>
</xsd:annotation>
<xsd:simpleContent>
<xsd:restriction base="netex:VersionFrameRefStructure">
<xsd:attribute name="ref" type="PlannedFrameIdType" use="required"/>
</xsd:restriction>
</xsd:simpleContent>
</xsd:complexType>
<!-- ======================================================================= -->
<xsd:element name="PlannedFrame" substitutionGroup="netex:CommonFrame" abstract="false">
<xsd:annotation>
<xsd:documentation>The planned service within the frame VALIDITY CONDITIONs.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="OpRa_PlannedFrame_VersionFrameStructure">
<xsd:sequence>
<xsd:sequence>
<xsd:group minOccurs="0" ref="netex:EntityInVersionGroup"/>
</xsd:sequence>
<xsd:sequence>
<xsd:group ref="netex:DataManagedObjectGroup"/>
</xsd:sequence>
<xsd:sequence>
<xsd:group ref="netex:VersionFrameGroup"/>
</xsd:sequence>
<xsd:sequence>
<xsd:group ref="PlannedFrameGroup"/>
</xsd:sequence>
</xsd:sequence>
<xsd:attribute name="id" type="PlannedFrameIdType"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="OpRa_PlannedFrame_VersionFrameStructure" abstract="false">
<xsd:annotation>
<xsd:documentation>Type for a PlannedFrame.</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="netex:Common_VersionFrameStructure">
<xsd:sequence>
<xsd:group ref="PlannedFrameGroup"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:group name="PlannedFrameGroup">
<xsd:annotation>
<xsd:documentation>Elements for a PlannedFrame.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="NetexUrl" type="xsd:anyURI" minOccurs="0">
<xsd:annotation>
<xsd:documentation>An optional link to a previously published NeTEx feed content location.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:group ref="PlannedServiceInFrameGroup"/>
</xsd:sequence>
</xsd:group>
<!-- ======================================================================= -->
<xsd:group name="PlannedServiceInFrameGroup">
<xsd:annotation>
<xsd:documentation>OpRa related elements in the PlannedFrame.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="NetexPayload" type="netex:dataObjects_RelStructure" minOccurs="0">
<xsd:annotation>
<xsd:documentation>The planned service as a NeTEx payload structure.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
<!-- ======================================================================= -->
</xsd:schema>