CDT-enumerationTypes-v3_9_0.xsd 58 KB
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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662
<?xml version="1.0" ?>
<!-- 
Copyright Notification

The oneM2M Partners authorize you to copy this document, provided that you retain all copyright and other proprietary notices 
contained in the original materials on any copies of the materials and that you comply strictly with these terms. 
This copyright permission does not constitute an endorsement of the products or services, nor does it encompass the granting of 
any patent rights. The oneM2M Partners assume no responsibility for errors or omissions in this document. 
© 2016, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TSDSI, TTA, TTC). All rights reserved.


Notice of Disclaimer & Limitation of Liability 

The information provided in this document is directed solely to professionals who have the appropriate degree of experience to understand 
and interpret its contents in accordance with generally accepted engineering or other professional standards and applicable regulations. 
No recommendation as to products or vendors is made or should be implied. 

NO REPRESENTATION OR WARRANTY IS MADE THAT THE INFORMATION IS TECHNICALLY ACCURATE OR SUFFICIENT OR CONFORMS TO ANY STATUTE, 
GOVERNMENTAL RULE OR REGULATION, AND FURTHER, NO REPRESENTATION OR WARRANTY IS MADE OF MERCHANTABILITY OR FITNESS FOR ANY 
PARTICULAR PURPOSE OR AGAINST INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS. 
NO oneM2M PARTNER TYPE 1 SHALL BE LIABLE, BEYOND THE AMOUNT OF ANY SUM RECEIVED IN PAYMENT BY THAT PARTNER FOR THIS DOCUMENT, WITH RESPECT TO 
ANY CLAIM, AND IN NO EVENT SHALL oneM2M BE LIABLE FOR LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES. 
oneM2M EXPRESSLY ADVISES ANY AND ALL USE OF OR RELIANCE UPON THIS INFORMATION PROVIDED IN THIS DOCUMENT IS AT THE RISK OF THE USER.

-->

<xs:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:m2m="http://www.onem2m.org/xml/protocols"
	targetNamespace="http://www.onem2m.org/xml/protocols" elementFormDefault="unqualified">

	<xs:simpleType name="resourceType">
		<xs:annotation>
			<xs:documentation></xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- accessControlPolicy -->
			<xs:enumeration value="1" />
			<!-- AE -->
			<xs:enumeration value="2" />
			<!-- container -->
			<xs:enumeration value="3" />
			<!-- contentInstance -->
			<xs:enumeration value="4" />
			<!-- CSEBase -->
			<xs:enumeration value="5" />
			<!-- delivery -->
			<xs:enumeration value="6" />
			<!-- eventConfig -->
			<xs:enumeration value="7" />
			<!-- execInstance -->
			<xs:enumeration value="8" />
			<!-- group -->
			<xs:enumeration value="9" />
			<!-- locationPolicy -->
			<xs:enumeration value="10" />
			<!-- m2mServiceSubscriptionProfile -->
			<xs:enumeration value="11" />
			<!-- mgmtCmd -->
			<xs:enumeration value="12" />
			<!-- mgmtObj -->
			<xs:enumeration value="13" />
			<!-- node -->
			<xs:enumeration value="14" />
			<!-- pollingChannel -->
			<xs:enumeration value="15" />
			<!-- remoteCSE -->
			<xs:enumeration value="16" />
			<!-- request -->
			<xs:enumeration value="17" />
			<!-- schedule -->
			<xs:enumeration value="18" />
			<!-- serviceSubscribedAppRule -->
            <xs:enumeration value="19" />
            <!-- serviceSubscribedNode -->
			<xs:enumeration value="20" />
			<!-- statsCollect -->
			<xs:enumeration value="21" />
			<!-- statsConfig -->
			<xs:enumeration value="22" />
			<!-- subscription -->
			<xs:enumeration value="23" />
			<!-- semanticDescriptor -->
			<xs:enumeration value="24" />
			<!-- notificationTargetMgmtPolicyRef -->
			<xs:enumeration value="25" />	
			<!-- notificationTargetPolicy -->
			<xs:enumeration value="26" />	
			<!-- policyDeletionRules -->
			<xs:enumeration value="27" />	
			<!-- flexContainer -->
			<xs:enumeration value="28" />
			<!-- timeSeries -->
			<xs:enumeration value="29" />
			<!-- timeSeriesInstance -->
			<xs:enumeration value="30" />
			<!-- role -->
			<xs:enumeration value="31" />
			<!-- token -->
			<xs:enumeration value="32" />
			<!-- void: trafficPattern -->
			<!-- dynamicAuthorizationConsultation -->
			<xs:enumeration value="34" />			
			<!-- authorizationDecision -->
			<xs:enumeration value="35" />	
			<!-- authorizationPolicy -->
			<xs:enumeration value="36" />	
			<!-- authorizationInformation -->
			<xs:enumeration value="37" />			
			<!-- ontologyRepository -->
			<xs:enumeration value="38" />	
			<!-- ontology -->
			<xs:enumeration value="39" />	
			<!-- semanticMashupJobProfile -->
			<xs:enumeration value="40" />	
			<!-- semanticMashupInstance -->
			<xs:enumeration value="41" />	
			<!-- semanticMashupResult -->
			<xs:enumeration value="42" />	
			<!-- AEContactList -->
			<xs:enumeration value="43" />	
			<!-- AEContactListPerCSE -->
			<xs:enumeration value="44" />	
			<!-- localMulticastGroup -->
			<xs:enumeration value="45" />	
			<!-- multimediaSession -->
			<xs:enumeration value="46" />	
			<!-- triggerRequest -->
			<xs:enumeration value="47" />	
			<!-- crossResourceSubscription -->
			<xs:enumeration value="48" />			
			<!-- backgroundDataTransfer -->
			<xs:enumeration value="49" />	
			<!-- transactionMgmt -->
			<xs:enumeration value="50" />	
			<!-- transaction -->
			<xs:enumeration value="51" />			
			<!-- accessControlPolicyAnnc -->
			<xs:enumeration value="10001" />
			<!-- AEAnnc -->
			<xs:enumeration value="10002" />
			<!-- containerAnnc -->
			<xs:enumeration value="10003" />
			<!-- contentInstanceAnnc -->
			<xs:enumeration value="10004" />
			<!-- groupAnnc -->
			<xs:enumeration value="10009" />
			<!-- locationPolicyAnnc -->
			<xs:enumeration value="10010" />
			<!-- mgmtObjAnnc -->
			<xs:enumeration value="10013" />
			<!-- nodeAnnc -->
			<xs:enumeration value="10014" />
			<!-- remoteCSEAnnc -->
			<xs:enumeration value="10016" />
			<!-- scheduleAnnc -->
			<xs:enumeration value="10018" />
			<!-- semanticDescriptorAnnc -->
			<xs:enumeration value="10024" />
			<!-- flexContainerAnnc -->
			<xs:enumeration value="10028" />
			<!-- timeSeriesAnnc -->
			<xs:enumeration value="10029" />
			<!-- timeSeriesInstanceAnnc -->
			<xs:enumeration value="10030" />
			<!-- void: trafficPatternAnnc -->
			<!-- dynamicAuthorizationConsultationAnnc -->
			<xs:enumeration value="10034" />			
			<!-- ontologyRepositoryAnnc -->
			<xs:enumeration value="10038" />
			<!-- ontologyAnnc -->
			<xs:enumeration value="10039" />
			<!-- semanticMashupJobProfileAnnc -->
			<xs:enumeration value="10040" />
			<!-- semanticMashupInstanceAnnc -->
			<xs:enumeration value="10041" />
			<!-- semanticMashupResultAnnc -->
			<xs:enumeration value="10042" />			
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="cseTypeID">
		<xs:annotation>
			<xs:documentation>Used for cseType attribute of &lt;CSEBase&gt; resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- IN-CSE -->
			<xs:enumeration value="1" />
			<!-- MN-CSE -->
			<xs:enumeration value="2" />
			<!-- ASN-CSE -->
			<xs:enumeration value="3" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="locationSource">
		<xs:annotation>
			<xs:documentation>Used for locationSource attribute of &lt;locationPolicy&gt; resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Network-based -->
			<xs:enumeration value="1" />
			<!-- Device-based -->
			<xs:enumeration value="2" />
			<!-- Sharing-based -->
			<xs:enumeration value="3" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="stdEventCats">
		<xs:annotation>
			<xs:documentation>Used for ec parameter in request and eventCat attribute of &lt;delivery&gt; resource and cmdh
				policy resource types.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Immediate -->
			<xs:enumeration value="2" />
			<!-- BestEffort -->
			<xs:enumeration value="3" />
			<!-- Latest -->
			<xs:enumeration value="4" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="operation">
		<xs:annotation>
			<xs:documentation>Used for Operation parameter in request and operation attribute in &lt;request&gt; resource as well as resource as well as operationMonitor
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Create -->
			<xs:enumeration value="1" />
			<!-- Retrieve -->
			<xs:enumeration value="2" />
			<!-- Update -->
			<xs:enumeration value="3" />
			<!-- Delete -->
			<xs:enumeration value="4" />
			<!-- Notify -->
			<xs:enumeration value="5" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="responseType">
		<xs:annotation>
			<xs:documentation>Used for rt parameter in request and operation attribute in &lt;request&gt; resource
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- nonBlockingRequestSynch -->
			<xs:enumeration value="1" />
			<!-- nonBlockingRequestAsynch -->
			<xs:enumeration value="2" />
			<!-- blockingRequest -->
			<xs:enumeration value="3" />
			<!-- flexBlocking -->
			<xs:enumeration value="4" />
			<!-- noResponse -->
			<xs:enumeration value="5" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="resultContent">
		<xs:annotation>
			<xs:documentation>Used for Result Content parameter in request.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Nothing -->
			<xs:enumeration value="0" />
			<!-- Attributes -->
			<xs:enumeration value="1" />
			<!-- Hierarchical Address -->
            <xs:enumeration value="2" />
            <!-- Hierarchical Address + Attributes -->
            <xs:enumeration value="3" />
			<!-- Attributes + Child Resources -->
			<xs:enumeration value="4" />
			<!-- Attributes + Child Resource References -->
            <xs:enumeration value="5" />
			<!-- Child Resource References -->
			<xs:enumeration value="6" />
			<!-- Original Resource -->
			<xs:enumeration value="7" />
			<!-- Child Resources -->
			<xs:enumeration value="8" />
			<!-- Modified Attributes -->
			<xs:enumeration value="9" />
			<!-- semantic content -->
			<xs:enumeration value="10" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="discResType">
		<xs:annotation>
			<xs:documentation>Used in &lt;request&gt; </xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- structured -->
			<xs:enumeration value="1" />
			<!-- unstructured -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="responseStatusCode">
		<xs:annotation>
			<xs:documentation></xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
		    <!-- ACCEPTED     -->
			<xs:enumeration value="1000" />
			<!-- ACCEPTED for nonBlockingRequestSynch -->
			<xs:enumeration value="1001" />
			<!-- ACCEPTED for nonBlockingRequestAsynch -->
			<xs:enumeration value="1002" />
			<!-- OK           -->
            <xs:enumeration value="2000" />
            <!-- CREATED      -->
            <xs:enumeration value="2001" />         
            <!-- DELETED      -->
            <xs:enumeration value="2002" />
            <!-- UPDATED      -->
            <xs:enumeration value="2004" />
            <!-- BAD_REQUEST  -->
            <xs:enumeration value="4000" />     
			<!-- RELEASE_VERSION_NOT_SUPPORTE -->
			<xs:enumeration value="4001" />
            <!-- NOT_FOUND    -->
            <xs:enumeration value="4004" />            
            <!-- OPERATION_NOT_ALLOWED  -->
            <xs:enumeration value="4005" />            
            <!-- REQUEST_TIMEOUT  -->
            <xs:enumeration value="4008" />     
			<!-- UNSUPPORTED_MEDIA_TYPE  -->
			<xs:enumeration value="4015" />    			
            <!-- SUBSCRIPTION_CREATOR_HAS_NO_PRIVILEGE -->
            <xs:enumeration value="4101" />            
            <!-- CONTENTS_UNACCEPTABLE  -->
            <xs:enumeration value="4102" />              
			<!-- ORIGINATOR_HAS_NO_PRIVILEGE    -->
            <xs:enumeration value="4103" />              
            <!-- GROUP_REQUEST_IDENTIFIER_EXISTS  -->
            <xs:enumeration value="4104" />              
            <!-- CONFLICT                  -->
            <xs:enumeration value="4105" />      
			<!-- ORIGINATOR_HAS_NOT_REGISTERED -->
			<xs:enumeration value="4106" /> 
			<!-- SECURITY_ASSOCIATION_REQUIRED -->
			<xs:enumeration value="4107" /> 
			<!-- INVALID_CHILD_RESOURCE_TYPE -->
			<xs:enumeration value="4108" /> 
			<!-- UNSUPPORTED_MEDIA_TYPE  -->
			<xs:enumeration value="4015" />
			<!-- NO_MEMBERS                -->
			<xs:enumeration value="4109" /> 			
			<!-- GROUP_MEMBER_TYPE_INCONSISTENT -->
			<xs:enumeration value="4110" />   		
			<!-- ESPRIM_UNSUPPORTED_OPTION -->
			<xs:enumeration value="4111" />     
			<!-- ESPRIM_UNKNOWN_KEY_ID -->
			<xs:enumeration value="4112" />     
			<!-- GESPRIM_UNKNOWN_ORIG_RAND_ID -->
			<xs:enumeration value="4113" />     
			<!-- ESPRIM_UNKNOWN_RECV_RAND_ID -->
			<xs:enumeration value="4114" />     
			<!-- GESPRIM_BAD_MAC -->
			<xs:enumeration value="4115" />    
			<!-- ESPRIM_IMPERSONATION_ERROR -->
			<xs:enumeration value="4116" />    
			<!-- ORIGINATOR_HAS_ALREADY_REGISTERED -->
			<xs:enumeration value="4117" />    		
			<!-- ONTOLOGY_NOT_AVAILABLE -->
			<xs:enumeration value="4118" />    
			<!-- LINKED_SEMANTICS_NOT_AVAILABLE -->
			<xs:enumeration value="4119" />    
			<!-- INVALID_SEMANTICS -->
			<xs:enumeration value="4120" />    	
			<!-- MASHUP_MEMBER_NOT_FOUND -->
			<xs:enumeration value="4121" />    
			<!-- INVALID_TRIGGER_PURPOSE -->
			<xs:enumeration value="4122" />    
			<!-- ILLEGAL_TRANSACTION_STATE_TRANSITION_ATTEMPTED -->
			<xs:enumeration value="4123" />    
            <!-- INTERNAL_SERVER_ERROR     -->
            <xs:enumeration value="5000" />              
            <!-- NOT_IMPLEMENTED           -->
            <xs:enumeration value="5001" />
            <!-- TARGET_NOT_REACHABLE      -->
            <xs:enumeration value="5103" />             
			<!-- RECEIVER_HAS_NO_PRIVILEGE -->
            <xs:enumeration value="5105" />            
            <!-- ALREADY_EXISTS            -->
            <xs:enumeration value="5106" />    
            <!-- TARGET_NOT_SUBSCRIBABLE   -->
            <xs:enumeration value="5203" />            
            <!-- SUBSCRIPTION_VERIFICATION_INITIATION_FAILED   -->
            <xs:enumeration value="5204" />            
            <!-- SUBSCRIPTION_HOST_HAS_NO_PRIVILEGE     -->
            <xs:enumeration value="5205" />            
			<!-- NON_BLOCKING_SYNCH_REQUEST_NOT_SUPPORTED     -->
            <xs:enumeration value="5206" />    
			<!-- NOT_ACCEPTABLE                         -->
			<xs:enumeration value="5207" />
			<!-- DISCOVERY_DENIED_BY_IPE                -->
			<xs:enumeration value="5208" />    			
			<!-- GROUP_MEMBERS_NOT_RESPONDED            -->
			<xs:enumeration value="5209" />    
			<!-- ESPRIM_DECRYPTION_ERROR                -->
			<xs:enumeration value="5210" />    
			<!-- ESPRIM_ENCRYPTION_ERROR                -->
			<xs:enumeration value="5211" />    
			<!-- SPARQL_UPDATE_ERROR                    -->
			<xs:enumeration value="5212" />  
			<!-- void: MASH_UP_OPERATION_FAILED         -->  
			<!-- TARGET_HAS_NO_SESSION_CAPABILITY       -->
			<xs:enumeration value="5214" />  
			<!-- SESSION_IS_ONLINE                      -->
			<xs:enumeration value="5215" />  			
			<!-- JOIN_MULTICAST_GROUP_FAILED            -->
			<xs:enumeration value="5216" />  			
			<!-- LEAVE_MULTICAST_GROUP_FAILED           -->
			<xs:enumeration value="5217" />  			
			<!-- TRIGGERING_DISABLED_FOR_RECIPIENT      -->
			<xs:enumeration value="5218" />  
			<!-- UNABLE_TO_REPLACE_TRIGGER_REQUEST      -->
			<xs:enumeration value="5219" />  			
			<!-- UNABLE_TO_RECALL_TRIGGER_REQUEST       -->
			<xs:enumeration value="5220" />  			
			<!-- CROSS_RESOURCE_OPERATION_FAILURE       -->
			<xs:enumeration value="5221" />  
			<!-- TRANSACTION_PROCESSING_IS_INCOMPLETE   -->
			<xs:enumeration value="5222" />  
			<!-- SPARQL_UPDATE_ERROR                    -->
            <xs:enumeration value="6003" />              
            <!-- EXTERNAL_OBJECT_NOT_FOUND              -->
            <xs:enumeration value="6005" />  
            <!-- MAX_NUMBER_OF_MEMBER_EXCEEDED          -->
            <xs:enumeration value="6010" />              
            <!-- MGMT_SESSION_CANNOT_BE_ESTABLISHED     -->
            <xs:enumeration value="6020" />               
            <!-- MGMT_SESSION_ESTABLISHMENT_TIMEOUT     -->
            <xs:enumeration value="6021" />               
            <!-- INVALID_CMDTYPE                        -->
            <xs:enumeration value="6022" />               
            <!-- INVALID_ARGUMENTS                      -->
            <xs:enumeration value="6023" />               
            <!-- INSUFFICIENT_ARGUMENTS                 -->
            <xs:enumeration value="6024" />               
            <!-- MGMT_ CONVERSION_ERROR                 -->
            <xs:enumeration value="6025" />               
            <!-- MGMT_ CANCELLATION_FAILED              -->
            <xs:enumeration value="6026" />               
            <!-- ALREADY_COMPLETE                       -->
            <xs:enumeration value="6028" />               
            <!-- MGMT_COMMAND_NOT_CANCELLABLE           -->
            <xs:enumeration value="6029" />   		
			<!-- XTERNAL_OBJECT_NOT_REACHABLE_BEFORE_RQET_TIMEOUT -->
			<xs:enumeration value="6030" />   
			<!-- EXTERNAL_OBJECT_NOT_REACHABLE_BEFORE_OET_TIMEOUT -->
			<xs:enumeration value="6031" />   			
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="requestStatus">
		<xs:annotation>
			<xs:documentation>Used for request Status in the &lt;request&gt; resource</xs:documentation>
		</xs:annotation>
        <xs:restriction base="xs:integer">
            <!-- COMPLETED -->
            <xs:enumeration value="1" />
            <!-- FAILED -->
            <xs:enumeration value="2" />
            <!-- PENDING -->
            <xs:enumeration value="3" />
            <!-- FORWARDED -->
            <xs:enumeration value="4" />
        	<!-- PARTIALLY_COMPLETED -->
        	<xs:enumeration value="5" />
        </xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="memberType">
		<xs:annotation>
			<xs:documentation>Used for memberType attribute in &lt;group&gt; resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- mixed -->
			<xs:enumeration value="0" />
			<!-- accessControlPolicy -->
			<xs:enumeration value="1" />
			<!-- AE -->
			<xs:enumeration value="2" />
			<!-- container -->
			<xs:enumeration value="3" />
			<!-- contentInstance -->
			<xs:enumeration value="4" />
			<!-- CSEBase -->
			<xs:enumeration value="5" />
			<!-- delivery -->
			<xs:enumeration value="6" />
			<!-- eventConfig -->
			<xs:enumeration value="7" />
			<!-- execInstance -->
			<xs:enumeration value="8" />
			<!-- group -->
			<xs:enumeration value="9" />
			<!-- locationPolicy --> 
			<xs:enumeration value="10" />
			<!-- m2mServiceSubscription -->
			<xs:enumeration value="11" />
			<!-- mgmtCmd -->
			<xs:enumeration value="12" />
			<!-- mgmtObj -->
			<xs:enumeration value="13" />
			<!-- node -->
			<xs:enumeration value="14" />
			<!-- pollingChannel -->
			<xs:enumeration value="15" />
			<!-- remoteCSE -->
			<xs:enumeration value="16" />
			<!-- request -->
			<xs:enumeration value="17" />
			<!-- schedule -->
            <xs:enumeration value="18" />
			<!-- serviceSubscribedAppRule -->
            <xs:enumeration value="19" />
			<!-- serviceSubscribedNode -->
            <xs:enumeration value="20" />
            <!-- statsCollect -->
            <xs:enumeration value="21" />
            <!-- statsConfig -->
            <xs:enumeration value="22" />
            <!-- subscription -->
            <xs:enumeration value="23" />
			<!-- semanticDescriptor -->
			<xs:enumeration value="24" />
			<!-- notificationTargetMgmtPolicyRef -->
			<xs:enumeration value="25" />	
			<!-- notificationTargetPolicy -->
			<xs:enumeration value="26" />	
			<!-- policyDeletionRules -->
			<xs:enumeration value="27" />	
			<!-- flexContainer -->
			<xs:enumeration value="28" />
			<!-- timeSeries -->
			<xs:enumeration value="29" />
			<!-- timeSeriesInstance -->
			<xs:enumeration value="30" />
			<!-- role -->
			<xs:enumeration value="31" />
			<!-- token -->
			<xs:enumeration value="32" />
			<!-- void: trafficPattern -->
			<!-- dynamicAuthorizationConsultation -->
			<xs:enumeration value="34" />	
			<!-- authorizationDecision -->
			<xs:enumeration value="35" />	
			<!-- authorizationPolicy -->
			<xs:enumeration value="36" />	
			<!-- authorizationInformation -->
			<xs:enumeration value="37" />				
			<!-- ontologyRepository -->
			<xs:enumeration value="38" />	
			<!-- ontology -->
			<xs:enumeration value="39" />	
			<!-- semanticMashupJobProfile -->
			<xs:enumeration value="40" />	
			<!-- semanticMashupInstance -->
			<xs:enumeration value="41" />	
			<!-- semanticMashupResult -->
			<xs:enumeration value="42" />	
			<!-- AEContactList -->
			<xs:enumeration value="43" />	
			<!-- AEContactListPerCSE -->
			<xs:enumeration value="44" />	
			<!-- multimediaSession -->
			<xs:enumeration value="46" />	
			<!-- triggerRequest -->
			<xs:enumeration value="47" />	
			<!-- crossResourceSubscription -->
			<xs:enumeration value="48" />	
			<!-- backgroundDataTransfer -->
			<xs:enumeration value="49" />	
			<!-- transactionMgmt -->
			<xs:enumeration value="50" />	
			<!-- transaction -->
			<xs:enumeration value="51" />	
			<!-- accessControlPolicyAnnc -->
			<xs:enumeration value="10001" />
			<!-- AEAnnc -->
			<xs:enumeration value="10002" />
			<!-- containerAnnc -->
			<xs:enumeration value="10003" />
			<!-- contentInstanceAnnc -->
			<xs:enumeration value="10004" />
			<!-- groupAnnc -->
			<xs:enumeration value="10009" />
			<!-- locationPolicyAnnc -->
			<xs:enumeration value="10010" />
			<!-- mgmtObjAnnc -->
			<xs:enumeration value="10013" />
			<!-- nodeAnnc -->
			<xs:enumeration value="10014" />
			<!-- remoteCSEAnnc -->
			<xs:enumeration value="10016" />
			<!-- scheduleAnnc -->
			<xs:enumeration value="10018" />
			<!-- semanticDescriptorAnnc -->
			<xs:enumeration value="10024" />
			<!-- flexContainerAnnc -->
			<xs:enumeration value="10028" />
			<!-- timeSeriesAnnc -->
			<xs:enumeration value="10029" />
			<!-- timeSeriesInstanceAnnc -->
			<xs:enumeration value="10030" />
			<!-- void: trafficPatternAnnc -->
			<!-- dynamicAuthorizationConsultationAnnc -->
			<xs:enumeration value="10034" />			
			<!-- ontologyRepositoryAnnc -->
			<xs:enumeration value="10038" />
			<!-- ontologyAnnc -->
			<xs:enumeration value="10039" />
			<!-- semanticMashupJobProfileAnnc -->
			<xs:enumeration value="10040" />
			<!-- semanticMashupInstanceAnnc -->
			<xs:enumeration value="10041" />
			<!-- semanticMashupResultAnnc -->
			<xs:enumeration value="10042" />
			<!-- multimediaSessionAnnc -->
			<xs:enumeration value="10046" />	
			<!-- oldest -->
			<xs:enumeration value="20001" />
			<!-- latest -->
			<xs:enumeration value="20002" />
			<!-- mashup -->
			<xs:enumeration value="20003" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="consistencyStrategy">
		<xs:annotation>
			<xs:documentation>Used for consistencyStrategy attribute in &lt;group&gt; resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- ABANDON_MEMBER -->
			<xs:enumeration value="1" />
			<!-- ABANDON_GROUP -->
			<xs:enumeration value="2" />
			<!-- SET_MIXED -->
			<xs:enumeration value="3" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="cmdType">
		<xs:annotation>
			<xs:documentation>Used for cmdType attribute in &lt;mgmtCmd&gt; resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- RESET -->
			<xs:enumeration value="1" />
			<!-- REBOOT -->
			<xs:enumeration value="2" />
			<!-- UPLOAD -->
			<xs:enumeration value="3" />
			<!-- DOWNLOAD -->
			<xs:enumeration value="4" />
			<!-- SOFTWAREINSTALL -->
			<xs:enumeration value="5" />
			<!-- SOFTWAREUNINSTALL -->
			<xs:enumeration value="6" />
			<!-- SOFTWAREUPDATE -->
            <xs:enumeration value="7" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="execModeType">
		<xs:annotation>
			<xs:documentation>Used for execModeType attribute in &lt;mgmtCmd&gt; and &lt;execInstance&gt; resource.
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- IMMEDIATEONCE -->
			<xs:enumeration value="1" />
			<!-- IMMEDIATEREPEAT -->
			<xs:enumeration value="2" />
			<!-- RANDOMONCE -->
			<xs:enumeration value="3" />
			<!-- RANDOMREPEAT -->
			<xs:enumeration value="4" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="execStatusType">
		<xs:annotation>
			<xs:documentation>Used for execStatusType attribute in &lt;execInstance&gt; resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- INITIATED -->
			<xs:enumeration value="1" />
			<!-- PENDING  -->
			<xs:enumeration value="2" />
			<!-- FINISHED -->
			<xs:enumeration value="3" />
			<!-- CANCELLING -->
			<xs:enumeration value="4" />
			<!-- CANCELLED -->
			<xs:enumeration value="5" />
			<!-- STATUS_ NON_CANCELLABLE -->
			<xs:enumeration value="6" />
		</xs:restriction>
	</xs:simpleType>


	<xs:simpleType name="execResultType">
		<xs:annotation>
			<xs:documentation></xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- STATUS_SUCCESS -->
			<xs:enumeration value="0" />
			<!-- STATUS_REQUEST_UNSUPPORTED -->
			<xs:enumeration value="1" />
			<!-- STATUS_REQUEST DENIED -->
			<xs:enumeration value="2" />
			<!-- STATUS_CANCELLATION_DENIED -->
			<xs:enumeration value="3" />
			<!-- STATUS_INTERNAL_ERROR -->
			<xs:enumeration value="4" />
			<!-- STATUS_INVALID_ARGUMENTS -->
			<xs:enumeration value="5" />
			<!-- STATUS_RESOURCES_EXCEEDED -->
			<xs:enumeration value="6" />
			<!-- STATUS_FILE_TRANSFER_FAILED -->
			<xs:enumeration value="7" />
			<!-- STATUS_FILE_TRANSFER_SERVER_AUTHENTICATION_FAILURE -->
			<xs:enumeration value="8" />
			<!-- STATUS_UNSUPPORTED_PROTOCOL -->
			<xs:enumeration value="9" />
			<!-- STATUS_UPLOAD_FAILED -->
			<xs:enumeration value="10" />
			<!-- STATUS_FILE_TRANSFER_FAILED_MULTICAST_GROUP_UNABLE_JOIN -->
			<xs:enumeration value="11" />
			<!-- STATUS_FILE_TRANSFER_FAILED_SERVER_CONTACT_FAILED -->
			<xs:enumeration value="12" />
			<!-- STATUS_FILE_TRANSFER_FAILED_FILE_ACCESS_FAILED -->
			<xs:enumeration value="13" />
			<!-- STATUS_FILE_TRANSFER_FAILED_DOWNLOAD_INCOMPLETE -->
			<xs:enumeration value="14" />
			<!-- STATUS_FILE_TRANSFER_FAILED_FILE_CORRUPTED -->
			<xs:enumeration value="15" />
			<!-- STATUS_FILE_TRANSFER_FILE_AUTHENTICATION_FAILURE -->
			<xs:enumeration value="16" />
			<!-- STATUS_FILE_TRANSFER_WINDOW_EXCEEDED -->
			<xs:enumeration value="19" />
			<!-- STATUS_INVALID_UUID_FORMAT -->
			<xs:enumeration value="20" />
			<!-- STATUS_UNKNOWN_EXECUTION_ENVIRONMENT -->
			<xs:enumeration value="21" />
			<!-- STATUS_DISABLED_EXECUTION_ENVIRONMENT -->
			<xs:enumeration value="22" />
			<!-- STATUS_EXECUTION_ENVIRONMENT_MISMATCH -->
			<xs:enumeration value="23" />
			<!-- STATUS_DUPLICATE_DEPLOYMENT_UNIT -->
			<xs:enumeration value="24" />
			<!-- STATUS_SYSTEM_RESOURCES_EXCEEDED -->
			<xs:enumeration value="25" />
			<!-- STATUS_UNKNOWN_DEPLOYMENT_UNIT -->
			<xs:enumeration value="26" />
			<!-- STATUS_INVALID_DEPLOYMENT_UNIT_STATE -->
			<xs:enumeration value="27" />
			<!-- STATUS_INVALID_DEPLOYMENT_UNIT_UPDATE_DOWNGRADE_DISALLOWED -->
			<xs:enumeration value="28" />
			<!-- STATUS_INVALID_DEPLOYMENT_UNIT_UPDATE_UPGRADE_DISALLOWED -->
			<xs:enumeration value="29" />
			<!-- STATUS_INVALID_DEPLOYMENT_UNIT_UPDATE_VERSION_EXISTS -->
			<xs:enumeration value="30" />
			<!-- STATUS_NOT_FINISHED -->
			<xs:enumeration value="31" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="pendingNotification">
		<xs:annotation>
			<xs:documentation>This is used for pendingNotification attribute in &lt;subscription&gt; resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- sendLatest -->
			<xs:enumeration value="1" />
			<!-- sendAllPending -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="notificationContentType">
		<xs:annotation>
			<xs:documentation></xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- All attributes -->
			<xs:enumeration value="1" />
			<!-- Modified attributes -->
			<xs:enumeration value="2" />
			<!-- ResourceID -->
			<xs:enumeration value="3" />
			<!-- Trigger Payload -->
			<xs:enumeration value="4" />
		</xs:restriction>
	</xs:simpleType>


	<xs:simpleType name="notificationEventType">
		<xs:annotation>
			<xs:documentation>Used in the notificationEventType element of eventNotificationCriteria attribute of subscription resource 
				and in the Notification data object</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Update_of_Resource -->
			<xs:enumeration value="1" />
			<!-- Delete_of_Resource -->
			<xs:enumeration value="2" />
			<!-- Create_of_Direct_Child_Resource -->
			<xs:enumeration value="3" />
			<!-- Delete_of_Direct_Child_Resource -->
			<xs:enumeration value="4" />
			<!-- Retrieve_of_Container_Resource_With_No_Child_Resource -->
			<xs:enumeration value="5" />
			<!-- Trigger_Received_For_AE_Resource -->
			<xs:enumeration value="6" />
		</xs:restriction>
	</xs:simpleType>

	
	<xs:simpleType name="status">
		<xs:annotation>
			<xs:documentation>This is used for [software], [firmware] resources.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Uninitialzed -->
			<xs:enumeration value="0" />
			<!-- Successful -->
			<xs:enumeration value="1" />
			<!-- Failure -->
			<xs:enumeration value="2" />
			<!-- In-Process -->
			<xs:enumeration value="3" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="batteryStatus">
		<xs:annotation>
			<xs:documentation>This is used for [battery] resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- NORMAL -->
			<xs:enumeration value="1" />
			<!-- CHARGING -->
			<xs:enumeration value="2" />
			<!-- CHARGING-COMPLETE -->
			<xs:enumeration value="3" />
			<!-- DAMAGED -->
			<xs:enumeration value="4" />
			<!-- LOW-BATTERY -->
			<xs:enumeration value="5" />
			<!-- NOT-INSTALLED -->
			<xs:enumeration value="6" />
			<!-- UNKNOWN -->
			<xs:enumeration value="7" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="mgmtDefinition">
		<xs:annotation>
			<xs:documentation>This is used for mgmtObj resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- self-defined -->
			<xs:enumeration value="0" />
			<!-- firmware -->
			<xs:enumeration value="1001" />
			<!-- software -->
			<xs:enumeration value="1002" />
			<!-- memory -->
			<xs:enumeration value="1003" />
			<!-- areaNwkInfo -->
			<xs:enumeration value="1004" />
			<!-- areaNwkDeviceInfo -->
			<xs:enumeration value="1005" />
			<!-- battery -->
			<xs:enumeration value="1006" />
			<!-- deviceInfo -->
			<xs:enumeration value="1007" />
			<!-- deviceCapability -->
			<xs:enumeration value="1008" />
			<!-- reboot -->
			<xs:enumeration value="1009" />
			<!-- eventLog -->
			<xs:enumeration value="1010" />
			<!-- cmdhPolicy -->
			<xs:enumeration value="1011" />
			<!-- activeCmdhPolicy -->
			<xs:enumeration value="1012" />
			<!-- cmdhDefaults -->
			<xs:enumeration value="1013" />
			<!-- cmdhDefEcValue -->
			<xs:enumeration value="1014" />
			<!-- cmdhEcDefParamValues -->
			<xs:enumeration value="1015" />
			<!-- cmdhLimits -->
			<xs:enumeration value="1016" />
			<!-- cmdhNetworkAccessRules -->
			<xs:enumeration value="1017" />
			<!-- cmdhNwAccessRule -->
			<xs:enumeration value="1018" />
			<!-- cmdhBuffer -->
			<xs:enumeration value="1019" />
			<!-- registration -->
			<xs:enumeration value="1020" />
			<!-- dataCollection -->
			<xs:enumeration value="1021" />
			<!-- authenticationProfile -->
			<xs:enumeration value="1022" />
			<!-- myCertFileCred -->
			<xs:enumeration value="1023" />
			<!-- trustAnchorCred -->
			<xs:enumeration value="1024" />
			<!-- MAFClientRegCfg -->
			<xs:enumeration value="1025" />
			<!-- MEFClientRegCfg -->
			<xs:enumeration value="1026" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="logTypeId">
		<xs:annotation>
			<xs:documentation>Used for the logTypeId attribute of [eventLog] Management Resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- system -->
			<xs:enumeration value="1" />
			<!-- security -->
			<xs:enumeration value="2" />
			<!-- event -->
			<xs:enumeration value="3" />
			<!-- trace -->
			<xs:enumeration value="4" />
			<!-- panic -->
			<xs:enumeration value="5" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="logStatus">
		<xs:annotation>
			<xs:documentation>Used for the logStatus attribute of [eventLog] Management Resource.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Started -->
			<xs:enumeration value="1" />
			<!-- Stopped -->
			<xs:enumeration value="2" />
			<!-- Unknown -->
			<xs:enumeration value="3" />
			<!-- NotPresent -->
			<xs:enumeration value="4" />
			<!-- Error -->
			<xs:enumeration value="5" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="eventType">
		<xs:restriction base="xs:integer">
			<!-- Data Operation -->
			<xs:enumeration value="1" />
			<!-- Storage based -->
			<xs:enumeration value="2" />
			<!-- Timer Based -->
			<xs:enumeration value="3" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="statsRuleStatusType">
		<xs:restriction base="xs:integer">
			<!-- Active -->
			<xs:enumeration value="1" />
			<!-- Inactive -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="statModelType">
		<xs:restriction base="xs:integer">
			<!-- Event Based -->
			<xs:enumeration value="1" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="encodingType">
		<xs:restriction base="xs:integer">
			<!-- Plain -->
			<xs:enumeration value="0" />
			<!-- base64String -->
			<xs:enumeration value="1" />
			<!-- base64Binary -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>
	
	<!-- access control operations -->
    <xs:simpleType name="accessControlOperations">
        <xs:annotation>
            <xs:documentation>Shall be considered for access control policy check by the CSE</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:integer">
            <!-- Create -->
            <xs:enumeration value="1"/>
            <!-- Retrieve -->
            <xs:enumeration value="2"/>
            <!-- Create + Retrieve -->
            <xs:enumeration value="3"/>
            <!-- Update -->
            <xs:enumeration value="4"/>
            <!-- Create + Update -->
            <xs:enumeration value="5"/>
            <!-- Retrieve + Update -->
            <xs:enumeration value="6"/>
            <!-- Create + Retrieve + Update -->
            <xs:enumeration value="7"/>
            <!-- Delete -->
            <xs:enumeration value="8"/>
            <!-- Create + Delete -->
            <xs:enumeration value="9"/>
            <!-- Retrieve + Delete -->
            <xs:enumeration value="10"/>
            <!-- Create + Retrieve + Delete -->
            <xs:enumeration value="11"/>
            <!-- Update + Delete -->
            <xs:enumeration value="12"/>
            <!-- Create + Update + Delete -->
            <xs:enumeration value="13"/>
            <!-- Retrieve + Update + Delete -->
            <xs:enumeration value="14"/>
            <!-- Create + Retrieve + Update + Delete -->
            <xs:enumeration value="15"/>
            <!-- Notify -->
            <xs:enumeration value="16"/>
            <!-- Create + Notify -->
            <xs:enumeration value="17"/>
            <!-- Retrieve + Notify -->
            <xs:enumeration value="18"/>
            <!-- Create + Retrieve + Notify -->
            <xs:enumeration value="19"/>
            <!-- Update + Notify -->
            <xs:enumeration value="20"/>
            <!-- Create + Update + Notify -->
            <xs:enumeration value="21"/>
            <!-- Retrieve + Update + Notify -->
            <xs:enumeration value="22"/>
            <!-- Create + Retrieve + Update -->
            <xs:enumeration value="23"/>
            <!-- Delete + Notify -->
            <xs:enumeration value="24"/>
            <!-- Create + Delete + Notify -->
            <xs:enumeration value="25"/>
            <!-- Retrieve + Delete + Notify -->
            <xs:enumeration value="26"/>
            <!-- Create + Retrieve + Delete + Notify -->
            <xs:enumeration value="27"/>
            <!-- Update + Delete + Notify -->
            <xs:enumeration value="28"/>
            <!-- Create + Update + Delete + Notify -->
            <xs:enumeration value="29"/>
            <!-- Retrieve + Update + Delete + Notify -->
            <xs:enumeration value="30"/>
            <!-- Create + Retrieve + Update + Delete + Notify -->
            <xs:enumeration value="31"/>
            <!-- Discover -->
            <xs:enumeration value="32"/>
            <!-- Create + Discover -->
            <xs:enumeration value="33"/>
            <!-- Retrieve + Discover -->
            <xs:enumeration value="34"/>
            <!-- Create + Retrieve + Discover -->
            <xs:enumeration value="35"/>
            <!-- Update + Discover -->
            <xs:enumeration value="36"/>
            <!-- Create + Update + Discover -->
            <xs:enumeration value="37"/>
            <!-- Retrieve + Update + Discover -->
            <xs:enumeration value="38"/>
            <!-- Create + Retrieve + Update + Discover -->
            <xs:enumeration value="39"/>
            <!-- Delete + Discover -->
            <xs:enumeration value="40"/>
            <!-- Create + Delete + Discover -->
            <xs:enumeration value="41"/>
            <!-- Retrieve + Delete + Discover -->
            <xs:enumeration value="42"/>
            <!-- Create + Retrieve + Delete + Discover -->
            <xs:enumeration value="43"/>
            <!-- Update + Delete + Discover -->
            <xs:enumeration value="44"/>
            <!-- Create + Update + Delete + Discover -->
            <xs:enumeration value="45"/>
            <!-- Retrieve + Update + Delete + Discover -->
            <xs:enumeration value="46"/>
            <!-- Create + Retrieve + Update + Delete + Discover -->
            <xs:enumeration value="47"/>
            <!-- Notify + Discover -->
            <xs:enumeration value="48"/>
            <!-- Create + Notify + Discover -->
            <xs:enumeration value="49"/>
            <!-- Retrieve + Notify + Discover -->
            <xs:enumeration value="50"/>
            <!-- Create + Retrieve + Notify + Discover -->
            <xs:enumeration value="51"/>
            <!-- Update + Notify + Discover -->
            <xs:enumeration value="52"/>
            <!-- Create + Update + Notify + Discover -->
            <xs:enumeration value="53"/>
            <!-- Retrieve + Update + Notify + Discover -->
            <xs:enumeration value="54"/>
            <!-- Create + Retrieve + Update + Discover -->
            <xs:enumeration value="55"/>
            <!-- Delete + Notify + Discover -->
            <xs:enumeration value="56"/>
            <!-- Create + Delete + Notify + Discover -->
            <xs:enumeration value="57"/>
            <!-- Retrieve + Delete + Notify + Discover -->
            <xs:enumeration value="58"/>
            <!-- Create + Retrieve + Delete + Notify + Discover -->
            <xs:enumeration value="59"/>
            <!-- Update + Delete + Notify + Discover -->
            <xs:enumeration value="60"/>
            <!-- Create + Update + Delete + Notify + Discover -->
            <xs:enumeration value="61"/>
            <!-- Retrieve + Update + Delete + Notify + Discover -->
            <xs:enumeration value="62"/>
            <!-- Create + Retrieve + Update + Delete + Notify + Discover -->
            <xs:enumeration value="63"/>
        </xs:restriction>
    </xs:simpleType>
    
    <xs:simpleType name="filterUsage">
        <xs:annotation>
            <xs:documentation>Used in filterCriteria</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:integer">
            <!-- Discovery -->
            <xs:enumeration value="1" />
            <!-- Conditional Retrieval -->
            <xs:enumeration value="2" />
        	<!-- IPE On-demand Discovery -->
        	<xs:enumeration value="3" />
        </xs:restriction>
    </xs:simpleType>
	
	<xs:simpleType name="notificationTargetPolicyAction">
		<xs:annotation>
			<xs:documentation>Used in filterCriteria</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- accept request -->
			<xs:enumeration value="1" />
			<!-- reject request -->
			<xs:enumeration value="2" />
			<!-- seek authorization from subscription originator before responding -->
			<xs:enumeration value="3" />
			<!-- inform the subscription originator without taking any action -->
			<xs:enumeration value="4" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="logicalOperator">
		<xs:restriction base="xs:integer">
			<!-- AND Operation -->
			<xs:enumeration value="1" />
			<!-- OR Operation -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>
	
	<!-- m2m:securityInfoType is defined in the CDT-notification xsd file -->
	
	
	<xs:simpleType name="allJoynDirection">
		<xs:annotation>
			<xs:documentation>Used for direction attribute of allJoynApp resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- AllJoyn_to_oneM2M -->
			<xs:enumeration value="1" />
			<!-- oneM2M_to_AllJoyn -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>
	
	
	<xs:simpleType name="contentFilterSyntax">
		<xs:annotation>
			<xs:documentation>Used for contentFilterSyntax element in Filter Criteria primitive parameter</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- JSON_PATH_SYNTAX -->
			<xs:enumeration value="1" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="contentSecurity">
		<xs:annotation>
			<xs:documentation>Used in m2m:contentInfo</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- ESData has not been applied to the content data -->
			<xs:enumeration value="0" />
			<!-- ESData using JWE and/or JWS with Compact Serialization has been applied to the content data with no subsequent transfer encoding -->
			<xs:enumeration value="1" />
			<!-- ESData using JWE and/or JWS with JSON Serialization has been applied to the content data with no subsequent transfer encoding -->
			<xs:enumeration value="2" />
			<!-- ESData using JWE and/or JWS with JSON Serialization has been applied to the content data and subsequent base64 encoding (see [9]) has been applied -->
			<xs:enumeration value="3" />
			<!-- XML encryption and/or XML-Signature has been applied to the content data has been applied with no subsequent transfer encoding -->
			<xs:enumeration value="4" />
			<!-- XML encryption and/or XML-Signature has been applied to the content data and subsequent base64 encoding (see [9]) has been applied -->
			<xs:enumeration value="5" />
		</xs:restriction>
	</xs:simpleType>
	

	<xs:simpleType name="suid">
		<xs:annotation>
			<xs:documentation>Used for m2m:e2eSecInfo and other security features in TS-0003</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- pre-provisioned symmetric key intended to be shared with a MEF -->
			<xs:enumeration value="10" />
			<!-- pre-provisioned symmetric key intended to be shared with a MAF -->
			<xs:enumeration value="11" />
			<!-- pre-provisioned symmetric key intended for use in a Security Associated Establishment Framework (SAEF) -->
			<xs:enumeration value="12" />
			<!-- pre-provisioned symmetric key intended for use in End-to-End Security of Primitives (ESPrim) -->
			<xs:enumeration value="13" />
			<!-- pre-provisioned symmetric key intended for use with authenticated encryption in the Encryption-only or Nested Sign-then-Encrypt End-to-End Security of Data (ESData) Data classes -->
			<xs:enumeration value="14" />
			<!-- pre-provisioned symmetric key intended for use in Signature-only ESData Security Class -->
			<xs:enumeration value="15" />
			<!-- symmetric key, provisioned via a Remote Security Provisioning Framework (RSPF), and intended to be shared with a MAF -->
			<xs:enumeration value="21" />
			<!-- symmetric key, provisioned via a RSPF, and intended for use in a SAEF -->
			<xs:enumeration value="22" />
			<!-- symmetric key, provisioned via a RSPF, and intended for use in ESPrim -->
			<xs:enumeration value="23" />
			<!-- symmetric key, provisioned via a RSPF, and intended for use with authenticated encryption in the Encryption-only or Nested Sign-then-Encrypt ESData) Data classes -->
			<xs:enumeration value="24" />
			<!-- symmetric key, provisioned via a RSPF, and intended for use in Signature-only ESData Security Class -->
			<xs:enumeration value="25" />
			<!-- MAF-distributed symmetric key intended for use in a SAEF -->
			<xs:enumeration value="32" />
			<!-- MAF-distributed symmetric key intended for use in ESPrim -->
			<xs:enumeration value="33" />
			<!-- MAF-distributed symmetric key intended for use with authenticated encryption in the Encryption-only or Nested Sign-then-Encrypt ESData Data classes -->
			<xs:enumeration value="34" />
			<!-- MAF-distributed symmetric key intended for use in Signature-only ESData Security Class -->
			<xs:enumeration value="35" />
			<!-- certificate intended to be shared with a MEF -->
			<xs:enumeration value="40" />
			<!-- certificate intended to be shared with a MAF  -->
			<xs:enumeration value="41" />
			<!-- certificate intended for use in a Security Associated Establishment Framework (SAEF) -->
			<xs:enumeration value="42" />
			<!-- certificate intended for use in End-to-End Security of Primitives (ESPrim) -->
			<xs:enumeration value="43" />
			<!-- certificate intended for use with authenticated encryption in the Encryption-only or Nested Sign-then-Encrypt End-to-End Security of Data (ESData) Data classes -->
			<xs:enumeration value="44" />
			<!-- certificate intended for use in Signature-only ESData Security Class -->
			<xs:enumeration value="45" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="esprimKeyGenAlgID">
		<xs:annotation>
			<xs:documentation>Used in m2msec:receiverESPrimRandObject and m2m:originatorESPrimRandObject</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- HMAC-SHA256 -->
			<xs:enumeration value="1" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="esprimProtocolAndAlgID">
		<xs:annotation>
			<xs:documentation>Used in m2m:receiveEr2ERandObject and m2msec:originatorESPrimRandObject</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- JWE Compact Serialization with “enc” = “A128GCM”	 (AES GCM using 128-bit key) -->
			<xs:enumeration value="10" />
			<!-- JWE Compact Serialization with “enc” = “A192GCM” (AES GCM using 192-bit key} -->
			<xs:enumeration value="11" />
			<!-- JWE Compact Serialization with “enc” = “A256GCM”	 (AES GCM using 256-bit key) -->
			<xs:enumeration value="12" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="stationaryIndication">
		<xs:annotation>
			<xs:documentation>Used for stationaryIndication element attribute of m2m:activityPattern</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Stationary -->
			<xs:enumeration value="1" />
			<!-- Mobile (Moving) -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="contentStatus">
		<xs:annotation>
			<xs:documentation>Used for Content Status response parameter</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- PARTIAL_CONTENT -->
			<xs:enumeration value="1" />
			<!-- FULL_CONTENT -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="networkAction">
		<xs:annotation>
			<xs:documentation>Used in the networkAction element in the backOffParameters</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- cellular-registration -->
			<xs:enumeration value="1" />
			<!-- cellular-attach -->
			<xs:enumeration value="2" />
			<!-- cellular-pdpctxact -->
			<xs:enumeration value="3" />
			<!-- cellular-sms -->
			<xs:enumeration value="4" />
			<!-- default -->
			<xs:enumeration value="5" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="triggerPurpose">
		<xs:annotation>
			<xs:documentation>Used for the triggerPurpose field of trigger requests on Mcn and for triggerPurpose attribute of the triggerRequest resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- establishConnection -->
			<xs:enumeration value="1" />
			<!-- registrationRequest -->
			<xs:enumeration value="2" />
			<!-- executeCRUD -->
			<xs:enumeration value="3" />
			<!-- enrolmentRequest -->
			<xs:enumeration value="4" />
		</xs:restriction>
	</xs:simpleType>
	
	
	<xs:simpleType name="serializationType">
		<xs:annotation>
			<xs:documentation>Used for the triggerInfoSrializationType field of trigger requests on Mcn</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- XML -->
			<xs:enumeration value="1" />
			<!-- JSON -->
			<xs:enumeration value="2" />
			<!-- XML + JSON -->
			<xs:enumeration value="3" />
			<!-- CBOR -->
			<xs:enumeration value="4" />
			<!-- XML + CBOR -->
			<xs:enumeration value="5" />
			<!-- JSON + CBOR -->
			<xs:enumeration value="6" />
			<!-- XML + JSON + CBOR -->
			<xs:enumeration value="7" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="authorizationDecision">
		<xs:annotation>
			<xs:documentation>Used for the decision attribute of the of authorizationDecision resource</xs:documentation>				
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- PERMIT -->
			<xs:enumeration value="1" />
			<!-- DENY -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="authorizationStatus">
		<xs:annotation>
			<xs:documentation>Used for status attribute of authorizationDecision resource</xs:documentation>				
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- PERMIT -->
			<xs:enumeration value="1" />
			<!-- NOT_APPLICABLE -->
			<xs:enumeration value="2" />
			<!-- MISSING_ATTRIBUTE -->
			<xs:enumeration value="3" />
			<!-- SYNTAX_ERROR -->
			<xs:enumeration value="4" />
			<!-- PROCESSING_ERROR -->
			<xs:enumeration value="5" />
		</xs:restriction>
	</xs:simpleType>	
	
	<xs:simpleType name="acpCombiningAlgorithm">
		<xs:annotation>
			<xs:documentation>Used for combiningAlgorithm attribute of authorizationPolicy resource</xs:documentation>				
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- PERMIT_OVERRIDES -->
			<xs:enumeration value="1" />
		</xs:restriction>
	</xs:simpleType>	

	<xs:simpleType name="ontologyFormat">
		<xs:annotation>
			<xs:documentation>Used for ontologyFormat attribute in ontology resourcee</xs:documentation>				
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- IRI -->
			<xs:enumeration value="1" />
			<!-- File format: Functional-style -->
			<xs:enumeration value="2" />
			<!-- File format: OWL/XML -->
			<xs:enumeration value="3" />
			<!-- File format: RDF/XML -->
			<xs:enumeration value="4" />
			<!-- File format: RDF/Turtle -->
			<xs:enumeration value="5" />
			<!-- File format: Manchester -->
			<xs:enumeration value="6" />
		</xs:restriction>
	</xs:simpleType>	

	<xs:simpleType name="mashupMemberStoreType">
		<xs:annotation>
			<xs:documentation>Used for memberStoreType attribute of semanticMashupInstance resource</xs:documentation>				
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- IRI -->
			<xs:enumeration value="1" />
			<!-- File format: Functional-style -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>	
	
	<xs:simpleType name="mashupResultGenType">
		<xs:annotation>
			<xs:documentation>Used for resultGenType attribute of semanticMashupInstance resource</xs:documentation>				
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- WHEN_SMI_IS_CREATED -->
			<xs:enumeration value="1" />
			<!-- WHEN_MR_REQUESTS -->
			<xs:enumeration value="2" />
			<!-- PERIODICALLY -->
			<xs:enumeration value="3" />
			<!-- WHEN_A_MASHUP_MEMBER_IS_UPDATED -->
			<xs:enumeration value="4" />
		</xs:restriction>
	</xs:simpleType>	
	
	<xs:simpleType name="locationUpdateEventCriteria">
		<xs:annotation>
			<xs:documentation>Used for locationUpdateEventCriteria attribute of locationPolicy resource</xs:documentation>				
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Location_Change -->
			<xs:enumeration value="1" />
		</xs:restriction>
	</xs:simpleType>	

	
	<xs:simpleType name="AERegistrationStatus">
		<xs:annotation>
			<xs:documentation>Used for registrationStatus attribute in AE resource</xs:documentation>				
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- ACTIVE -->
			<xs:enumeration value="1" />
			<!-- INACTIVE -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>	
	
	<xs:simpleType name="multicastCapability">
		<xs:annotation>
			<xs:documentation>Used for multicastCapability attribute in remoteCSE resource and multicastType element in Multicast Group Information Data Object</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- MBMS -->
			<xs:enumeration value="1" />
			<!-- IP   -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="sessionState">
		<xs:annotation>
			<xs:documentation>Used for sessionState attribute of multimediaSession resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- OFFLINE -->
			<xs:enumeration value="1" />
			<!-- ONLINE -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="triggerStatus">
		<xs:annotation>
			<xs:documentation>Used in definining trigger status in the triggerRequest resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- PROCESSING -->
			<xs:enumeration value="1" />
			<!-- ERROR_NSE_NOT_FOUND -->
			<xs:enumeration value="2" />
			<!-- TRIGGER_SUBMITTED -->
			<xs:enumeration value="3" />
			<!-- TRIGGER_DELIVERED -->
			<xs:enumeration value="4" />
			<!-- TRIGGER_EXPIRED -->
			<xs:enumeration value="5" />
			<!-- TRIGGER_FAILED -->
			<xs:enumeration value="6" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="timeWindowType">
		<xs:annotation>
			<xs:documentation>Used for timeWindowType attribute in crossResourceSubscription resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- PERIODICWINDOW -->
			<xs:enumeration value="1" />
			<!-- SLIDINGWINDOW -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="transferSelectionGuidance">
		<xs:annotation>
			<xs:documentation>Used for transferSelectionGuidance attribute in backgroundDataTransfer resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- lowestCost -->
			<xs:enumeration value="1" />
			<!-- bestDataRates -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="transactionMode">
		<xs:annotation>
			<xs:documentation>Used for the transactionMode attribute in transactionMgmt resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- CSE_CONTROLLED -->
			<xs:enumeration value="1" />
			<!-- CREATOR_CONTROLLED -->
			<xs:enumeration value="2" />
		</xs:restriction>	
	</xs:simpleType>
	<xs:simpleType name="transactionControl">
		<xs:annotation>
			<xs:documentation>Used for the transactionState attribute in transactionMgmt and transaction resource to monitor the state of a transaction.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- INITIAL -->
			<xs:enumeration value="1" />
			<!-- LOCK -->
			<xs:enumeration value="2" />
			<!-- EXECUTE -->
			<xs:enumeration value="3" />
			<!-- COMMIT -->
			<xs:enumeration value="4" />
			<!-- ABORT -->
			<xs:enumeration value="5" />
		</xs:restriction>	
	</xs:simpleType>
	
	<xs:simpleType name="transactionState">
		<xs:annotation>
			<xs:documentation>Used for the transactionState attribute in transactionMgmt and transaction resource to monitor the state of a transaction.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- INITIAL -->
			<xs:enumeration value="1" />
			<!-- LOCKED -->
			<xs:enumeration value="2" />
			<!-- EXECUTED -->
			<xs:enumeration value="3" />
			<!-- COMMITTED -->
			<xs:enumeration value="4" />
			<!-- ERROR -->
			<xs:enumeration value="5" />
			<!-- ABORTED -->
			<xs:enumeration value="6" />
		</xs:restriction>	
	</xs:simpleType>
	
	<xs:simpleType name="transactionLockType">
		<xs:annotation>
			<xs:documentation>Used for the transactionMode attribute in transactionMgmt resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- BLOCK_ALL -->
			<xs:enumeration value="1" />
			<!-- ALLOW_RETRIEVES -->
			<xs:enumeration value="2" />
		</xs:restriction>	
	</xs:simpleType>
	
	<xs:simpleType name="transactionMgmtHandling">
		<xs:annotation>
			<xs:documentation>Used for the transactionMode attribute in transactionMgmt resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- DELETE -->
			<xs:enumeration value="1" />
			<!-- PERSIST -->
			<xs:enumeration value="2" />
		</xs:restriction>	
	</xs:simpleType>
	
	<xs:simpleType name="locationInformationType">
		<xs:annotation>
			<xs:documentation>Used in the  locationInformationType attribute of the locationPolicy resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Position fix -->
			<xs:enumeration value="1" />
			<!-- Geofence event -->
			<xs:enumeration value="2" />
		</xs:restriction>
	</xs:simpleType>
	
	<xs:simpleType name="geofenceEventCriteria">
		<xs:annotation>
			<xs:documentation>Used in the geofenceEventCriteria attribute of the locationPolicy resource</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:integer">
			<!-- Entering -->
			<xs:enumeration value="1" />
			<!-- Leaving -->
			<xs:enumeration value="2" />
			<!-- Inside -->
			<xs:enumeration value="3" />
			<!-- Outside -->
			<xs:enumeration value="4" />
		</xs:restriction>
	</xs:simpleType>
	
</xs:schema>