# Presentation: 523518

## GJXDM Re-usable Schema Components (RSCs)

- Creating IEPDs using Re-usable Schema Components (RSCs) and Association Constructs

## 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)

- Domain Model
- Mapping Spreadsheet
- Document Schema
- Extension Schema
- GJXDM Subset Schema
- SSGT Want List (*requested.xml*)

- RSC Description

## 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.

## RSC Description

- Inclusion
- Referencing
- Relationships

- GJXDM 3.0.3 has three (3) relationship mechanisms to relate objects

- 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 IEPD Schema Development Process

## ....

- 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 IEPD Schema DevelopmentAbstract Layer

## ....

- GJXDM Reference
- Schema(s)

- Derive

- RSC 1

- RSC 3

- RSC ?

- RSC
- Abstract Layer

- ....

- GJXDM IEPD Schema DevelopmentUsing RSC Abstract Layer

- jxdm Layer

- IEPD Layer

- RSC 2

## RSC - Example

## RSC – Criminal History ComponentDomain Model 

## RSC – Supervision History ComponentDomain Model 

## RSC – Prior Record IEPD SchemaDomain Model 

## RSC – Component Schemas(e.g., Criminal History) 

## RSC – Component Extension Schemas 

**Extension**
**Schema**

** ****- CriminalHistoryType Definition**
**        **

## RSC – Component Extension Schemas 

**Schema**

**- Criminal History Extensions & AssociationTypes**
**        **

- RSC – Component Extension Schemas

- Typical AssociationType Definition appearing in the RSC extension schema(s).

## RSC – Component Extension Schemas 

**Schema**

**AssociationType and RoleOfPersonReference**

- RSC – Component Extension Schemas

- 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.

## RSC – Prior Record IEPD Extension Schema 

- Reference Person from the GJXDM subset schema and build Person Roles and Associations

**Prior Record**
**Extension**
**Schema**

- Import & Referenced by

- RSC – Prior Record IEPD Extension Schema

**Extension**
**Schema**

**Document**
**Schema**

- Criminal History
- Component

**Extension**
**Schema**

**Document**
**Schema**

- Supervision History
- Component

## RSC – Prior Record IEPD Subset Schema 

**Requested.xml (1)**

**Requested.xml (2)**

**Requested.xml (3)**

- Combine SSGT “requested.xml” from each component (future tool?)
- Import combined “requested.xml” into SSGT to generate the combined offender _***Prior Record***_ subset schema.

**Combined**
**Requested.xml**

- SSGT

**Combined**
**Subset schema**

- Merge the jxdm namespace types and properties to create a single subset schema

## RSC – Validation Sequence 

- Prior Record
- XML Instance

**Extension**
**Schema**

**Document**
**Schema**

**Extension**
**Schema**

**Document**
**Schema**

- Criminal History
- Component

**GJXDM**
**Subset Schema**

**Extension**
**Schema**

**Document**
**Schema**

- Supervision History
- Component

- Prior Record IEPD
- Schema

## RSC Example Schemas 

- _[http://nlectc-ilp.org](http://nlectc-ilp.org/)_

- For more information...
- The RSC Example Concept and Implementation Domain Models and schemas are located at: