﻿<?xml version="1.0" encoding="utf-8"?>
<schema targetNamespace="urn:oio:trafikstyrelsen:sikkerhedsindberetning:1"
    elementFormDefault="qualified"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:TS ="urn:oio:trafikstyrelsen:sikkerhedsindberetning:1"
xml:lang="EN">

  <include schemaLocation="http://digitaliser.dk/resource/249642/artefact/OperatorInvolvedCollection.xsd"/>
  <include schemaLocation="http://digitaliser.dk/resource/249891/artefact/EventReportDate.xsd"/>
  <include schemaLocation="http://digitaliser.dk/resource/249427/artefact/EventReportTime.xsd"/>
  <include schemaLocation="http://digitaliser.dk/resource/249859/artefact/OperatorRecordedeventIdentifier.xsd"/>  
  <include schemaLocation="http://digitaliser.dk/resource/249827/artefact/LocationInvolvedStructure.xsd"/>  
  <include schemaLocation="http://digitaliser.dk/resource/249552/artefact/TrafficInvolvedStructure.xsd"/>
  <include schemaLocation="http://digitaliser.dk/resource/249451/artefact/TrainInvolvedCollection.xsd"/>
  <include schemaLocation="http://digitaliser.dk/resource/249618/artefact/EventInvolvedStructure.xsd"/>
  <include schemaLocation="http://digitaliser.dk/resource/249584/artefact/EventConditiondescriptionStructure.xsd"/>
  <include schemaLocation="http://digitaliser.dk/resource/249650/artefact/EventConsequenceStructure.xsd"/>
  <include schemaLocation="http://digitaliser.dk/resource/249937/artefact/EventCauseStructure.xsd"/>
  <include schemaLocation="http://digitaliser.dk/resource/249475/artefact/EventRecommendationStructure.xsd"/>
  

  <element name="ReportDataStructure" type="TS:ReportDataStructureType" >

  </element>

  <complexType name="ReportDataStructureType">
    <sequence>
      <element ref="TS:OperatorRecordedeventIdentifier"/>
      <element ref="TS:OperatorInvolvedCollection"/>
      <element ref="TS:EventReportDate"/>
      <element ref="TS:EventReportTime"/>
      <element ref="TS:LocationInvolvedStructure"/>
      <element ref="TS:TrafficInvolvedStructure"/>
      <element ref="TS:TrainInvolvedCollection"/>
      <element ref="TS:EventInvolvedStructure"/>
      <element ref="TS:EventConditiondescriptionStructure"/>
      <element ref="TS:EventConsequenceStructure"/>
      <element ref="TS:EventCauseStructure"/>
      <element ref="TS:EventRecommendationStructure"/>
    </sequence>
  </complexType>

</schema>
