190 likes | 334 Views
GJXDM Re-usable Schema Components (RSCs). Creating IEPDs using Re-usable Schema Components (RSCs) and Association Constructs. RSC Description. An RSC is essentially a mini-IEPD, therefore it should contain IEPD artifacts such as: Domain Model Mapping Spreadsheet Document Schema
E N D
GJXDM Re-usable Schema Components (RSCs) Creating IEPDs using Re-usable Schema Components (RSCs) and Association Constructs GJXDM User’s Conference – San Diego
RSC Description • An RSC is essentially a mini-IEPD, therefore it should contain IEPD artifacts such as: • Domain Model • Mapping Spreadsheet • Document Schema • Extension Schema • GJXDM Subset Schema • SSGT Want List (requested.xml) GJXDM User’s Conference – San Diego
RSC Description The document schema specifies the RSC root element. The RSC subset schema contains the core GJXDM types and properties. In the development of the RSC, the extension schema serves two roles. The extension schema both defines the type and property extensions to create the RSC in addition to defining roles and associations within the RSC. GJXDM User’s Conference – San Diego
RSC Description GJXDM 3.0.3 has three (3) relationship mechanisms to relate objects • Inclusion • Referencing • Relationships NIEM and future releases of the GJXDM will replace the RelationshipType and reduce the reliance on inclusion by using Roles & Associations This example illustrates how an abstract layer of re-usable components that can be used to build IEPDs through the use of Associations GJXDM User’s Conference – San Diego
Data Dictionary Source Database GJXDM Model GJXDM Reference Schema(s) Populate Derive SOAP Message (routing, security, authentication, auditing) Exchange Document (XML Instance) Query Response Notification (etc…) IEPD Transform Exchange Schema GJXDM IEPD Schema Development Process GJXDM User’s Conference – San Diego
GJXDM IEPD Schema DevelopmentAbstract Layer RSC 1 RSC 2 RSC ? …. • Re-usable Component Abstract Layer • Higher Level Containers used through the extension schema • Provides commonly used data structures for reuse to build IEPDs GJXDM User’s Conference – San Diego
GJXDM IEPD Schema DevelopmentUsing RSC Abstract Layer IEPD IEPD Exchange Schema 2 Exchange Schema 1 jxdm Layer GJXDM Reference Schema(s) Derive RSC Abstract Layer RSC 1 RSC 2 RSC 3 RSC ? …. IEPD Layer GJXDM User’s Conference – San Diego
RSC - Example Create an offender “Prior Record” IEPD based on existing “Criminal History” and “Supervision History” components (RSCs). GJXDM User’s Conference – San Diego
RSC – Criminal History ComponentDomain Model GJXDM User’s Conference – San Diego
RSC – Supervision History ComponentDomain Model GJXDM User’s Conference – San Diego
RSC – Prior Record IEPD SchemaDomain Model GJXDM User’s Conference – San Diego
Does the following: • Imports extension schema • Declares “CriminalHistory” element as the ‘root’ element of the RSC • <xsd:element name="CriminalHistory" type="ext:CriminalHistoryType"/> Document Schema • Does the following: • Defines Criminal History Data Component • - CriminalHistoryType Definition • - Criminal History Extensions & AssociationTypes • Defines AssociationType and • RoleOfPersonReference • (Included in NIEM and future GJXDM releases) Extension Schema RSC – Component Schemas(e.g., Criminal History) GJXDM User’s Conference – San Diego
Extension Schema RSC – Component Extension Schemas - CriminalHistoryType Definition GJXDM User’s Conference – San Diego
Extension Schema RSC – Component Extension Schemas - Criminal History Extensions & AssociationTypes Typical AssociationType Definition appearing in the RSC extension schema(s). GJXDM User’s Conference – San Diego
Extension Schema RSC – Component Extension Schemas • AssociationType and RoleOfPersonReference The AssociationType and RoleOfPersonReference elements are defined in the extension schema. NIEM and future releases of the GJXDM will include Roles & Associations whereas the above constructs will appear in the subset schema. GJXDM User’s Conference – San Diego
RSC – Prior Record IEPD Extension Schema Document Schema Criminal History Component Import & Referenced by Extension Schema Prior Record Extension Schema Document Schema Supervision History Component Extension Schema • Import and Reference Component Extension Schemas • Reference Person from the GJXDM subset schema and build Person Roles and Associations GJXDM User’s Conference – San Diego
RSC – Prior Record IEPD Subset Schema Requested.xml (1) SSGT Requested.xml (2) Combined Requested.xml Requested.xml (3) Combined Subset schema • Merge the jxdm namespace types and properties to create a single subset schema • Combine SSGT “requested.xml” from each component (future tool?) • Import combined “requested.xml” into SSGT to generate the combined offender Prior Record subset schema. GJXDM User’s Conference – San Diego
Prior Record XML Instance RSC – Validation Sequence Document Schema Prior Record IEPD Schema Extension Schema Document Schema Document Schema Criminal History Component Supervision History Component Extension Schema Extension Schema GJXDM Subset Schema GJXDM User’s Conference – San Diego
RSC Example Schemas For more information… The RSC Example Concept and Implementation Domain Models and schemas are located at: http://nlectc-ilp.org GJXDM User’s Conference – San Diego