<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:pm="http://namespace.lantmateriet.se/geodata/plan_bestammelse/v3"
           targetNamespace="http://namespace.lantmateriet.se/geodata/plan_bestammelse/v3"
           elementFormDefault="qualified"
           attributeFormDefault="unqualified"
           version="3.0">
    <xs:import namespace="http://namespace.lantmateriet.se/geodata/exchange/v4"
               schemaLocation="../../exchange/v4/lm-exchange.xsd"/>
    <xs:simpleType name="StringType">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String4Type">
        <xs:restriction base="pm:StringType">
            <xs:maxLength value="4"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String7Type">
        <xs:restriction base="pm:StringType">
            <xs:maxLength value="7"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String8Type">
        <xs:restriction base="pm:StringType">
            <xs:maxLength value="8"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String14Type">
        <xs:restriction base="pm:StringType">
            <xs:maxLength value="14"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String50Type">
        <xs:restriction base="pm:StringType">
            <xs:maxLength value="50"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String100Type">
        <xs:restriction base="pm:StringType">
            <xs:maxLength value="100"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String300Type">
        <xs:restriction base="pm:StringType">
            <xs:maxLength value="300"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String500Type">
        <xs:restriction base="pm:StringType">
            <xs:maxLength value="500"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String1000Type">
        <xs:restriction base="pm:StringType">
            <xs:maxLength value="1000"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="String2000Type">
        <xs:restriction base="pm:StringType">
            <xs:maxLength value="2000"/>
        </xs:restriction>
    </xs:simpleType>
</xs:schema>