View schema

There are 2 QA scripts and 2 conversion scripts registered for this schema.
Link to the schema page on XMLCONV

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <xs:include schemaLocation="datatypes.xsd"/>
    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
    <xs:annotation>
        <xs:documentation>Birds Directive Article 12 Reporting. XML Schema for Birds report.
            Version: $Id$
            Created: 24 October 2017
        </xs:documentation>
    </xs:annotation>

    <xs:element name="bird_reports">
        <xs:annotation>
            <xs:documentation>Root element for Bird species reports. Contains 1 or multiple reports.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="bird_report" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:attribute ref="xml:lang" use="required"/>
            <xs:attribute name="redlist" type="xs:boolean" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="bird_report">
        <xs:annotation>
            <xs:documentation>Element for one Bird species report</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <!-- 1. -->
                <xs:element name="country" type="CountryArt12Type"/>
                <xs:element name="speciescode" type="String10Type"/>
                <xs:element name="euringcode" type="String10Type"/>
                <xs:element name="speciesname" type="String255Type"/>
                <xs:element name="sub_unit" type="String255Type"/>
                <xs:element name="alternative_speciesname" type="String255Type"/>
                <xs:element name="common_speciesname" type="String255Type"/>
                <xs:element name="season" type="SeasonType"/>
                <!-- 2. -->
                <xs:element name="population_date" type="YearOrPeriodType"/>
                <xs:element name="population_size_unit" type="String50Type"/>
                <xs:element name="population_size_min" type="PositiveIntegerSimpleType"/>
                <xs:element name="population_size_max" type="PositiveIntegerSimpleType"/>
                <xs:element name="population_size" type="PositiveIntegerSimpleType"/>
                <xs:element name="population_estimate_type" type="String25Type"/>
                <xs:element name="population_method" type="String100Type"/>
                <xs:element name="population_sources" type="StringSimpleType"/>
                <xs:element name="population_reasons_for_change" type="DataChangeType"/>
                <xs:element name="population_info" type="StringSimpleType"/>
                <!-- 3. -->
                <!-- 3.1 -->
                <xs:element name="population_trend_period" type="PeriodType"/>
                <xs:element name="population_trend" type="String255Type"/>
                <xs:element name="population_trend_magnitude_min" type="DecimalSimpleType"/>
                <xs:element name="population_trend_magnitude_max" type="DecimalSimpleType"/>
                <xs:element name="population_trend_magnitude" type="DecimalSimpleType"/>
                <xs:element name="population_trend_method" type="String100Type"/>
                <xs:element name="population_trend_sources" type="StringSimpleType"/>
                <!-- 3.2 -->
                <xs:element name="population_trend_long_period" type="PeriodType"/>
                <xs:element name="population_trend_long" type="String255Type"/>
                <xs:element name="population_trend_long_magnitude_min" type="DecimalSimpleType"/>
                <xs:element name="population_trend_long_magnitude_max" type="DecimalSimpleType"/>
                <xs:element name="population_trend_long_magnitude" type="DecimalSimpleType"/>
                <xs:element name="population_trend_long_method" type="String100Type"/>
                <xs:element name="population_trend_long_sources" type="StringSimpleType"/>
                <!-- 3.3 -->
                <xs:element name="population_trend_info" type="StringSimpleType"/>
                <!-- 4. -->
                <xs:element name="sensitive_species" type="BooleanSimpleType"/>
                <xs:element name="distribution_period" type="YearOrPeriodType"/>
                <xs:element name="distribution_map" type="BooleanSimpleType"/>
                <xs:element name="distribution_surface_area" type="PositiveDecimalSimpleType"/>
                <xs:element name="distribution_method" type="String100Type"/>
                <xs:element name="additional_distribution_map" type="BooleanSimpleType"/>
                <xs:element name="distribution_source" type="StringSimpleType"/>
                <xs:element name="distribution_info" type="StringSimpleType"/>
                <!-- 5. -->
                <!-- 5.1 -->
                <xs:element name="distribution_trend_period" type="PeriodType"/>
                <xs:element name="distribution_trend" type="String255Type"/>
                <xs:element name="distribution_trend_magnitude_min" type="DecimalSimpleType"/>
                <xs:element name="distribution_trend_magnitude_max" type="DecimalSimpleType"/>
                <xs:element name="distribution_trend_magnitude" type="DecimalSimpleType"/>
                <xs:element name="distribution_trend_method" type="String100Type"/>
                <xs:element name="distribution_trend_source" type="StringSimpleType"/>
                <!-- 5.2 -->
                <xs:element name="distribution_trend_long_period" type="PeriodType"/>
                <xs:element name="distribution_trend_long" type="String255Type"/>
                <xs:element name="distribution_trend_long_magnitude_min" type="DecimalSimpleType"/>
                <xs:element name="distribution_trend_long_magnitude_max" type="DecimalSimpleType"/>
                <xs:element name="distribution_trend_long_magnitude" type="DecimalSimpleType"/>
                <xs:element name="distribution_trend_long_method" type="String100Type"/>
                <xs:element name="distribution_trend_long_source" type="StringSimpleType"/>
                <!-- 5.3 -->
                <xs:element name="distribution_trend_info" type="StringSimpleType"/>
                <!-- 6. -->
                <xs:element name="data_in_other_season" type="BooleanSimpleType"/>
                <xs:element name="plan" type="String50Type"/>
                <xs:element name="national_plan_adopted" type="BooleanSimpleType"/>
                <xs:element name="measures_taken" type="StringSimpleType"/>
                <xs:element name="effectiveness_SAPs" type="String100Type"/>
                <xs:element name="effectiveness_MPs" type="String100Type"/>
                <xs:element name="further_info" type="StringSimpleType"/>
                <!--&lt;!&ndash; 7. &ndash;&gt;-->
                <!--Pressures-->
                <xs:element name="pressures">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="pressure" minOccurs="0" maxOccurs="10">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="code" type="String10Type"/>
                                        <xs:element name="ranking" type="String10Type"/>
                                        <xs:element name="location" type="String50Type"/>
                                    </xs:sequence>
                                </xs:complexType>
                            </xs:element>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
                <!--Threats-->
                <xs:element name="threats">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="threat" minOccurs="0" maxOccurs="10">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="code" type="String10Type"/>
                                        <xs:element name="ranking" type="String10Type"/>
                                        <xs:element name="location" type="String50Type"/>
                                    </xs:sequence>
                                </xs:complexType>
                            </xs:element>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
                <!--Pressures threats info-->
                <xs:element name="pressures_threats_info">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="pressures_source" type="StringSimpleType"/>
                            <xs:element name="pressures_info" type="StringSimpleType"/>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
                <!-- 8. -->
                <xs:element name="conservation_measures">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="measures_needed" type="BooleanSimpleType"/>
                            <xs:element name="measures_status" type="String100Type"/>
                            <xs:element name="measures_purpose" type="String100Type"/>
                            <xs:element name="measures_location" type="String100Type"/>
                            <xs:element name="measures_response" type="String100Type"/>
                            <xs:element name="measures">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="measure" minOccurs="0" maxOccurs="10">
                                            <xs:complexType>
                                                <xs:sequence>
                                                    <xs:element name="code" type="String10Type"/>
                                                </xs:sequence>
                                            </xs:complexType>
                                        </xs:element>
                                    </xs:sequence>
                                </xs:complexType>
                            </xs:element>
                            <xs:element name="measures_info" type="StringSimpleType"/>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
                <!-- 9. Natura 2000 (SPAs) coverage-->
                <xs:element name="spa_population_unit" type="String25Type"/>
                <xs:element name="spa_population_min" type="PositiveIntegerSimpleType"/>
                <xs:element name="spa_population_max" type="PositiveIntegerSimpleType"/>
                <xs:element name="spa_population" type="PositiveIntegerSimpleType"/>
                <xs:element name="spa_population_estimate_type" type="String25Type"/>
                <xs:element name="spa_population_method" type="String100Type"/>
                <xs:element name="spa_population_trend" type="String15Type"/>
                <xs:element name="spa_population_trend_method" type="String100Type"/>
                <xs:element name="spa_info" type="StringSimpleType"/>
                <!-- 10. Information related to Annex II species (Art.7) -->
                <xs:element name="data_birds_annexII">
                    <xs:complexType>
                        <xs:sequence minOccurs="0">
                            <xs:element name="data_in_other_season" type="BooleanSimpleType"/>
                            <xs:element name="nationally_hunted" type="BooleanSimpleType"/>
                            <xs:element name="huntingbag_unit" type="String50Type"/>
                            <xs:element name="huntingbag_y1_min" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y1_max" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y1_unknown" type="BooleanSimpleType"/>
                            <xs:element name="huntingbag_y2_min" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y2_max" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y2_unknown" type="BooleanSimpleType"/>
                            <xs:element name="huntingbag_y3_min" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y3_max" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y3_unknown" type="BooleanSimpleType"/>
                            <xs:element name="huntingbag_y4_min" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y4_max" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y4_unknown" type="BooleanSimpleType"/>
                            <xs:element name="huntingbag_y5_min" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y5_max" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y5_unknown" type="BooleanSimpleType"/>
                            <xs:element name="huntingbag_y6_min" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y6_max" type="PositiveDecimalSimpleType"/>
                            <xs:element name="huntingbag_y6_unknown" type="BooleanSimpleType"/>
                            <xs:element name="huntingbag_method" type="String100Type"/>
                            <xs:element name="annexII_info" type="StringSimpleType"/>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>
Note

A check-in comment is required. Please enter it below.


Note

The schema's file name will not be changed, regardless of the name of the file you upload. Only the file contents will be overwritten!

Note

A new version requires a new file with a new name: