-
Notifications
You must be signed in to change notification settings - Fork 9
/
iati-activities-schema.xsd
2559 lines (2480 loc) · 125 KB
/
iati-activities-schema.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.03">
<xsd:annotation>
<xsd:documentation xml:lang="en">
International Aid Transparency Initiative: Activity-Information Schema
Release 2.03, 2018-02-19
NOTE: the xml.xsd and iati-common.xsd schemas must be in the
same directory as this one.
This W3C XML Schema defines an XML document type for information
about one or more aid-related activities, following the standard
published at http://iatistandard.org/
This document type may be extended with additional elements and
attributes, but they must belong to an explicit XML namespace.
</xsd:documentation>
</xsd:annotation>
<xsd:include schemaLocation="iati-common.xsd"/>
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="xml.xsd"/>
<xsd:element name="iati-activities">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Top-level list of one or more IATI activity records.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="iati-activity" minOccurs="1" maxOccurs="unbounded"/>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="version" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A number indicating the IATI specification version in use.
This is mandatory and must be a valid version.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="generated-datetime" type="xsd:dateTime" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A date/time stamp for when this file was generated. This
is not necessarily the last-updated date for the
individual activity records in it. Use of this attribute
is highly recommended, to allow recipients to know when a
file has been updated.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="linked-data-default" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
If a publisher chooses to publish linked data about their
IATI activities then allowing them to declare where this
data is published would support discovery of it, and any
additional information they may choose to publish as
Linked Data alongside it.
This attribute is a URI path upon which an activity
identifier can be appended to get a differentiable URI
for any activity contained within a file.
Where a publisher declares using one of these properties
that authoritative linked data is accessible for an
activity then consuming applications that are generating
Linked Data from an IATI XML file should assert an
owl:sameAs relationship to the relevant URI.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="iati-activity">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Top-level element for a single IATI activity report.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="iati-identifier" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="reporting-org" minOccurs="1" maxOccurs="1"/>
<xsd:element name="title" type="textRequiredType" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A short, human-readable title that contains a meaningful
summary of the activity. May be repeated for different
languages.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="description" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A longer, human-readable description containing a
meaningful description of the activity. May be repeated
for different languages.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="narrative" minOccurs="1" maxOccurs="unbounded" />
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="type" use="optional" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The type of description being provided. This is not
required if only one general description of the activity
is reported.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element ref="participating-org" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element ref="other-identifier" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="activity-status" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="activity-date" minOccurs="1" maxOccurs="unbounded"/>
<xsd:element ref="contact-info" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="activity-scope" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="recipient-country" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="recipient-region" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="location" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="sector" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="tag" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="country-budget-items" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="humanitarian-scope" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="policy-marker" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="collaboration-type" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="default-flow-type" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="default-finance-type" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="default-aid-type" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="default-tied-status" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="budget" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="planned-disbursement" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="capital-spend" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="transaction" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="document-link" minOccurs="0" maxOccurs="unbounded" type="documentLinkBase"/>
<xsd:element ref="related-activity" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="legacy-data" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="conditions" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="result" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element ref="crs-add" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="fss" minOccurs="0" maxOccurs="1"/>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="last-updated-datetime" type="xsd:dateTime" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The last date/time that the data for this specific
activity was updated. This date must change whenever the
value of any field changes.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute ref="xml:lang">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A code specifying the default language of text in this activity. It is recommended that wherever possible only codes from ISO 639-1 are used. If this is not declared then the xml:lang attribute MUST be specified for each narrative element.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-currency" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Default ISO 4217 alphabetic currency code for all
financial values in this activity report. If this is not
declared then the currency attribute MUST be specified for
all monetary values.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="humanitarian" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A process flag to indicate that this activity relates entirely
or partially to humanitarian aid.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="hierarchy" type="xsd:int" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The hierarchical level within the reporting organisation's
subdivision of its units of aid. (eg activity = 1;
sub-activity = 2; sub-sub-activity = 3). If hierarchy is
not reported then 1 is assumed. If multiple levels are
reported then, to avoid double counting, financial
transactions should only be reported at the lowest
hierarchical level.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="linked-data-uri" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A Linked Data URI for a given activity (overrides
iati-activities/\@linked-data-default if set)
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="budget-not-provided" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A code indicating the reason why this activity does not contain any iati-activity/budget elements. The attribute MUST only be used when no budget elements are present.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="iati-identifier">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A globally unique identifier for the activity.
This MUST be prefixed with EITHER the current IATI
organisation identifier for the reporting organisation
(reporting-org/\@ref) OR a previous identifier reported in
other-identifier, and suffixed with the organisation’s own
activity identifier. The prefix and the suffix should be
separated by a hyphen "-".
Once an activity has been reported to IATI its identifier MUST
NOT be changed in subsequent updates.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="participating-org">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An organisation involved with the activity. May be a donor, fund, agency, etc. Specifying the @ref identifier is strongly recommended. May contain the organisation name as narrative.
If the reporting organisation plays a role in the activity it should be repeated here. One organisation may play more than one role (eg, funding and implementing): in such a case each role should be reported and the name of the organisation repeated.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="narrative" minOccurs="0" maxOccurs="unbounded" />
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="ref" use="optional" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Machine-readable identification string for the organisation issuing the report. Must be in the format {RegistrationAgency}-{RegistrationNumber} where {RegistrationAgency} is a valid code in the Organisation Registration Agency code list and {RegistrationNumber} is a valid identifier issued by the {RegistrationAgency}. If this is not present then the narrative MUST contain the name of the organisation.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type" use="optional" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The type of organisation issuing the report. See IATI codelist for values.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="role" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An IATI code describing the organisation's role in the activity (donor, agency, etc.).
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="activity-id" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A valid activity identifier published by the participating organisation which points to the activity that it has published to IATI that describes its role in this activity.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="crs-channel-code" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Under CRS++ Reporting Directives this code identifies the implementing agency. Codes ending in '00' are generic and are similar to the OrganisationType code.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="activity-scope">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The geographical scope of the activity: regional, national,
sub-national, etc.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The geographical scope. See IATI codelist for values.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="recipient-country">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A country that will benefit from this activity. If a specific
country is not known the recipient-region element should be
used instead. For geographical location, use the location
element.
Multiple countries and regions can be reported, in which case
the percentage attribute MUST be used to specify the share of
total commitments across all reported countries and regions.
The country can also be specified at transaction rather than
activity level. If recipient-country OR recipient-region are
reported at the transaction level, ALL transactions MUST
contain a recipient-country or recipient-region element and
iati-activity/recipient-country
and iati-activity/recipient-region MUST NOT be used.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="narrative" minOccurs="0" maxOccurs="unbounded" />
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
ISO 3166-1 alpha-2 code for the country.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="percentage" use="optional" type="xsd:decimal">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The percentage of total commitments or total activity budget to this item. Content must be a decimal number between 0 and 100 inclusive, with no percentage sign. Percentages for all reported countries and regions within a vocabulary MUST add up to 100.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="recipient-region">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A supranational geopolitical region that will benefit from
this activity. For sub-national geographical location, use the
location element.
Multiple countries and regions can be reported, in which case
the percentage attribute MUST be used to specify the share of
total commitments across all reported countries and regions.
Recipient-region must not be used merely to describe the
region of a country reported in recipient-country, but ONLY if
the region is a recipient IN ADDITION to the country.
Region can also be reported at transaction rather than
activity level. If transaction/recipient-country AND/OR
transaction/recipient-region are used THEN ALL transaction
elements MUST contain a recipient-country and/or
recipient-region element AND iati-activity/recipient-region
and iati-activity/recipient-region MUST NOT be used AND each
transaction MUST only contain one recipient-country or
recipient-region.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="narrative" minOccurs="0" maxOccurs="unbounded" />
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Either an OECD DAC or UN region code. Codelist is
determined by vocabulary attribute.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="vocabulary" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An IATI code for the vocabulary from which the region code
is drawn. If it is not present 1 - 'OECD DAC' is assumed.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="vocabulary-uri" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The URI where this vocabulary is defined. If the vocabulary is 99 (reporting organisation), the URI where this internal vocabulary is defined. While this is an optional field it is STRONGLY RECOMMENDED that all publishers use it to ensure that the meaning of their codes are fully understood by data users.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="percentage" use="optional" type="xsd:decimal">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The percentage of total commitments or total activity budget to this item. Content must be a decimal number between 0 and 100 inclusive, with no percentage sign. Percentages for all reported countries and regions within a vocabulary MUST add up to 100.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="collaboration-type">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The type of collaboration involved in the activity's
disbursements, e.g. "bilateral" or "multilateral".
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A code from the OECD DAC CRS "Bi_Multi" codelist.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="default-flow-type">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Whether the activity is funded by Official Development
Assistance (ODA), Other Official Flows (OOF), etc
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A code from the OECD DAC CRS "Type of flow" codelist
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="default-aid-type" type="aidTypeBase">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The type of aid being supplied (project-type intervention,
budget support, debt relief, etc.). This element specifies a
default for all the activity's financial transactions; it can
be overridden at the individual transaction level.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="default-finance-type">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The type of finance (e.g. grant, loan, debt relief, etc). This
the default value for all transactions in the activity report;
it can be overridden by individual transactions.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A code from the OECD DAC CRS "Type of finance" codelist
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="other-identifier">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An other identifier for the activity. This may be a publishers
own identifier that it wishes to record with the activity.
This element is also used to trace changes to activity
identifiers, for example when and organisation has changed
it's organisation identifier.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="owner-org" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Where applicable, the organisation that owns the other
identifier being reported. When used, then either
other-identifier/owner-org/\@ref or
other-identifier/owner-org/narrative/text() MUST be
present.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="narrative" minOccurs="0" maxOccurs="unbounded" />
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="ref" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An organisation identifier. This is NOT MANDATORY
but when used MUST contain a valid organisation
identifier.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="ref" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The identifier you wish to report.
This can be used to report a number of different types
of identifiers. See the OtherIdentifierType codelist
for details and options.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The type of identifier being reported, taken from
the OtherIdentifierType codelist.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="sector">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A recognised code, from a recognised vocabulary, classifying
the purpose of the activity. Sector MUST EITHER be reported
here OR at transaction level for ALL transactions
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="narrative" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The description of a sector defined by the reporting
organisation. (Only to be used when the reporting
organisation's own vocabulary is being used).
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="vocabulary" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An IATI code for the vocabulary (see codelist) used for sector classifications. If omitted, OECD DAC 5-digit Purpose Codes are assumed.
It is recommended that OECD DAC 5-digit Purpose Codes are used wherever possible. It is also recommended that if a publisher has its own classification system or systems then the vocabularies 99 or 98 (Reporting Organisation's own vocabularies) should be used in addition to DAC codes.
Publishers using 98 or 99 must also include a narrative in the narrative element.
Note that if multiple sector codes are used in multiple vocabularies, then each vocabulary’s percentages should add up to 100.
Sector can also be reported at the transaction level rather than the activity level. Sector must only be reported at EITHER transaction level OR activity level.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="vocabulary-uri" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The URI where this vocabulary is defined. If the vocabulary is 99 or 98 (reporting organisation), the URI where this internal vocabulary is defined. While this is an optional field it is STRONGLY RECOMMENDED that all publishers use it to ensure that the meaning of their codes are fully understood by data users.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The code for the sector.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="percentage" use="optional" type="xsd:decimal">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The percentage of total commitments or total activity budget to this item. Content must be a decimal number between 0 and 100 inclusive, with no percentage sign. All reported sectors from the same vocabulary MUST add up to 100.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="activity-date">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The planned and actual start and completion dates of the
activity. Start dates may reflect either the commencement of
funding, planning or physical activity. End dates should,
wherever possible, reflect the ending of physical activity.
The narrative content may contain text (e.g. 2011Q1) for
accurately recording less specific dates such as month,
quarter, or year.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="narrative" minOccurs="0" maxOccurs="unbounded" />
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="type" use="required" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An IATI code defining the type of activity date being reported.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="iso-date" type="xsd:date" use="required"/>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="activity-status">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The current status of the activity. See codelist for values.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An IATI code defining the current status of the activity.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="contact-info">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Contact information for the activity. Specify whatever is
available. You may repeat this element for each contact
person.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="organisation" type="textRequiredType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The name of the organisation to contact for more
information about the activity.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="department" type="textRequiredType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The department within the organisation to contact for more
information about the activity.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="person-name" type="textRequiredType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The name of the contact person for the activity.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="job-title" type="textRequiredType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The job title of the contact person at the organisation.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="telephone" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The contact telephone number. May be repeated for
multiple numbers.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="email" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The contact email address. May be repeated for multiple
addresses.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="website" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The contact web address. May be repeated for multiple sites.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:anyURI">
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="mailing-address" type="textRequiredType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The contact mailing address.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="type" use="optional" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The type of contact. See IATI codelist for values.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="default-tied-status">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Whether the aid is untied, tied, or partially tied. This
element specifies a default for all the activity's financial
transactions; it can be overridden at the individual
transaction level.
If an activity is partially tied it is recommended that tied
and untied commitments are reported as separate transactions
and that transaction/tied-status is used to classify them.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An IATI code interpreting the usage of Columns 36-38 of the
CRS++ reporting format. (Amount tied, Amount partially
untied, Amount tied)
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="humanitarian-scope">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Classification of emergencies, appeals and other humanitarian
events and actions.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="narrative" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The description of the code specified.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="type" use="required" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A code for the type of event or action being classified.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="vocabulary" use="required" type="xsd:string">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A code for a recognised vocabulary of terms classifying the
event or action.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="vocabulary-uri" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A u.r.i. for the vocabulary specified which provides access to
the list of codes and descriptions.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A code for the event or action from the vocabulary specified.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="policy-marker">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A policy or theme addressed by the activity. This element was
designed for the reporting of OECD DAC CRS policy markers
(columns 20-23 and 28-31 of the CRS++ reporting format) but
the vocabulary attribute allows it use by other (including
local) systems. This element can be repeated for each policy
marker.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="narrative" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A description of the policy marker. This MUST ONLY be
used if vocabulary is 99 (the reporting
organisation's own marker vocabulary). May be repeated
for multiple languages.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="vocabulary" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An IATI code for the vocabulary to be used to define
policy markers. If omitted then the OECD DAC vocabulary is
assumed.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="vocabulary-uri" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
If the vocabulary is 99 (reporting organisation), the URI
where this internal vocabulary is defined.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A policy marker code from the codelist specified in the
vocabulary.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="significance" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation xml:lang="en">
An OECD DAC CRS code indicating the significance of the policy marker
for this activity. This attribute MUST be used for all OECD DAC CRS
vocabularies.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="capital-spend">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The percentage of the total commitment that is for capital
spending
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="percentage" use="required" type="xsd:decimal">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The percentage of the total commitment allocated to or planned for capital expenditure. Content must be a decimal number between 0 and 100 inclusive, with no percentage sign.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="transaction">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Transactions recording committed or actual funds flowing in or
out of an aid activity.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="transaction-type" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The type of the transaction (e.g. commitment,
disbursement, expenditure, etc.).
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="code" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation xml:lang="en">
A code from the specified vocabulary.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="transaction-date" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The date on which the transaction was made or (in the
case of commitments) agreed. The narrative content may
contain text (e.g. 2011Q1) for accurately recording less
specific dates such as month, quarter, or year.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="iso-date" type="xsd:date" use="required"/>
<xsd:anyAttribute processContents="lax" namespace="##other"/>
</xsd:complexType>
</xsd:element>