General / Detailed Sector
<sector></sector>
From the schema
Can occur: Min = 0, Max = Unlimited
Sector code and name. For the value of the @code attribute, see http://iatistandard.org/101/codelists/sector
@code | Machine-readable code for the entity being described. |
@vocabulary | An identifier for the vocabulary in use, to segment sectors into different vocabularies (e.g. DAC, OCHA) to aid with comparison and classification. If omitted, assume DAC. See http://iatistandard.org/101/codelists/vocabulary |
@percentage | The percentage of the project allocated to this sector, if known. Content must be a positive integer between 1 and 100, with no percentage sign. Percentages are comparable only across sectors in the same vocabulary. |
This element also references "textAtts"
Attribute group for elements containing free text content.
value | use | description |
---|---|---|
@xml:lang | optional | http://www.w3.org/XML/1998/namespace |
Standard compliance test(s) for /sector/*
- percentages of sectors in every vocabulary including the default vocabulary sum to 100
- Must be on: Sector Codelist
- Must be on: Sector Codelist
- Must be on: Vocabulary Codelist
Sector
Example Usage
A code for the sector can be declared:
<sector code="13040"/>
Additionally, a text description for the code can be provided:
<sector code="13040">STD control including HIV/AIDS</sector>
The vocabulary attribute can be used to declare which code reference list is in use. If this is omitted, then IATI assumes the DAC vocabulary.
<sector vocabulary="WB" code="BC">Central government administration</sector>
If the specific vocabulary in use is not on the vocabulary codelist, then the value of RO (Reporting Organisation) can be used:
<sector vocabulary="RO">Education</sector>When multiple sectors are in use in the same activity, then the percentage attribute should be used - the total of all percentages within the same activity should total 100.
<sector code="13040" percentage="60">STD control including HIV/AIDS</sector> <sector code="12220" percentage="40">Basic health care</sector>
Should a description be used that is different to the default language set for the activity, then this should be declared as follows:
<sector code="13040" xml:lang="en">STD control including HIV/AIDS</sector>