<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:tns="https://schemas.rutdev.se/xsd/exchange/metaplus/types/exchange-types-1.0.xsd"
    targetNamespace="https://schemas.rutdev.se/xsd/exchange/metaplus/types/exchange-types-1.0.xsd"
    elementFormDefault="qualified"
    version="1.0">

    <!--
      Tns Types Schema

      Description: Tns type definitions
      Version: 1.0
      Generated: 2026-04-22T06:56:44Z
      Source: specs/types/tns/1.0/
    -->

    <!-- The system where the data was exported from -->
    <xsd:simpleType name="SourceSystemEnum">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="Metaplus"/>
        </xsd:restriction>
    </xsd:simpleType>

    <!-- Metadata for the specific export of data from the source system -->
    <xsd:complexType name="Meta">
        <xsd:sequence>
            <xsd:element name="extractedAt" type="xsd:dateTime"/>
            <xsd:element name="sourceSystem" type="tns:SourceSystemEnum"/>
        </xsd:sequence>
    </xsd:complexType>

</xsd:schema>