sterling_api 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ pkg/*
2
+ *.gem
3
+ .bundle
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in sterling_api.gemspec
4
+ gemspec
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 [name of plugin creator]
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,2 @@
1
+ sterling_api
2
+ ============
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,47 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--W3C Schema generated by XMLSPY v2004 rel. 3 U (http://www.xmlspy.com)-->
3
+ <xs:schema
4
+ targetNamespace="http://www.cpscreen.com/schemas"
5
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
6
+ xmlns="http://www.cpscreen.com/schemas"
7
+ elementFormDefault="qualified"
8
+ version="1">
9
+ <xs:element name="ChoicePointAdminRequest">
10
+ <xs:complexType>
11
+ <xs:sequence>
12
+ <xs:element name="ChangePassword" minOccurs="0" maxOccurs="unbounded">
13
+ <xs:complexType>
14
+ <xs:sequence>
15
+ <xs:element name="Account" type="xs:string"/>
16
+ <xs:element name="UserId" type="xs:string"/>
17
+ <xs:element name="Password" type="xs:string"/>
18
+ <xs:element name="NewPassword" type="xs:string" minOccurs="0"/>
19
+ </xs:sequence>
20
+ </xs:complexType>
21
+ </xs:element>
22
+ <xs:element name="PackageDetail" minOccurs="0" maxOccurs="unbounded">
23
+ <xs:complexType>
24
+ <xs:sequence>
25
+ <xs:element name="PackageId">
26
+ <xs:simpleType>
27
+ <xs:restriction base="xs:string">
28
+ <xs:pattern value="[0-9]{4}|ALL"/>
29
+ </xs:restriction>
30
+ </xs:simpleType>
31
+ </xs:element>
32
+ </xs:sequence>
33
+ </xs:complexType>
34
+ </xs:element>
35
+ </xs:sequence>
36
+ <xs:attribute name="userId" type="xs:string" use="required">
37
+ <xs:annotation>
38
+ <xs:documentation>ChoicePoint assigned customer user id. The max length
39
+ of the userId is 30 characters.
40
+ </xs:documentation>
41
+ </xs:annotation>
42
+ </xs:attribute>
43
+ <xs:attribute name="account" type="xs:string" use="required"/>
44
+ <xs:attribute name="password" type="xs:string" use="required"/>
45
+ </xs:complexType>
46
+ </xs:element>
47
+ </xs:schema>
@@ -0,0 +1,64 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.cpscreen.com/schemas" xmlns="http://www.cpscreen.com/schemas" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1">
3
+ <xs:element name="ChoicePointAdminResponse">
4
+ <xs:complexType>
5
+ <xs:sequence>
6
+ <xs:element name="Error" type="ErrorType" minOccurs="0"/>
7
+ <xs:element name="ChangePassword" minOccurs="0" maxOccurs="unbounded">
8
+ <xs:complexType>
9
+ <xs:sequence>
10
+ <xs:element ref="Status"/>
11
+ <xs:element name="Account" type="xs:string"/>
12
+ <xs:element name="UserId" type="xs:string"/>
13
+ <xs:element name="Password" type="xs:string"/>
14
+ <xs:element name="NewPassword" type="xs:string" minOccurs="0"/>
15
+ <xs:element name="Error" type="ErrorType" minOccurs="0"/>
16
+ </xs:sequence>
17
+ </xs:complexType>
18
+ </xs:element>
19
+ <xs:element name="PackageDetail" minOccurs="0" maxOccurs="unbounded">
20
+ <xs:complexType>
21
+ <xs:sequence>
22
+ <xs:element ref="Status"/>
23
+ <xs:element name="PackageId" type="xs:string"/>
24
+ <xs:element name="Name" type="xs:string" minOccurs="0"/>
25
+ <xs:element name="Price" type="xs:string" minOccurs="0"/>
26
+ <xs:element name="Components" minOccurs="0" maxOccurs="1">
27
+ <xs:complexType>
28
+ <xs:sequence>
29
+ <xs:element name="Component" minOccurs="0" maxOccurs="unbounded">
30
+ <xs:complexType>
31
+ <xs:sequence>
32
+ <xs:element name="Type" type="xs:string"/>
33
+ <xs:element name="Subtype" type="xs:string" minOccurs="0"/>
34
+ <xs:element name="Name" type="xs:string"/>
35
+ </xs:sequence>
36
+ </xs:complexType>
37
+ </xs:element>
38
+ </xs:sequence>
39
+ </xs:complexType>
40
+ </xs:element>
41
+ <xs:element name="Error" type="ErrorType" minOccurs="0"/>
42
+ </xs:sequence>
43
+ </xs:complexType>
44
+ </xs:element>
45
+ </xs:sequence>
46
+ <xs:attribute name="userId" type="xs:string"/>
47
+ <xs:attribute name="account" type="xs:string"/>
48
+ </xs:complexType>
49
+ </xs:element>
50
+ <xs:complexType name="ErrorType">
51
+ <xs:sequence>
52
+ <xs:element name="ErrorCode" type="xs:string"/>
53
+ <xs:element name="ErrorDescription" type="xs:string"/>
54
+ </xs:sequence>
55
+ </xs:complexType>
56
+ <xs:element name="Status">
57
+ <xs:simpleType>
58
+ <xs:restriction base="xs:string">
59
+ <xs:enumeration value="Complete"/>
60
+ <xs:enumeration value="Fail"/>
61
+ </xs:restriction>
62
+ </xs:simpleType>
63
+ </xs:element>
64
+ </xs:schema>
@@ -0,0 +1,55 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema targetNamespace="http://www.cpscreen.com/schemas" xmlns="http://www.cpscreen.com/schemas" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="1">
3
+ <xs:include schemaLocation="CPScreenings.xsd"/>
4
+ <xs:element name="BackgroundReports">
5
+ <xs:complexType>
6
+ <xs:sequence>
7
+ <xs:element name="BackgroundReportPackage" maxOccurs="unbounded">
8
+ <xs:complexType>
9
+ <xs:sequence>
10
+ <xs:element name="ProviderReferenceId" type="xs:string" minOccurs="0"/>
11
+ <xs:element name="PackageInformation" type="PackageInformationType" minOccurs="0"/>
12
+ <xs:element name="PersonalData" type="PersonalDataType" minOccurs="0"/>
13
+ <xs:element name="ScreeningStatus" type="ScreeningStatusType" minOccurs="0"/>
14
+ <xs:element name="ScreeningResults" type="ScreeningResultsType" minOccurs="0"/>
15
+ <xs:element name="SupportingDocumentation" minOccurs="0">
16
+ <xs:complexType>
17
+ <xs:sequence>
18
+ <xs:element name="InternetWebAddress" type="xs:string" minOccurs="0" />
19
+ </xs:sequence>
20
+ </xs:complexType>
21
+ </xs:element>
22
+ <xs:element name="Screenings" minOccurs="0">
23
+ <xs:complexType>
24
+ <xs:sequence>
25
+ <xs:element name="Screening" type="ScreeningType" minOccurs="0" maxOccurs="unbounded"/>
26
+ </xs:sequence>
27
+ </xs:complexType>
28
+ </xs:element>
29
+ <xs:element name="ErrorReport" type="ErrorReportType" minOccurs="0" maxOccurs="unbounded"/>
30
+ </xs:sequence>
31
+ <xs:attribute name="type">
32
+ <xs:simpleType>
33
+ <xs:restriction base="xs:NMTOKEN">
34
+ <xs:enumeration value="report"/>
35
+ <xs:enumeration value="errors"/>
36
+ <xs:enumeration value="message"/>
37
+ </xs:restriction>
38
+ </xs:simpleType>
39
+ </xs:attribute>
40
+ </xs:complexType>
41
+ </xs:element>
42
+ </xs:sequence>
43
+ <xs:attribute name="userId" type="xs:string">
44
+ <xs:annotation>
45
+ <xs:documentation>ChoicePoint assigned customer user id. The max length
46
+ of the userId is 30 characters.
47
+ </xs:documentation>
48
+ </xs:annotation>
49
+ </xs:attribute>
50
+ <xs:attribute name="account" type="xs:string"/>
51
+ <xs:attribute name="cpUserId" type="xs:string"/>
52
+ <xs:attribute name="cpPassword" type="xs:string"/>
53
+ </xs:complexType>
54
+ </xs:element>
55
+ </xs:schema>