Sample XML for testing
[working/NCIPServer.git] / t / sample_data / CreateUser.xml
1 <?xml version="1.0" encoding="utf-8"?><!DOCTYPE NCIPMessage PUBLIC "-//NISO//NCIP DTD Version 1//EN" "http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd">
2 <NCIPMessage version="http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_v1_0.dtd">
3   <CreateUser>
4     <InitiationHeader>
5       <FromAgencyId>
6         <UniqueAgencyId>
7           <Scheme>http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm</Scheme>
8           <Value>CPomAG:massvc:FLO-EMERSON</Value>
9         </UniqueAgencyId>
10       </FromAgencyId>
11       <ToAgencyId>
12         <UniqueAgencyId>
13           <Scheme>HTTP://schema.flo.org/ncip/ag</Scheme>
14           <Value>FLO-EMERSON</Value>
15         </UniqueAgencyId>
16       </ToAgencyId>
17     </InitiationHeader>
18     <MandatedAction>
19       <DateEventOccurred>2013-09-04T09:22:00</DateEventOccurred>
20     </MandatedAction>
21     <UniqueUserId>
22       <UniqueAgencyId>
23         <Scheme>http://www.auto-graphics.com/ncip/schemes/uniqueagencyid/agencynames.scm</Scheme>
24         <Value>CPomAG:massvc:FLO-EMERSON</Value>
25       </UniqueAgencyId>
26       <UserIdentifierValue>MASSVC</UserIdentifierValue>
27     </UniqueUserId>
28     <NameInformation>
29       <OrganizationNameInformation>
30         <OrganizationNameType>
31           <Scheme>http://www.niso.org/ncip/v1_0/imp1/schemes/organizationnametype/organizationnametype.scm</Scheme>
32           <Value>Official Name</Value>
33         </OrganizationNameType>
34         <OrganizationName>Massachusetts Virtual Catalog</OrganizationName>
35       </OrganizationNameInformation>
36     </NameInformation>
37     <UserPrivilege>
38       <UniqueAgencyId>
39         <Scheme>HTTP://schema.flo.org/ncip/ag</Scheme>
40         <Value>FLO-EMERSON</Value>
41       </UniqueAgencyId>
42       <AgencyUserPrivilegeType>
43         <Scheme>http://www.niso.org/ncip/v1_0/imp1/schemes/agencyuserprivilegetype/public.scm</Scheme>
44         <Value>Staff</Value>
45       </AgencyUserPrivilegeType>
46       <ValidFromDate>2013-09-04T00:00:00</ValidFromDate>
47       <UserPrivilegeStatus>
48         <UserPrivilegeStatusType>
49           <Scheme>http://www.niso.org/ncip/v1_0/imp1/schemes/userprivilegestatustype/userprivilegestatustype.scm</Scheme>
50           <Value>Active</Value>
51         </UserPrivilegeStatusType>
52       </UserPrivilegeStatus>
53       <UserPrivilegeDescription>user status</UserPrivilegeDescription>
54     </UserPrivilege>
55     <UserPrivilege>
56       <UniqueAgencyId>
57         <Scheme>HTTP://schema.flo.org/ncip/ag</Scheme>
58         <Value>FLO-EMERSON</Value>
59       </UniqueAgencyId>
60       <AgencyUserPrivilegeType>
61         <Scheme>http://www.niso.org/ncip/v1_0/imp1/schemes/agencyuserprivilegetype/public.scm</Scheme>
62         <Value>Staff</Value>
63       </AgencyUserPrivilegeType>
64       <ValidFromDate>2013-09-04T00:00:00</ValidFromDate>
65       <UserPrivilegeStatus>
66         <UserPrivilegeStatusType>
67           <Scheme>http://www.niso.org/ncip/v1_0/imp1/schemes/userprivilegestatustype/userprivilegestatustype.scm</Scheme>
68           <Value>ILL</Value>
69         </UserPrivilegeStatusType>
70       </UserPrivilegeStatus>
71       <UserPrivilegeDescription>patron type</UserPrivilegeDescription>
72     </UserPrivilege>
73   </CreateUser>
74 </NCIPMessage>