Skip to content

Commit

Permalink
Merge pull request #109 from cufx/Release4.4Yaml
Browse files Browse the repository at this point in the history
FInal file updates for release 4.4
  • Loading branch information
dlacroix01 authored Oct 26, 2020
2 parents 5375370 + 6ef5645 commit 0e4d5bb
Show file tree
Hide file tree
Showing 7 changed files with 340 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Linguist overrides https://github.com/github/linguist#overrides
standard/CUFX/Generator/bin/Debug/GeneratedFiles/* linguist-generated=true
standard/CUFX/Generator/bin/Debug/GeneratedFiles/* linguist-detectable=false
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/

# Visual Studio cache/options directory
.vs/
Binary file added CUFX/yaml/CUFX.Swagger.yaml.txt
Binary file not shown.
1 change: 0 additions & 1 deletion CUFX/yaml/placeholder

This file was deleted.

173 changes: 173 additions & 0 deletions parkinglot/AuditInfo.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema
targetNamespace="http://cufxstandards.com/v4/AuditInfo.xsd"
version="4.4.$Revision$"
xmlns="http://cufxstandards.com/v4/AuditInfo.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:common="http://cufxstandards.com/v4/Common.xsd"
xmlns:user="http://cufxstandards.com/v4/User.xsd"

elementFormDefault="qualified"
attributeFormDefault="unqualified">


<xs:import namespace="http://cufxstandards.com/v4/Common.xsd" schemaLocation="Common.xsd" />
<xs:import namespace="http://cufxstandards.com/v4/User.xsd" schemaLocation="User.xsd" />

<xs:element name= "auditInfoList" type ="AuditInfoList">
<xs:annotation>
<xs:documentation>
The audit info collection/array contains all the audit information for a given set of audit events.
</xs:documentation>
</xs:annotation>
</xs:element>

<xs:complexType name="AuditInfoList">
<xs:annotation>
<xs:documentation>
The audit info collection/array contains all the audit information.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="common:ListBase">
<xs:sequence>
<xs:element name="auditInfo" type="AuditInfo" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
The audit info list is the collection of elements that describes an auditable event.
</xs:documentation>
</xs:annotation>
</xs:element >
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>

<xs:complexType name="AuditInfo">
<xs:sequence>
<xs:element name="creationevent" type="AuditEvent" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The audit event information that created the account.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="lastmodifiednevent" type="AuditEvent" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The audit event information for the last modification to the account.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="deletionevent" type="AuditEvent" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The audit event information for the deletion of the account.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="customData" type="common:CustomData" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Access profile level name/data pairs list of fields that are not yet available in the general
specification. This should be used as a LAST RESORT as any customizations will not be supported by all
data providers or processed by all client applications. ANY use of this field must be reported to the
architecture or working group committee to ensure that fields are somehow handled in the future release
of specifications.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

<xs:complexType name="AuditEvent">
<xs:annotation>
<xs:documentation>
The standard definition for event tracking.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="auditEventId" type="AuditEventId" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The Id for the audit event.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="eventDescription" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The description of the event.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="eventDateTime" type="xs:dateTime" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Date and time the event data occurred in the source system.
The date/time should be ISO 8601 UTC format.
yyyy-mm-ddThh:mmZ (2011-03-28T12:00Z) or yyyy-mm-dd (2011-03-28)
formats are supported. The time is assumed to be 00:00Z if omitted.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="eventCreatedBy" type="user:UserId" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The unique identifier of the user that created the event in the system.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="eventIpAddress" type="common:IpAddress" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
The Ip Address that created the event.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="customData" type="common:CustomData" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
AuditEvent name/data pairs list of fields that are not yet available in the general specification.
This should be used as a LAST RESORT as any customizations will not be supported by all
data providers or processed by all client applications. ANY use of this field must be
reported to the architecture or working group committee to ensure that fields are somehow
handled in the future release of specifications.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

<xs:simpleType name="AuditEventId">
<xs:restriction base="xs:string">
<xs:annotation>
<xs:documentation>
The Id for the audit event.
</xs:documentation>
</xs:annotation>
</xs:restriction>
</xs:simpleType>

<xs:complexType name="AuditEventIdList">
<xs:annotation>
<xs:documentation>
The list of audit event ID's that should be returned or affected by a read, update or delete account request.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="common:ListBase">
<xs:sequence>
<xs:element name="auditEventId" type="AuditEventId" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
The Id for the audit event.
</xs:documentation>
</xs:annotation>
</xs:element >
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>

</xs:schema>
78 changes: 78 additions & 0 deletions parkinglot/AuditInfoFiler.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://cufxstandards.com/v4/AuditInfoFilter.xsd"
xmlns="http://cufxstandards.com/v4/AuditInfoFilter.xsd"
version="4.3.$Revision$"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:auditInfo="http://cufxstandards.com/v4/AuditInfo.xsd"
xmlns:common="http://cufxstandards.com/v4/Common.xsd"

elementFormDefault="qualified"
attributeFormDefault="unqualified">

<xs:import namespace="http://cufxstandards.com/v4/AuditInfo.xsd" schemaLocation="AuditInfo.xsd" />
<xs:import namespace="http://cufxstandards.com/v4/Common.xsd" schemaLocation="Common.xsd" />

<xs:element name="auditInfoFilter" type="AuditInfoFilter">
<xs:annotation>
<xs:documentation>
The list of filter options for services requesting audit Information data.
The options can be used in combination or by themselves. It is up to the data source
to either return or affect the data requested or return a standard error identifying
why the request was rejected.
</xs:documentation>
</xs:annotation>
</xs:element>

<xs:complexType name="AuditInfoFilter">
<xs:annotation>
<xs:documentation>
The list of audit information that should have their associated audit information events either returned or affected
by a read, update or delete account request.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="auditEventIdList" type="auditInfo:AuditEventIdList" minOccurs ="0" maxOccurs ="1">
<xs:annotation>
<xs:documentation>
The list of audit event ID's that should be returned or affected by a read, update or delete account request.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="createAuditEventDateRange" type="common:DateRange" minOccurs ="0" maxOccurs ="1">
<xs:annotation>
<xs:documentation>
Filter that is used to search by creation audit events by date range.
Usage see common.xsd DateRange.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="modifiedAuditEventDateRange" type="common:DateRange" minOccurs ="0" maxOccurs ="1">
<xs:annotation>
<xs:documentation>
Filter that is used to search by modification audit events by date range.
Usage see common.xsd DateRange.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="deletedAuditEventDateRange" type="common:DateRange" minOccurs ="0" maxOccurs ="1">
<xs:annotation>
<xs:documentation>
Filter that is used to search by deletion audit events by date range.
Usage see common.xsd DateRange.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="customData" type="common:CustomData" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Audit Information level name/data pairs list of fields that are not yet available in the general
specification. This should be used as a LAST RESORT as any customizations will not be supported by all
data providers or processed by all client applications. ANY use of this field must be reported to the
architecture or working group committee to ensure that fields are somehow handled in the future release
of specifications.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence >
</xs:complexType >
</xs:schema>
63 changes: 63 additions & 0 deletions parkinglot/AuditInfoMessage.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>

<xs:schema targetNamespace="http://cufxstandards.com/v4/AuditInfoMessage.xsd"
version="4.3.$Revision$"
xmlns="http://cufxstandards.com/v4/AuditInfoMessage.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:messageContext="http://cufxstandards.com/v4/MessageContext.xsd"
xmlns:auditInfo="http://cufxstandards.com/v4/AuditInfo.xsd"
xmlns:auditInfoFilter="http://cufxstandards.com/v4/AuditInfoFilter.xsd"

elementFormDefault="qualified"
attributeFormDefault="unqualified">

<xs:import namespace="http://cufxstandards.com/v4/MessageContext.xsd" schemaLocation="MessageContext.xsd" />
<xs:import namespace="http://cufxstandards.com/v4/AuditInfo.xsd" schemaLocation="AuditInfo.xsd" />
<xs:import namespace="http://cufxstandards.com/v4/AuditInfoFilter.xsd" schemaLocation="AuditInfoFilter.xsd" />

<xs:element name="auditInfoMessage" type="AuditInfoMessage">
<xs:annotation>
<xs:documentation>
All values that can be sent in an auditInfo message. Contains message context, auditInfo filter and an
auditInfo list. This is a wrapper used to more easily serialize the complete message. All values are
optional. See example specifications for usage.
</xs:documentation>
</xs:annotation>
</xs:element>

<xs:complexType name="AuditInfoMessage">
<xs:annotation>
<xs:documentation>
All values that can be sent in an auditInfo message. Contains message context, auditInfo filter and an
auditInfo list. This is a wrapper used to more easily serialize the complete message. All values are
optional. See example specifications for usage.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="messageContext" type="messageContext:MessageContext" minOccurs ="0" maxOccurs ="1">
<xs:annotation>
<xs:documentation>
The message context contains information that is passed as part of each CUFX message call. It
identifies who is sending the request in and enables the service provider to execute some level
of security or processing.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="auditInfoFilter" type="auditInfoFilter:AuditInfoFilter" minOccurs ="0" maxOccurs ="1">
<xs:annotation>
<xs:documentation>
Any filters applied to a read, update or delete accessProfile request.
Does not apply to a create message.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="auditInfoList" type="auditInfo:auditInfoList" minOccurs ="0" maxOccurs ="1">
<xs:annotation>
<xs:documentation>
All the audit Information data.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence >
</xs:complexType >
</xs:schema>

0 comments on commit 0e4d5bb

Please sign in to comment.