description
===========
``iati-activities/iati-activity/description``
This is the reference page for the XML element ``description``.
.. index::
single: description
Definition
~~~~~~~~~~
A longer, human-readable description containing a
meaningful description of the activity. May be repeated
for different languages.
Rules
~~~~~
This element must occur at least once (within each parent element).
Attributes
~~~~~~~~~~
.. _iati-activities/iati-activity/description/.type:
@type
The type of description being provided. This is not
required if only one general description of the activity
is reported.
This value must be of type xsd:string.
This value must be on the :doc:`DescriptionType codelist `.
Example Usage
~~~~~~~~~~~~~
Example ``description`` of an ``iati-activity``.
| The ``@type`` attribute declares a valid code (*en*) from the *DescriptionType* codelist.
.. code-block:: xml
General activity description text. Long description of the activity with no particular structure.
| The ``description`` element can be repeated in any ``iati-activity``.
| In this example, three different ``description`` are declared.
| Note - it is optional to include all ``DescriptionType``.
.. literalinclude:: ../../activity-standard-example-annotated.xml
:language: xml
:start-after:
:end-before:
Changelog
~~~~~~~~~
2.01
^^^^
| Freetext is no longer allowed with this element. It should now be declared with the new child ``narrative`` element.
Developer tools
~~~~~~~~~~~~~~~
Find the source of this documentation on github:
* `Schema `_
* `Extra Documentation `_
Subelements
~~~~~~~~~~~
.. toctree::
:titlesonly:
:maxdepth: 1
description/narrative