administrative ============== ``iati-activities/iati-activity/location/administrative`` This is the reference page for the XML element ``administrative``. .. index:: single: administrative Definition ~~~~~~~~~~ Coded identification of national and sub-national divisions according to recognised administrative boundary repositories. Multiple levels may be reported. Rules ~~~~~ This element may occur any number of times. Attributes ~~~~~~~~~~ .. _iati-activities/iati-activity/location/administrative/.code: @code The code for the administrative area being reported from the vocabulary specified. This attribute is required. This value must be of type xsd:string. This value should be on the :doc:`Country codelist `, if the relevant vocabulary is used. .. _iati-activities/iati-activity/location/administrative/.vocabulary: @vocabulary An IATI code for a recognised administrative boundary repository. This attribute is required. This value must be of type xsd:string. This value must be on the :doc:`GeographicVocabulary codelist `. .. _iati-activities/iati-activity/location/administrative/.level: @level A number defining a subdivision within a hierarchical system of administrative areas. The precise system for defining the particular meaning of each @level value is determined by the @vocabulary being used. This value must be of type xsd:nonNegativeInteger. Example Usage ~~~~~~~~~~~~~ Example usage of ``administrative`` within a ``location`` of an ``iati-activity``. | The ``@vocabulary`` attribute declares a valid code (*G1*) from the *GeographicVocabulary* codelist. | An example value of *1453782* from that vocabulary is declared in the ``@code`` attribute. | An example value of *1* is declared for the ``@level`` attribute. .. literalinclude:: ../../../activity-standard-example-annotated.xml :language: xml :start-after: :end-before: Note: Multiple administrative levels can be reported by repeating the ``administrative`` element: .. code-block:: xml Location name Location description A description that qualifies the activity taking place at the location 31.616944 65.716944 Changelog ~~~~~~~~~ 2.01 ^^^^ Freetext is `no longer allowed `__ within this element. The @county, @adm1 and @adm2 attributes were `removed `__. 1.04 ^^^^ | In 1.04 the @country, @adm1 and @adm2 attributes were deprecated. The new attributes replace the function of the previous ones. Developer tools ~~~~~~~~~~~~~~~ Find the source of this documentation on github: * `Schema `_ * `Extra Documentation `_