View schema

There are 0 QA scripts and 0 conversion scripts registered for this schema.

<?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>Resolution 8 (2012) Reporting. XML Schema for Birds report.
        </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. Species information -->
                <xs:element name="country" type="CountryType"/>
                <xs:element name="speciescode" type="String10Type"/>
                <xs:element name="euringcode" type="String10Type"/>
                <xs:element name="speciesname" type="String255Type"/>
                <xs:element name="alternative_speciesname" type="String255Type"/>
                <xs:element name="common_speciesname" type="String255Type"/>
                <xs:element name="season" type="SeasonType"/>
                <!-- 2. Population size  -->
                <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" minOccurs="0"/>
                <xs:element name="population_info" type="StringSimpleType"/>
                <!-- 3. Population trend -->
                <!-- 3.1 Short-term trend (last 12 years) -->
                <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 Long-term trend -->
                <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"/>
                <xs:element name="population_trend_info" type="StringSimpleType"/>
                <!-- 4. Breeding distribution map and size -->
                <xs:element name="sensitive_species" type="BooleanSimpleType"/>
                <xs:element name="distribution_period" type="PeriodType"/>
                <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. Breeding distribution trend -->
                <!-- 5.1 Short-term trend (last 12 years) -->
                <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 Long-term trend (since c. 1980) -->
                <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"/>
                <xs:element name="distribution_trend_info" type="StringSimpleType"/>
                <!-- 6. Progress in work related to international Species Action Plans (SAPs), Management Plans (MPs) and Brief Management Statements (BMSs) -->
                <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="further_info" type="StringSimpleType"/>
                <!--7. Main pressures and threats-->
                <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. Conservation measures -->
                <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. Emerald (ASCIs) 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"/>
            </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: