Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE database SYSTEM "http://www.kuali.org/dtd/database.dtd">
<!--  Auto-generated by the Maven Impex Plugin -->
<database defaultJavaNamingMethod="nochange" name="ks-rice-db">
    <table name="KRAD_MSG_T">
        <column name="NMSPC_CD" primaryKey="true" size="20" type="VARCHAR"/>
        <column name="CMPNT_CD" primaryKey="true" size="100" type="VARCHAR"/>
        <column name="MSG_KEY" primaryKey="true" size="100" type="VARCHAR"/>
        <column name="LOC" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="MSG_DESC" size="255" type="VARCHAR"/>
        <column name="TXT" size="4000" type="VARCHAR"/>
        <unique name="KRAD_MSG_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRCR_CMPNT_SET_T">
        <column name="CMPNT_SET_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="LAST_UPDT_TS" required="true" type="DATE"/>
        <column name="CHKSM" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
    </table>
    <table name="KRCR_CMPNT_T">
        <column name="NMSPC_CD" primaryKey="true" size="20" type="VARCHAR"/>
        <column name="CMPNT_CD" primaryKey="true" size="100" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="255" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" required="true" size="1" type="CHAR"/>
        <foreign-key foreignTable="KRCR_NMSPC_T" name="KRNS_PARM_DTL_TYP_TR1">
            <reference foreign="NMSPC_CD" local="NMSPC_CD"/>
        </foreign-key>
        <unique name="KRNS_PARM_DTL_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRCR_DRVD_CMPNT_T">
        <column name="NMSPC_CD" primaryKey="true" size="20" type="VARCHAR"/>
        <column name="CMPNT_CD" primaryKey="true" size="100" type="VARCHAR"/>
        <column name="NM" size="255" type="VARCHAR"/>
        <column name="CMPNT_SET_ID" required="true" size="40" type="VARCHAR"/>
    </table>
    <table name="KRCR_NMSPC_T">
        <column name="NMSPC_CD" primaryKey="true" size="20" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" required="true" size="1" type="CHAR"/>
        <column name="APPL_ID" size="255" type="VARCHAR"/>
        <unique name="KRNS_NMSPC_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRCR_PARM_T">
        <column name="NMSPC_CD" primaryKey="true" size="20" type="VARCHAR"/>
        <column name="CMPNT_CD" primaryKey="true" size="100" type="VARCHAR"/>
        <column name="PARM_NM" primaryKey="true" size="255" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="PARM_TYP_CD" required="true" size="5" type="VARCHAR"/>
        <column name="VAL" size="4000" type="VARCHAR"/>
        <column name="PARM_DESC_TXT" size="4000" type="VARCHAR"/>
        <column name="EVAL_OPRTR_CD" size="1" type="VARCHAR"/>
        <column default="KUALI" name="APPL_ID" primaryKey="true"
            size="255" type="VARCHAR"/>
        <foreign-key foreignTable="KRCR_PARM_TYP_T" name="KRNS_PARM_TR2">
            <reference foreign="PARM_TYP_CD" local="PARM_TYP_CD"/>
        </foreign-key>
        <foreign-key foreignTable="KRCR_NMSPC_T" name="KRNS_PARM_TR1">
            <reference foreign="NMSPC_CD" local="NMSPC_CD"/>
        </foreign-key>
        <unique name="KRNS_PARM_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRCR_PARM_TYP_T">
        <column name="PARM_TYP_CD" primaryKey="true" size="5" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" required="true" size="1" type="CHAR"/>
        <unique name="KRNS_PARM_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRCR_STYLE_T">
        <column name="STYLE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="200" type="VARCHAR"/>
        <column name="XML" required="true" type="CLOB"/>
        <column name="ACTV_IND" required="true" size="1" type="DECIMAL"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <unique name="KRCR_STYLE_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KREN_CHNL_PRODCR_T">
        <column name="CHNL_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="PRODCR_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KREN_PRODCR_T" name="KREN_CHNL_PRODCR_FK2">
            <reference foreign="PRODCR_ID" local="PRODCR_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KREN_CHNL_T" name="KREN_CHNL_PRODCR_FK1">
            <reference foreign="CHNL_ID" local="CHNL_ID"/>
        </foreign-key>
        <index name="KREN_CHNL_PRODCR_TI1">
            <index-column name="CHNL_ID"/>
        </index>
        <index name="KREN_CHNL_PRODCR_TI2">
            <index-column name="PRODCR_ID"/>
        </index>
    </table>
    <table name="KREN_CHNL_SUBSCRP_T">
        <column name="CHNL_SUBSCRP_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="CHNL_ID" required="true" size="8" type="DECIMAL"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <column name="VER_NBR" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KREN_CHNL_T" name="KREN_CHAN_SUBSCRP_FK1">
            <reference foreign="CHNL_ID" local="CHNL_ID"/>
        </foreign-key>
        <unique name="KREN_CHNL_SUBSCRP_TC0">
            <unique-column name="CHNL_ID"/>
            <unique-column name="PRNCPL_ID"/>
        </unique>
        <index name="KREN_CHNL_SUBSCRP_TI1">
            <index-column name="CHNL_ID"/>
        </index>
    </table>
    <table name="KREN_CHNL_T">
        <column name="CHNL_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="NM" required="true" size="200" type="VARCHAR"/>
        <column name="DESC_TXT" required="true" size="4000" type="VARCHAR"/>
        <column name="SUBSCRB_IND" required="true" size="1" type="CHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <unique name="KREN_CHNL_TC0">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KREN_CNTNT_TYP_T">
        <column name="CNTNT_TYP_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="NM" required="true" size="200" type="VARCHAR"/>
        <column default="T" name="CUR_IND" required="true" size="1" type="CHAR"/>
        <column default="0" name="CNTNT_TYP_VER_NBR" required="true"
            size="8" type="DECIMAL"/>
        <column name="DESC_TXT" required="true" size="1000" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="1000" type="VARCHAR"/>
        <column name="XSD" required="true" type="CLOB"/>
        <column name="XSL" required="true" type="CLOB"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <unique name="KREN_CNTNT_TYP_TC0">
            <unique-column name="NM"/>
            <unique-column name="CNTNT_TYP_VER_NBR"/>
        </unique>
    </table>
    <table name="KREN_MSG_DELIV_T">
        <column name="MSG_DELIV_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="MSG_ID" required="true" size="8" type="DECIMAL"/>
        <column name="TYP_NM" required="true" size="200" type="VARCHAR"/>
        <column name="SYS_ID" size="300" type="VARCHAR"/>
        <column name="STAT_CD" required="true" size="15" type="VARCHAR"/>
        <column default="0" name="PROC_CNT" required="true" size="4" type="DECIMAL"/>
        <column name="LOCKD_DTTM" type="DATE"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KREN_MSG_T" name="KREN_MSG_DELIV_FK1">
            <reference foreign="MSG_ID" local="MSG_ID"/>
        </foreign-key>
        <unique name="KREN_MSG_DELIV_TC0">
            <unique-column name="MSG_ID"/>
            <unique-column name="TYP_NM"/>
        </unique>
        <index name="KREN_MSG_DELIV_TI1">
            <index-column name="MSG_ID"/>
        </index>
    </table>
    <table name="KREN_MSG_T">
        <column name="MSG_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="ORGN_ID" size="128" type="VARCHAR"/>
        <column name="DELIV_TYP" required="true" size="500" type="VARCHAR"/>
        <column name="CRTE_DTTM" required="true" type="DATE"/>
        <column name="TTL" size="255" type="VARCHAR"/>
        <column name="CHNL" required="true" size="300" type="VARCHAR"/>
        <column name="PRODCR" size="300" type="VARCHAR"/>
        <column name="CNTNT" required="true" type="CLOB"/>
        <column name="CNTNT_TYP" size="128" type="VARCHAR"/>
        <column name="URL" size="512" type="VARCHAR"/>
        <column name="RECIP_ID" required="true" size="300" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <unique name="KREN_MSG_TC0">
            <unique-column name="ORGN_ID"/>
        </unique>
    </table>
    <table name="KREN_NTFCTN_MSG_DELIV_T">
        <column name="NTFCTN_MSG_DELIV_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="NTFCTN_ID" required="true" size="8" type="DECIMAL"/>
        <column name="RECIP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="STAT_CD" required="true" size="15" type="VARCHAR"/>
        <column name="SYS_ID" size="300" type="VARCHAR"/>
        <column name="LOCKD_DTTM" type="DATE"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <foreign-key foreignTable="KREN_NTFCTN_T" name="KREN_NTFCTN_MSG_DELIV_FK1">
            <reference foreign="NTFCTN_ID" local="NTFCTN_ID"/>
        </foreign-key>
        <unique name="KREN_NTFCTN_MSG_DELIV_TC0">
            <unique-column name="NTFCTN_ID"/>
            <unique-column name="RECIP_ID"/>
        </unique>
        <index name="KREN_MSG_DELIVSI1">
            <index-column name="NTFCTN_ID"/>
        </index>
    </table>
    <table name="KREN_NTFCTN_T">
        <column name="NTFCTN_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="DELIV_TYP" required="true" size="3" type="VARCHAR"/>
        <column name="CRTE_DTTM" required="true" type="DATE"/>
        <column name="SND_DTTM" type="DATE"/>
        <column name="AUTO_RMV_DTTM" type="DATE"/>
        <column name="PRIO_ID" required="true" size="8" type="DECIMAL"/>
        <column name="TTL" size="255" type="VARCHAR"/>
        <column name="CNTNT" required="true" type="CLOB"/>
        <column name="CNTNT_TYP_ID" required="true" size="8" type="DECIMAL"/>
        <column name="CHNL_ID" required="true" size="8" type="DECIMAL"/>
        <column name="PRODCR_ID" required="true" size="8" type="DECIMAL"/>
        <column name="PROCESSING_FLAG" required="true" size="15" type="VARCHAR"/>
        <column name="LOCKD_DTTM" type="DATE"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <foreign-key foreignTable="KREN_PRODCR_T" name="KREN_NTFCTN_FK4">
            <reference foreign="PRODCR_ID" local="PRODCR_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KREN_PRIO_T" name="KREN_NTFCTN_FK3">
            <reference foreign="PRIO_ID" local="PRIO_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KREN_CNTNT_TYP_T" name="KREN_NTFCTN_FK2">
            <reference foreign="CNTNT_TYP_ID" local="CNTNT_TYP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KREN_CHNL_T" name="KREN_NTFCTN_FK1">
            <reference foreign="CHNL_ID" local="CHNL_ID"/>
        </foreign-key>
        <index name="KREN_NTFCTN_I1">
            <index-column name="CNTNT_TYP_ID"/>
        </index>
        <index name="KREN_NTFCTN_I2">
            <index-column name="PRIO_ID"/>
        </index>
        <index name="KREN_NTFCTN_I3">
            <index-column name="PRODCR_ID"/>
        </index>
    </table>
    <table name="KREN_PRIO_T">
        <column name="PRIO_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="NM" required="true" size="40" type="VARCHAR"/>
        <column name="DESC_TXT" required="true" size="500" type="VARCHAR"/>
        <column name="PRIO_ORD" required="true" size="4" type="DECIMAL"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <unique name="KREN_PRIO_TC0">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KREN_PRODCR_T">
        <column name="PRODCR_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="NM" required="true" size="200" type="VARCHAR"/>
        <column name="DESC_TXT" required="true" size="1000" type="VARCHAR"/>
        <column name="CNTCT_INFO" required="true" size="1000" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <unique name="KREN_PRODCR_TC0">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KREN_RECIP_DELIV_T">
        <column name="RECIP_DELIV_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="RECIP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="CHNL" required="true" size="300" type="VARCHAR"/>
        <column name="NM" required="true" size="200" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
    </table>
    <table name="KREN_RECIP_LIST_T">
        <column name="RECIP_LIST_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="CHNL_ID" required="true" size="8" type="DECIMAL"/>
        <column name="RECIP_TYP_CD" required="true" size="10" type="VARCHAR"/>
        <column name="RECIP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <column name="VER_NBR" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KREN_CHNL_T" name="KREN_RECIP_LIST_FK1">
            <reference foreign="CHNL_ID" local="CHNL_ID"/>
        </foreign-key>
        <unique name="KREN_RECIP_LIST_TC0">
            <unique-column name="CHNL_ID"/>
            <unique-column name="RECIP_TYP_CD"/>
            <unique-column name="RECIP_ID"/>
        </unique>
        <index name="KREN_RECIP_LIST_TI1">
            <index-column name="CHNL_ID"/>
        </index>
    </table>
    <table name="KREN_RECIP_PREFS_T">
        <column name="RECIP_PREFS_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="RECIP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PROP" required="true" size="200" type="VARCHAR"/>
        <column name="VAL" required="true" size="1000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <unique name="KREN_RECIP_PREFS_TC0">
            <unique-column name="RECIP_ID"/>
            <unique-column name="PROP"/>
        </unique>
    </table>
    <table name="KREN_RECIP_T">
        <column name="RECIP_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="NTFCTN_ID" required="true" size="8" type="DECIMAL"/>
        <column name="RECIP_TYP_CD" required="true" size="10" type="VARCHAR"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <column name="VER_NBR" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KREN_NTFCTN_T" name="KREN_RECIP_FK1">
            <reference foreign="NTFCTN_ID" local="NTFCTN_ID"/>
        </foreign-key>
        <unique name="KREN_RECIP_TC0">
            <unique-column name="NTFCTN_ID"/>
            <unique-column name="RECIP_TYP_CD"/>
            <unique-column name="PRNCPL_ID"/>
        </unique>
        <index name="KREN_RECIP_TI1">
            <index-column name="NTFCTN_ID"/>
        </index>
    </table>
    <table name="KREN_RVWER_T">
        <column name="RVWER_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="CHNL_ID" required="true" size="8" type="DECIMAL"/>
        <column name="TYP" required="true" size="10" type="VARCHAR"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <foreign-key foreignTable="KREN_CHNL_T" name="NOTIFICATION_REVIEWERS_N_FK1">
            <reference foreign="CHNL_ID" local="CHNL_ID"/>
        </foreign-key>
        <unique name="KREN_RVWER_TC0">
            <unique-column name="CHNL_ID"/>
            <unique-column name="TYP"/>
            <unique-column name="PRNCPL_ID"/>
        </unique>
        <index name="KREN_RVWER_TI1">
            <index-column name="CHNL_ID"/>
        </index>
    </table>
    <table name="KREN_SNDR_T">
        <column name="SNDR_ID" primaryKey="true" size="8" type="DECIMAL"/>
        <column name="NTFCTN_ID" required="true" size="8" type="DECIMAL"/>
        <column name="NM" required="true" size="200" type="VARCHAR"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <column name="VER_NBR" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KREN_NTFCTN_T" name="KREN_SNDR_FK1">
            <reference foreign="NTFCTN_ID" local="NTFCTN_ID"/>
        </foreign-key>
        <unique name="KREN_SNDR_TC0">
            <unique-column name="NTFCTN_ID"/>
            <unique-column name="NM"/>
        </unique>
        <index name="KREN_SNDR_TI1">
            <index-column name="NTFCTN_ID"/>
        </index>
    </table>
    <table name="KREW_ACTN_ITM_T">
        <column name="ACTN_ITM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ASND_DT" required="true" type="DATE"/>
        <column name="RQST_CD" required="true" size="1" type="CHAR"/>
        <column name="ACTN_RQST_ID" required="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ROLE_NM" size="2000" type="VARCHAR"/>
        <column name="DLGN_PRNCPL_ID" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_TTL" size="255" type="VARCHAR"/>
        <column name="DOC_TYP_LBL" required="true" size="128" type="VARCHAR"/>
        <column name="DOC_HDLR_URL" required="true" size="255" type="VARCHAR"/>
        <column name="DOC_TYP_NM" required="true" size="64" type="VARCHAR"/>
        <column name="RSP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="DLGN_TYP" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="DTYPE" size="50" type="VARCHAR"/>
        <column name="GRP_ID" size="40" type="VARCHAR"/>
        <column name="DLGN_GRP_ID" size="40" type="VARCHAR"/>
        <column name="RQST_LBL" size="255" type="VARCHAR"/>
        <index name="KREW_ACTN_ITM_T1">
            <index-column name="PRNCPL_ID"/>
        </index>
        <index name="KREW_ACTN_ITM_TI2">
            <index-column name="DOC_HDR_ID"/>
        </index>
        <index name="KREW_ACTN_ITM_TI3">
            <index-column name="ACTN_RQST_ID"/>
        </index>
        <index name="KREW_ACTN_ITM_TI5">
            <index-column name="PRNCPL_ID"/>
            <index-column name="DLGN_TYP"/>
            <index-column name="DOC_HDR_ID"/>
        </index>
        <index name="KREW_ACTN_ITM_TI6">
            <index-column name="DLGN_TYP"/>
            <index-column name="DLGN_PRNCPL_ID"/>
            <index-column name="DLGN_GRP_ID"/>
        </index>
    </table>
    <table name="KREW_ACTN_RQST_T">
        <column name="ACTN_RQST_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PARNT_ID" size="40" type="VARCHAR"/>
        <column name="ACTN_RQST_CD" required="true" size="1" type="CHAR"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="RULE_ID" size="40" type="VARCHAR"/>
        <column name="STAT_CD" required="true" size="1" type="CHAR"/>
        <column name="RSP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PRNCPL_ID" size="40" type="VARCHAR"/>
        <column name="ROLE_NM" size="2000" type="VARCHAR"/>
        <column name="QUAL_ROLE_NM" size="2000" type="VARCHAR"/>
        <column name="QUAL_ROLE_NM_LBL_TXT" size="2000" type="VARCHAR"/>
        <column name="RECIP_TYP_CD" size="1" type="CHAR"/>
        <column name="PRIO_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="RTE_TYP_NM" size="255" type="VARCHAR"/>
        <column name="RTE_LVL_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="RTE_NODE_INSTN_ID" size="40" type="VARCHAR"/>
        <column name="ACTN_TKN_ID" size="40" type="VARCHAR"/>
        <column name="DOC_VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="CRTE_DT" required="true" type="DATE"/>
        <column name="RSP_DESC_TXT" size="200" type="VARCHAR"/>
        <column default="0" name="FRC_ACTN" size="1" type="DECIMAL"/>
        <column name="ACTN_RQST_ANNOTN_TXT" size="2000" type="VARCHAR"/>
        <column name="DLGN_TYP" size="1" type="CHAR"/>
        <column name="APPR_PLCY" size="1" type="CHAR"/>
        <column default="1" name="CUR_IND" size="1" type="DECIMAL"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="GRP_ID" size="40" type="VARCHAR"/>
        <column name="RQST_LBL" size="255" type="VARCHAR"/>
        <index name="KREW_ACTN_RQST_T11">
            <index-column name="DOC_HDR_ID"/>
        </index>
        <index name="KREW_ACTN_RQST_T12">
            <index-column name="PRNCPL_ID"/>
        </index>
        <index name="KREW_ACTN_RQST_T13">
            <index-column name="ACTN_TKN_ID"/>
        </index>
        <index name="KREW_ACTN_RQST_T14">
            <index-column name="PARNT_ID"/>
        </index>
        <index name="KREW_ACTN_RQST_T15">
            <index-column name="RSP_ID"/>
        </index>
        <index name="KREW_ACTN_RQST_T16">
            <index-column name="STAT_CD"/>
            <index-column name="RSP_ID"/>
        </index>
        <index name="KREW_ACTN_RQST_T17">
            <index-column name="RTE_NODE_INSTN_ID"/>
        </index>
        <index name="KREW_ACTN_RQST_T19">
            <index-column name="STAT_CD"/>
            <index-column name="DOC_HDR_ID"/>
        </index>
    </table>
    <table name="KREW_ACTN_TKN_T">
        <column name="ACTN_TKN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="DLGTR_PRNCPL_ID" size="40" type="VARCHAR"/>
        <column name="ACTN_CD" required="true" size="1" type="CHAR"/>
        <column name="ACTN_DT" required="true" type="DATE"/>
        <column name="DOC_VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ANNOTN" size="2000" type="VARCHAR"/>
        <column default="1" name="CUR_IND" size="1" type="DECIMAL"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="DLGTR_GRP_ID" size="40" type="VARCHAR"/>
        <index name="KREW_ACTN_TKN_TI1">
            <index-column name="DOC_HDR_ID"/>
            <index-column name="PRNCPL_ID"/>
        </index>
        <index name="KREW_ACTN_TKN_TI2">
            <index-column name="DOC_HDR_ID"/>
            <index-column name="PRNCPL_ID"/>
            <index-column name="ACTN_CD"/>
        </index>
        <index name="KREW_ACTN_TKN_TI3">
            <index-column name="PRNCPL_ID"/>
        </index>
        <index name="KREW_ACTN_TKN_TI4">
            <index-column name="DLGTR_PRNCPL_ID"/>
        </index>
        <index name="KREW_ACTN_TKN_TI5">
            <index-column name="DOC_HDR_ID"/>
        </index>
    </table>
    <table name="KREW_APP_DOC_STAT_TRAN_T">
        <column name="APP_DOC_STAT_TRAN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" size="40" type="VARCHAR"/>
        <column name="APP_DOC_STAT_FROM" size="64" type="VARCHAR"/>
        <column name="APP_DOC_STAT_TO" size="64" type="VARCHAR"/>
        <column name="STAT_TRANS_DATE" type="DATE"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <unique name="KREW_APP_DOC_STAT_TRAN_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KREW_APP_DOC_STAT_TI1">
            <index-column name="DOC_HDR_ID"/>
            <index-column name="STAT_TRANS_DATE"/>
        </index>
        <index name="KREW_APP_DOC_STAT_TI2">
            <index-column name="DOC_HDR_ID"/>
            <index-column name="APP_DOC_STAT_FROM"/>
        </index>
        <index name="KREW_APP_DOC_STAT_TI3">
            <index-column name="DOC_HDR_ID"/>
            <index-column name="APP_DOC_STAT_TO"/>
        </index>
    </table>
    <table name="KREW_ATTR_DEFN_T">
        <column name="ATTR_DEFN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="LBL" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column name="CMPNT_NM" size="100" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="DESC_TXT" size="40" type="VARCHAR"/>
        <unique name="KREW_ATTR_DEFN_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KREW_ATT_T">
        <column name="ATTACHMENT_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NTE_ID" size="40" type="VARCHAR"/>
        <column name="FILE_NM" required="true" size="255" type="VARCHAR"/>
        <column name="FILE_LOC" required="true" size="255" type="VARCHAR"/>
        <column name="MIME_TYP" required="true" size="255" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_ATT_TI1">
            <index-column name="NTE_ID"/>
        </index>
    </table>
    <table name="KREW_DLGN_RSP_T">
        <column name="DLGN_RULE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RSP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="DLGN_RULE_BASE_VAL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="DLGN_TYP" required="true" size="20" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <unique name="KREW_DLGN_RSP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KREW_DOC_HDR_CNTNT_T">
        <column name="DOC_HDR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_CNTNT_TXT" type="CLOB"/>
    </table>
    <table name="KREW_DOC_HDR_EXT_DT_T">
        <column name="DOC_HDR_EXT_DT_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KEY_CD" required="true" size="256" type="VARCHAR"/>
        <column name="VAL" type="DATE"/>
        <index name="KREW_DOC_HDR_EXT_DT_TI1">
            <index-column name="KEY_CD"/>
            <index-column name="VAL"/>
        </index>
        <index name="KREW_DOC_HDR_EXT_DT_TI2">
            <index-column name="DOC_HDR_ID"/>
        </index>
        <index name="KREW_DOC_HDR_EXT_DT_TI3">
            <index-column name="VAL"/>
        </index>
    </table>
    <table name="KREW_DOC_HDR_EXT_FLT_T">
        <column name="DOC_HDR_EXT_FLT_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KEY_CD" required="true" size="256" type="VARCHAR"/>
        <column name="VAL" scale="15" size="30" type="DECIMAL"/>
        <index name="KREW_DOC_HDR_EXT_FLT_TI1">
            <index-column name="KEY_CD"/>
            <index-column name="VAL"/>
        </index>
        <index name="KREW_DOC_HDR_EXT_FLT_TI2">
            <index-column name="DOC_HDR_ID"/>
        </index>
        <index name="KREW_DOC_HDR_EXT_FLT_TI3">
            <index-column name="VAL"/>
        </index>
    </table>
    <table name="KREW_DOC_HDR_EXT_LONG_T">
        <column name="DOC_HDR_EXT_LONG_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KEY_CD" required="true" size="256" type="VARCHAR"/>
        <column name="VAL" size="22" type="DECIMAL"/>
        <index name="KREW_DOC_HDR_EXT_LONG_TI1">
            <index-column name="KEY_CD"/>
            <index-column name="VAL"/>
        </index>
        <index name="KREW_DOC_HDR_EXT_LONG_TI2">
            <index-column name="DOC_HDR_ID"/>
        </index>
        <index name="KREW_DOC_HDR_EXT_LONG_TI3">
            <index-column name="VAL"/>
        </index>
    </table>
    <table name="KREW_DOC_HDR_EXT_T">
        <column name="DOC_HDR_EXT_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KEY_CD" required="true" size="256" type="VARCHAR"/>
        <column name="VAL" size="2000" type="VARCHAR"/>
        <index name="KREW_DOC_HDR_EXT_TI1">
            <index-column name="KEY_CD"/>
            <index-column name="VAL"/>
        </index>
        <index name="KREW_DOC_HDR_EXT_TI2">
            <index-column name="DOC_HDR_ID"/>
        </index>
        <index name="KREW_DOC_HDR_EXT_TI3">
            <index-column name="VAL"/>
        </index>
    </table>
    <table name="KREW_DOC_HDR_T">
        <column name="DOC_HDR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_TYP_ID" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_STAT_CD" required="true" size="1" type="CHAR"/>
        <column name="RTE_LVL" required="true" size="8" type="DECIMAL"/>
        <column name="STAT_MDFN_DT" required="true" type="DATE"/>
        <column name="CRTE_DT" required="true" type="DATE"/>
        <column name="APRV_DT" type="DATE"/>
        <column name="FNL_DT" type="DATE"/>
        <column name="RTE_STAT_MDFN_DT" type="DATE"/>
        <column name="TTL" size="255" type="VARCHAR"/>
        <column name="APP_DOC_ID" size="255" type="VARCHAR"/>
        <column name="DOC_VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="INITR_PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="RTE_PRNCPL_ID" size="40" type="VARCHAR"/>
        <column name="DTYPE" size="50" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column name="APP_DOC_STAT" size="64" type="VARCHAR"/>
        <column name="APP_DOC_STAT_MDFN_DT" type="DATE"/>
        <unique name="KREW_DOC_HDR_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KREW_DOC_HDR_T10">
            <index-column name="APP_DOC_STAT"/>
        </index>
        <index name="KREW_DOC_HDR_T12">
            <index-column name="APP_DOC_STAT_MDFN_DT"/>
        </index>
        <index name="KREW_DOC_HDR_TI1">
            <index-column name="DOC_TYP_ID"/>
        </index>
        <index name="KREW_DOC_HDR_TI2">
            <index-column name="INITR_PRNCPL_ID"/>
        </index>
        <index name="KREW_DOC_HDR_TI3">
            <index-column name="DOC_HDR_STAT_CD"/>
        </index>
        <index name="KREW_DOC_HDR_TI4">
            <index-column name="TTL"/>
        </index>
        <index name="KREW_DOC_HDR_TI5">
            <index-column name="CRTE_DT"/>
        </index>
        <index name="KREW_DOC_HDR_TI6">
            <index-column name="RTE_STAT_MDFN_DT"/>
        </index>
        <index name="KREW_DOC_HDR_TI7">
            <index-column name="APRV_DT"/>
        </index>
        <index name="KREW_DOC_HDR_TI8">
            <index-column name="FNL_DT"/>
        </index>
        <index name="KREW_DOC_HDR_TI9">
            <index-column name="APP_DOC_ID"/>
        </index>
    </table>
    <table name="KREW_DOC_LNK_T">
        <column name="DOC_LNK_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="ORGN_DOC_ID" required="true" size="40" type="VARCHAR"/>
        <column name="DEST_DOC_ID" required="true" size="40" type="VARCHAR"/>
        <index name="KREW_DOC_LNK_TI1">
            <index-column name="ORGN_DOC_ID"/>
        </index>
    </table>
    <table name="KREW_DOC_NTE_T">
        <column name="DOC_NTE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="AUTH_PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="CRT_DT" required="true" type="DATE"/>
        <column name="TXT" size="4000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_DOC_NTE_TI1">
            <index-column name="DOC_HDR_ID"/>
        </index>
    </table>
    <table name="KREW_DOC_TYP_APP_DOC_STAT_T">
        <column name="DOC_TYP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_STAT_NM" primaryKey="true" size="64" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column name="CAT_NM" size="64" type="VARCHAR"/>
        <column name="SEQ_NO" size="5" type="DECIMAL"/>
        <foreign-key foreignTable="KREW_DOC_TYP_APP_STAT_CAT_T" name="KREW_DOC_TYP_APP_DOC_STAT_FK1">
            <reference foreign="DOC_TYP_ID" local="DOC_TYP_ID"/>
            <reference foreign="CAT_NM" local="CAT_NM"/>
        </foreign-key>
        <unique name="KREW_DOC_TYP_APP_DOC_STAT_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KREW_DOC_TYP_APP_DOC_STAT_T1">
            <index-column name="DOC_TYP_ID"/>
        </index>
        <index name="KREW_DOC_TYP_APP_DOC_STAT_T2">
            <index-column name="DOC_TYP_ID"/>
            <index-column name="CAT_NM"/>
        </index>
    </table>
    <table name="KREW_DOC_TYP_APP_STAT_CAT_T">
        <column name="DOC_TYP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="CAT_NM" primaryKey="true" size="64" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <foreign-key foreignTable="KREW_DOC_TYP_T" name="KREW_DOC_TYP_APP_STAT_CAT_FK1">
            <reference foreign="DOC_TYP_ID" local="DOC_TYP_ID"/>
        </foreign-key>
        <unique name="KREW_DOC_TYP_APP_STAT_CAT_TC1">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KREW_DOC_TYP_ATTR_T">
        <column name="DOC_TYP_ATTRIB_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="RULE_ATTR_ID" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="ORD_INDX" size="4" type="DECIMAL"/>
        <index name="KREW_DOC_TYP_ATTR_TI1">
            <index-column name="DOC_TYP_ID"/>
        </index>
    </table>
    <table name="KREW_DOC_TYP_PLCY_RELN_T">
        <column name="DOC_TYP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_PLCY_NM" primaryKey="true" size="255" type="VARCHAR"/>
        <column name="PLCY_NM" required="true" size="1" type="DECIMAL"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column name="PLCY_VAL" size="1024" type="VARCHAR"/>
        <column name="PLCY_DESC" size="20" type="VARCHAR"/>
        <unique name="KREW_DOC_TYP_PLCY_RELN_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KREW_DOC_TYP_PROC_T">
        <column name="DOC_TYP_PROC_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="INIT_RTE_NODE_ID" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="255" type="VARCHAR"/>
        <column default="0" name="INIT_IND" required="true" size="1" type="DECIMAL"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_DOC_TYP_PROC_TI1">
            <index-column name="DOC_TYP_ID"/>
        </index>
        <index name="KREW_DOC_TYP_PROC_TI2">
            <index-column name="INIT_RTE_NODE_ID"/>
        </index>
        <index name="KREW_DOC_TYP_PROC_TI3">
            <index-column name="NM"/>
        </index>
    </table>
    <table name="KREW_DOC_TYP_T">
        <column name="DOC_TYP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PARNT_ID" size="40" type="VARCHAR"/>
        <column name="DOC_TYP_NM" size="64" type="VARCHAR"/>
        <column default="0" name="DOC_TYP_VER_NBR" size="10" type="DECIMAL"/>
        <column name="ACTV_IND" size="1" type="DECIMAL"/>
        <column name="CUR_IND" size="1" type="DECIMAL"/>
        <column name="LBL" required="true" size="128" type="VARCHAR"/>
        <column name="PREV_DOC_TYP_VER_NBR" size="40" type="VARCHAR"/>
        <column name="DOC_TYP_DESC" size="4000" type="VARCHAR"/>
        <column name="DOC_HDLR_URL" size="255" type="VARCHAR"/>
        <column name="POST_PRCSR" size="255" type="VARCHAR"/>
        <column name="JNDI_URL" size="255" type="VARCHAR"/>
        <column name="BLNKT_APPR_PLCY" size="10" type="VARCHAR"/>
        <column name="ADV_DOC_SRCH_URL" size="255" type="VARCHAR"/>
        <column default="1" name="RTE_VER_NBR" size="2" type="VARCHAR"/>
        <column name="NOTIFY_ADDR" size="255" type="VARCHAR"/>
        <column name="APPL_ID" size="255" type="VARCHAR"/>
        <column name="EMAIL_XSL" size="255" type="VARCHAR"/>
        <column name="SEC_XML" type="CLOB"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="BLNKT_APPR_GRP_ID" size="40" type="VARCHAR"/>
        <column name="RPT_GRP_ID" size="40" type="VARCHAR"/>
        <column name="GRP_ID" size="40" type="VARCHAR"/>
        <column name="HELP_DEF_URL" size="4000" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column name="DOC_SEARCH_HELP_URL" size="4000" type="VARCHAR"/>
        <column name="DOC_HDR_ID" size="40" type="VARCHAR"/>
        <column default="" name="AUTHORIZER" size="255" type="VARCHAR"/>
        <unique name="KREW_DOC_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KREW_DOC_TYP_TI1">
            <unique-column name="DOC_TYP_NM"/>
            <unique-column name="DOC_TYP_VER_NBR"/>
        </unique>
        <index name="KREW_DOC_TYP_TI2">
            <index-column name="PARNT_ID"/>
        </index>
        <index name="KREW_DOC_TYP_TI3">
            <index-column name="DOC_TYP_ID"/>
            <index-column name="PARNT_ID"/>
        </index>
        <index name="KREW_DOC_TYP_TI4">
            <index-column name="PREV_DOC_TYP_VER_NBR"/>
        </index>
        <index name="KREW_DOC_TYP_TI5">
            <index-column name="CUR_IND"/>
        </index>
        <index name="KREW_DOC_TYP_TI6">
            <index-column name="DOC_TYP_NM"/>
        </index>
    </table>
    <table name="KREW_EDL_ASSCTN_T">
        <column name="EDOCLT_ASSOC_ID" primaryKey="true" size="19" type="DECIMAL"/>
        <column name="DOC_TYP_NM" required="true" size="64" type="VARCHAR"/>
        <column name="EDL_DEF_NM" size="200" type="VARCHAR"/>
        <column name="STYLE_NM" size="200" type="VARCHAR"/>
        <column name="ACTV_IND" required="true" size="1" type="DECIMAL"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <unique name="KREW_EDL_ASSCTN_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KREW_EDL_DEF_T">
        <column name="EDOCLT_DEF_ID" primaryKey="true" size="19" type="DECIMAL"/>
        <column name="NM" required="true" size="200" type="VARCHAR"/>
        <column name="XML" required="true" type="CLOB"/>
        <column name="ACTV_IND" required="true" size="1" type="DECIMAL"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <unique name="KREW_EDL_DEF_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KREW_EDL_DMP_T">
        <column name="DOC_HDR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_TYP_NM" required="true" size="64" type="VARCHAR"/>
        <column name="DOC_HDR_STAT_CD" required="true" size="1" type="CHAR"/>
        <column name="DOC_HDR_MDFN_DT" required="true" type="DATE"/>
        <column name="DOC_HDR_CRTE_DT" required="true" type="DATE"/>
        <column name="DOC_HDR_TTL" size="255" type="VARCHAR"/>
        <column name="DOC_HDR_INITR_PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="CRNT_NODE_NM" required="true" size="30" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_EDL_DMP_TI1">
            <index-column name="DOC_TYP_NM"/>
            <index-column name="DOC_HDR_ID"/>
        </index>
    </table>
    <table name="KREW_EDL_FLD_DMP_T">
        <column name="EDL_FIELD_DMP_ID" primaryKey="true" size="14" type="DECIMAL"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="FLD_NM" required="true" size="255" type="VARCHAR"/>
        <column name="FLD_VAL" size="4000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
    </table>
    <table name="KREW_INIT_RTE_NODE_INSTN_T">
        <column name="DOC_HDR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RTE_NODE_INSTN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <index name="KREW_INIT_RTE_NODE_INSTN_TI1">
            <index-column name="DOC_HDR_ID"/>
        </index>
        <index name="KREW_INIT_RTE_NODE_INSTN_TI2">
            <index-column name="RTE_NODE_INSTN_ID"/>
        </index>
    </table>
    <table name="KREW_OUT_BOX_ITM_T">
        <column name="ACTN_ITM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ASND_DT" required="true" type="DATE"/>
        <column name="RQST_CD" required="true" size="1" type="CHAR"/>
        <column name="ACTN_RQST_ID" required="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ROLE_NM" size="2000" type="VARCHAR"/>
        <column name="DLGN_PRNCPL_ID" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_TTL" size="255" type="VARCHAR"/>
        <column name="DOC_TYP_LBL" required="true" size="128" type="VARCHAR"/>
        <column name="DOC_HDLR_URL" required="true" size="255" type="VARCHAR"/>
        <column name="DOC_TYP_NM" required="true" size="64" type="VARCHAR"/>
        <column name="RSP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="DLGN_TYP" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="GRP_ID" size="40" type="VARCHAR"/>
        <column name="DLGN_GRP_ID" size="40" type="VARCHAR"/>
        <column name="RQST_LBL" size="255" type="VARCHAR"/>
        <index name="KREW_OUT_BOX_ITM_TI1">
            <index-column name="PRNCPL_ID"/>
        </index>
        <index name="KREW_OUT_BOX_ITM_TI2">
            <index-column name="DOC_HDR_ID"/>
        </index>
        <index name="KREW_OUT_BOX_ITM_TI3">
            <index-column name="ACTN_RQST_ID"/>
        </index>
    </table>
    <table name="KREW_PPL_FLW_ATTR_T">
        <column name="PPL_FLW_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PPL_FLW_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_DEFN_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KREW_ATTR_DEFN_T" name="KREW_PPL_FLW_ATTR_FK2">
            <reference foreign="ATTR_DEFN_ID" local="ATTR_DEFN_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KREW_PPL_FLW_T" name="KREW_PPL_FLW_ATTR_FK1">
            <reference foreign="PPL_FLW_ID" local="PPL_FLW_ID"/>
        </foreign-key>
        <index name="KREW_PPL_FLW_ATTR_TI1">
            <index-column name="PPL_FLW_ID"/>
        </index>
        <index name="KREW_PPL_FLW_ATTR_TI2">
            <index-column name="ATTR_DEFN_ID"/>
        </index>
    </table>
    <table name="KREW_PPL_FLW_DLGT_T">
        <column name="PPL_FLW_DLGT_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PPL_FLW_MBR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="MBR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="MBR_TYP_CD" required="true" size="1" type="VARCHAR"/>
        <column name="DLGN_TYP_CD" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ACTN_RQST_PLCY_CD" size="1" type="VARCHAR"/>
        <column name="RSP_ID" required="true" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KREW_PPL_FLW_MBR_T" name="KREW_PPL_FLW_DLGT_FK1">
            <reference foreign="PPL_FLW_MBR_ID" local="PPL_FLW_MBR_ID"/>
        </foreign-key>
        <index name="KREW_PPL_FLW_DLGT_TI1">
            <index-column name="PPL_FLW_MBR_ID"/>
        </index>
    </table>
    <table name="KREW_PPL_FLW_MBR_T">
        <column name="PPL_FLW_MBR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PPL_FLW_ID" required="true" size="40" type="VARCHAR"/>
        <column name="MBR_TYP_CD" required="true" size="1" type="VARCHAR"/>
        <column name="MBR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PRIO" size="8" type="DECIMAL"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ACTN_RQST_PLCY_CD" size="1" type="VARCHAR"/>
        <column name="RSP_ID" required="true" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KREW_PPL_FLW_T" name="KREW_PPL_FLW_MBR_FK1">
            <reference foreign="PPL_FLW_ID" local="PPL_FLW_ID"/>
        </foreign-key>
        <index name="KREW_PPL_FLW_MBR_TI1">
            <index-column name="PPL_FLW_ID"/>
        </index>
        <index name="KREW_PPL_FLW_MBR_TI2">
            <index-column name="PPL_FLW_ID"/>
            <index-column name="PRIO"/>
        </index>
    </table>
    <table name="KREW_PPL_FLW_T">
        <column name="PPL_FLW_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="TYP_ID" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="DESC_TXT" size="4000" type="VARCHAR"/>
        <foreign-key foreignTable="KREW_TYP_T" name="KREW_PPL_FLW_FK1">
            <reference foreign="TYP_ID" local="TYP_ID"/>
        </foreign-key>
        <unique name="KREW_PPL_FLW_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
        <index name="KREW_PPL_FLW_FK1">
            <index-column name="TYP_ID"/>
        </index>
    </table>
    <table name="KREW_RTE_BRCH_PROTO_T">
        <column name="RTE_BRCH_PROTO_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="BRCH_NM" required="true" size="255" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_RTE_BRCH_PROTO_TI1">
            <index-column name="BRCH_NM"/>
        </index>
    </table>
    <table name="KREW_RTE_BRCH_ST_T">
        <column name="RTE_BRCH_ST_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RTE_BRCH_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KEY_CD" required="true" size="255" type="VARCHAR"/>
        <column name="VAL" size="2000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_RTE_BRCH_ST_TI1">
            <index-column name="RTE_BRCH_ID"/>
            <index-column name="KEY_CD"/>
        </index>
        <index name="KREW_RTE_BRCH_ST_TI2">
            <index-column name="RTE_BRCH_ID"/>
        </index>
        <index name="KREW_RTE_BRCH_ST_TI3">
            <index-column name="KEY_CD"/>
            <index-column name="VAL"/>
        </index>
    </table>
    <table name="KREW_RTE_BRCH_T">
        <column name="RTE_BRCH_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="255" type="VARCHAR"/>
        <column name="PARNT_ID" size="40" type="VARCHAR"/>
        <column name="INIT_RTE_NODE_INSTN_ID" size="40" type="VARCHAR"/>
        <column name="SPLT_RTE_NODE_INSTN_ID" size="40" type="VARCHAR"/>
        <column name="JOIN_RTE_NODE_INSTN_ID" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_RTE_BRCH_TI1">
            <index-column name="NM"/>
        </index>
        <index name="KREW_RTE_BRCH_TI2">
            <index-column name="PARNT_ID"/>
        </index>
        <index name="KREW_RTE_BRCH_TI3">
            <index-column name="INIT_RTE_NODE_INSTN_ID"/>
        </index>
        <index name="KREW_RTE_BRCH_TI4">
            <index-column name="SPLT_RTE_NODE_INSTN_ID"/>
        </index>
        <index name="KREW_RTE_BRCH_TI5">
            <index-column name="JOIN_RTE_NODE_INSTN_ID"/>
        </index>
    </table>
    <table name="KREW_RTE_NODE_CFG_PARM_T">
        <column name="RTE_NODE_CFG_PARM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RTE_NODE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KEY_CD" required="true" size="255" type="VARCHAR"/>
        <column name="VAL" size="4000" type="VARCHAR"/>
        <index name="KREW_RTE_NODE_CFG_PARM_TI1">
            <index-column name="RTE_NODE_ID"/>
        </index>
    </table>
    <table name="KREW_RTE_NODE_INSTN_LNK_T">
        <column name="FROM_RTE_NODE_INSTN_ID" primaryKey="true"
            size="40" type="VARCHAR"/>
        <column name="TO_RTE_NODE_INSTN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <index name="KREW_RTE_NODE_INSTN_LNK_TI1">
            <index-column name="FROM_RTE_NODE_INSTN_ID"/>
        </index>
        <index name="KREW_RTE_NODE_INSTN_LNK_TI2">
            <index-column name="TO_RTE_NODE_INSTN_ID"/>
        </index>
    </table>
    <table name="KREW_RTE_NODE_INSTN_ST_T">
        <column name="RTE_NODE_INSTN_ST_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RTE_NODE_INSTN_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KEY_CD" required="true" size="255" type="VARCHAR"/>
        <column name="VAL" size="2000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_RTE_NODE_INSTN_ST_TI1">
            <index-column name="RTE_NODE_INSTN_ID"/>
            <index-column name="KEY_CD"/>
        </index>
        <index name="KREW_RTE_NODE_INSTN_ST_TI2">
            <index-column name="RTE_NODE_INSTN_ID"/>
        </index>
        <index name="KREW_RTE_NODE_INSTN_ST_TI3">
            <index-column name="KEY_CD"/>
            <index-column name="VAL"/>
        </index>
    </table>
    <table name="KREW_RTE_NODE_INSTN_T">
        <column name="RTE_NODE_INSTN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="RTE_NODE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="BRCH_ID" size="40" type="VARCHAR"/>
        <column name="PROC_RTE_NODE_INSTN_ID" size="40" type="VARCHAR"/>
        <column default="0" name="ACTV_IND" required="true" size="1" type="DECIMAL"/>
        <column default="0" name="CMPLT_IND" required="true" size="1" type="DECIMAL"/>
        <column default="0" name="INIT_IND" required="true" size="1" type="DECIMAL"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_RTE_NODE_INSTN_TI1">
            <index-column name="DOC_HDR_ID"/>
            <index-column name="ACTV_IND"/>
            <index-column name="CMPLT_IND"/>
        </index>
        <index name="KREW_RTE_NODE_INSTN_TI2">
            <index-column name="RTE_NODE_ID"/>
        </index>
        <index name="KREW_RTE_NODE_INSTN_TI3">
            <index-column name="BRCH_ID"/>
        </index>
        <index name="KREW_RTE_NODE_INSTN_TI4">
            <index-column name="PROC_RTE_NODE_INSTN_ID"/>
        </index>
    </table>
    <table name="KREW_RTE_NODE_LNK_T">
        <column name="FROM_RTE_NODE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="TO_RTE_NODE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <index name="KREW_RTE_NODE_LNK_TI1">
            <index-column name="FROM_RTE_NODE_ID"/>
        </index>
        <index name="KREW_RTE_NODE_LNK_TI2">
            <index-column name="TO_RTE_NODE_ID"/>
        </index>
    </table>
    <table name="KREW_RTE_NODE_T">
        <column name="RTE_NODE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_TYP_ID" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="255" type="VARCHAR"/>
        <column name="TYP" required="true" size="255" type="VARCHAR"/>
        <column name="RTE_MTHD_NM" size="255" type="VARCHAR"/>
        <column name="RTE_MTHD_CD" size="2" type="VARCHAR"/>
        <column name="FNL_APRVR_IND" size="1" type="DECIMAL"/>
        <column name="MNDTRY_RTE_IND" size="1" type="DECIMAL"/>
        <column name="ACTVN_TYP" size="1" type="VARCHAR"/>
        <column name="BRCH_PROTO_ID" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="CONTENT_FRAGMENT" size="4000" type="VARCHAR"/>
        <column name="GRP_ID" size="40" type="VARCHAR"/>
        <column name="NEXT_DOC_STAT" size="64" type="VARCHAR"/>
        <index name="KREW_RTE_NODE_TI1">
            <index-column name="NM"/>
            <index-column name="DOC_TYP_ID"/>
        </index>
        <index name="KREW_RTE_NODE_TI2">
            <index-column name="DOC_TYP_ID"/>
            <index-column name="FNL_APRVR_IND"/>
        </index>
        <index name="KREW_RTE_NODE_TI3">
            <index-column name="BRCH_PROTO_ID"/>
        </index>
        <index name="KREW_RTE_NODE_TI4">
            <index-column name="DOC_TYP_ID"/>
        </index>
    </table>
    <table name="KREW_RULE_ATTR_T">
        <column name="RULE_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="255" type="VARCHAR"/>
        <column name="LBL" required="true" size="2000" type="VARCHAR"/>
        <column name="RULE_ATTR_TYP_CD" required="true" size="2000" type="VARCHAR"/>
        <column name="DESC_TXT" size="2000" type="VARCHAR"/>
        <column name="CLS_NM" size="2000" type="VARCHAR"/>
        <column name="XML" type="CLOB"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="APPL_ID" size="255" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <unique name="KREW_RULE_ATTR_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KREW_RULE_ATTR_TC1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KREW_RULE_EXPR_T">
        <column name="RULE_EXPR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="TYP" required="true" size="256" type="VARCHAR"/>
        <column name="RULE_EXPR" size="4000" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <unique name="KREW_RULE_EXPR_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KREW_RULE_EXT_T">
        <column name="RULE_EXT_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RULE_TMPL_ATTR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="RULE_ID" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_RULE_EXT_T1">
            <index-column name="RULE_ID"/>
        </index>
    </table>
    <table name="KREW_RULE_EXT_VAL_T">
        <column name="RULE_EXT_VAL_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RULE_EXT_ID" required="true" size="40" type="VARCHAR"/>
        <column name="VAL" required="true" size="2000" type="VARCHAR"/>
        <column name="KEY_CD" required="true" size="2000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_RULE_EXT_VAL_T1">
            <index-column name="RULE_EXT_ID"/>
        </index>
        <index name="KREW_RULE_EXT_VAL_T2">
            <index-column name="RULE_EXT_VAL_ID"/>
            <index-column name="KEY_CD"/>
        </index>
    </table>
    <table name="KREW_RULE_RSP_T">
        <column name="RULE_RSP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RSP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="RULE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PRIO" size="5" type="DECIMAL"/>
        <column name="ACTN_RQST_CD" size="2000" type="VARCHAR"/>
        <column name="NM" size="200" type="VARCHAR"/>
        <column name="TYP" size="1" type="VARCHAR"/>
        <column name="APPR_PLCY" size="1" type="CHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <unique name="KREW_RULE_RSP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KREW_RULE_RSP_TI1">
            <index-column name="RULE_ID"/>
        </index>
    </table>
    <table name="KREW_RULE_T">
        <column name="RULE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" size="256" type="VARCHAR"/>
        <column name="RULE_TMPL_ID" size="40" type="VARCHAR"/>
        <column name="RULE_EXPR_ID" size="40" type="VARCHAR"/>
        <column name="ACTV_IND" required="true" size="1" type="DECIMAL"/>
        <column name="RULE_BASE_VAL_DESC" size="2000" type="VARCHAR"/>
        <column name="FRC_ACTN" required="true" size="1" type="DECIMAL"/>
        <column name="DOC_TYP_NM" required="true" size="64" type="VARCHAR"/>
        <column name="DOC_HDR_ID" size="40" type="VARCHAR"/>
        <column name="TMPL_RULE_IND" size="1" type="DECIMAL"/>
        <column name="FRM_DT" type="DATE"/>
        <column name="TO_DT" type="DATE"/>
        <column name="DACTVN_DT" type="DATE"/>
        <column default="0" name="CUR_IND" size="1" type="DECIMAL"/>
        <column default="0" name="RULE_VER_NBR" size="8" type="DECIMAL"/>
        <column name="DLGN_IND" size="1" type="DECIMAL"/>
        <column name="PREV_VER_RULE_ID" size="40" type="VARCHAR"/>
        <column name="ACTVN_DT" type="DATE"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <foreign-key foreignTable="KREW_RULE_EXPR_T" name="KREW_RULE_TR1">
            <reference foreign="RULE_EXPR_ID" local="RULE_EXPR_ID"/>
        </foreign-key>
        <unique name="KREW_RULE_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KREW_RULE_TMPL_ATTR_T">
        <column name="RULE_TMPL_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RULE_TMPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="RULE_ATTR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="REQ_IND" required="true" size="1" type="DECIMAL"/>
        <column name="ACTV_IND" required="true" size="1" type="DECIMAL"/>
        <column name="DSPL_ORD" required="true" size="5" type="DECIMAL"/>
        <column name="DFLT_VAL" size="2000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <unique name="KREW_RULE_TMPL_ATTR_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KREW_RULE_TMPL_ATTR_TI1">
            <index-column name="RULE_TMPL_ID"/>
        </index>
        <index name="KREW_RULE_TMPL_ATTR_TI2">
            <index-column name="RULE_ATTR_ID"/>
        </index>
    </table>
    <table name="KREW_RULE_TMPL_OPTN_T">
        <column name="RULE_TMPL_OPTN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RULE_TMPL_ID" size="40" type="VARCHAR"/>
        <column name="KEY_CD" size="250" type="VARCHAR"/>
        <column name="VAL" size="2000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
    </table>
    <table name="KREW_RULE_TMPL_T">
        <column name="RULE_TMPL_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="250" type="VARCHAR"/>
        <column name="RULE_TMPL_DESC" size="2000" type="VARCHAR"/>
        <column name="DLGN_RULE_TMPL_ID" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <unique name="KREW_RULE_TMPL_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KREW_RULE_TMPL_TI1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KREW_TYP_ATTR_T">
        <column name="TYP_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="SEQ_NO" required="true" size="5" type="DECIMAL"/>
        <column name="TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_DEFN_ID" required="true" size="255" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KREW_ATTR_DEFN_T" name="KREW_TYP_ATTR_FK1">
            <reference foreign="ATTR_DEFN_ID" local="ATTR_DEFN_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KREW_TYP_T" name="KREW_TYP_ATTR_FK2">
            <reference foreign="TYP_ID" local="TYP_ID"/>
        </foreign-key>
        <unique name="KREW_TYP_ATTR_TC1">
            <unique-column name="TYP_ID"/>
            <unique-column name="ATTR_DEFN_ID"/>
        </unique>
        <index name="KREW_TYP_ATTR_TI1">
            <index-column name="ATTR_DEFN_ID"/>
        </index>
        <index name="KREW_TYP_ATTR_TI2">
            <index-column name="TYP_ID"/>
        </index>
    </table>
    <table name="KREW_TYP_T">
        <column name="TYP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="SRVC_NM" size="200" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <unique name="KREW_TYP_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KREW_USR_OPTN_T">
        <column name="PRNCPL_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PRSN_OPTN_ID" primaryKey="true" size="200" type="VARCHAR"/>
        <column name="VAL" size="2000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KREW_USR_OPTN_TI1">
            <index-column name="PRNCPL_ID"/>
        </index>
    </table>
    <table name="KRIM_ADDR_TYP_T">
        <column name="ADDR_TYP_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_ADDR_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_ADDR_TYP_TC1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KRIM_AFLTN_TYP_T">
        <column name="AFLTN_TYP_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column default="N" name="EMP_AFLTN_TYP_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_AFLTN_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_AFLTN_TYP_TC1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KRIM_ATTR_DEFN_T">
        <column name="KIM_ATTR_DEFN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="100" type="VARCHAR"/>
        <column name="LBL" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="NMSPC_CD" size="40" type="VARCHAR"/>
        <column name="CMPNT_NM" size="100" type="VARCHAR"/>
        <unique name="KRIM_ATTR_DEFN_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_CTZNSHP_STAT_T">
        <column name="CTZNSHP_STAT_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_CTZNSHP_STAT_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_CTZNSHP_STAT_TC1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KRIM_DLGN_MBR_ATTR_DATA_T">
        <column name="ATTR_DATA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="DLGN_MBR_ID" size="40" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KIM_ATTR_DEFN_ID" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_ATTR_DEFN_T" name="KRIM_DLGN_MBR_ATTR_DATA_TR2">
            <reference foreign="KIM_ATTR_DEFN_ID" local="KIM_ATTR_DEFN_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_TYP_T" name="KRIM_DLGN_MBR_ATTR_DATA_TR1">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <unique name="KRIM_DLGN_MBR_ATTR_DATA_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_DLGN_MBR_T">
        <column name="DLGN_MBR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column name="DLGN_ID" size="40" type="VARCHAR"/>
        <column name="MBR_ID" size="40" type="VARCHAR"/>
        <column default="P" name="MBR_TYP_CD" size="1" type="CHAR"/>
        <column name="ACTV_FRM_DT" type="DATE"/>
        <column name="ACTV_TO_DT" type="DATE"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <column name="ROLE_MBR_ID" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_DLGN_T" name="KRIM_DLGN_MBR_TR2">
            <reference foreign="DLGN_ID" local="DLGN_ID"/>
        </foreign-key>
        <unique name="KRIM_DLGN_MBR_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_DLGN_T">
        <column name="DLGN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column name="ROLE_ID" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="DLGN_TYP_CD" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_ROLE_T" name="KRIM_DLGN_TR1">
            <reference foreign="ROLE_ID" local="ROLE_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_TYP_T" name="KRIM_DLGN_TR2">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <unique name="KRIM_DLGN_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_EMAIL_TYP_T">
        <column name="EMAIL_TYP_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_EMAIL_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_EMAIL_TYP_TC1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KRIM_EMP_STAT_T">
        <column name="EMP_STAT_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_EMP_STAT_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_EMP_STAT_TC1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KRIM_EMP_TYP_T">
        <column name="EMP_TYP_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_EMP_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_EMP_TYP_TC1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KRIM_ENTITY_ADDR_T">
        <column name="ENTITY_ADDR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="ENT_TYP_CD" size="40" type="VARCHAR"/>
        <column name="ADDR_TYP_CD" size="40" type="VARCHAR"/>
        <column name="ADDR_LINE_1" size="45" type="VARCHAR"/>
        <column name="ADDR_LINE_2" size="45" type="VARCHAR"/>
        <column name="ADDR_LINE_3" size="45" type="VARCHAR"/>
        <column name="CITY" size="30" type="VARCHAR"/>
        <column name="STATE_PVC_CD" size="2" type="VARCHAR"/>
        <column name="POSTAL_CD" size="20" type="VARCHAR"/>
        <column name="POSTAL_CNTRY_CD" size="2" type="VARCHAR"/>
        <column default="N" name="DFLT_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <column name="ATTN_LINE" size="45" type="VARCHAR"/>
        <column name="ADDR_FMT" size="256" type="VARCHAR"/>
        <column default="SYSDATE" name="MOD_DT" type="DATE"/>
        <column name="VALID_DT" type="DATE"/>
        <column name="VALID_IND" size="1" type="VARCHAR"/>
        <column name="NOTE_MSG" size="1024" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_ENTITY_ENT_TYP_T"
            name="KRIM_ENTITY_ADDR_TR1" onDelete="cascade">
            <reference foreign="ENT_TYP_CD" local="ENT_TYP_CD"/>
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_ADDR_TYP_T" name="KRIM_ENTITY_ADDR_TR2">
            <reference foreign="ADDR_TYP_CD" local="ADDR_TYP_CD"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_ADDR_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ENTITY_ADDR_TI1">
            <index-column name="ENTITY_ID"/>
        </index>
    </table>
    <table name="KRIM_ENTITY_AFLTN_T">
        <column name="ENTITY_AFLTN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="AFLTN_TYP_CD" size="40" type="VARCHAR"/>
        <column name="CAMPUS_CD" size="2" type="VARCHAR"/>
        <column default="N" name="DFLT_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_ENTITY_T"
            name="KRIM_ENTITY_AFLTN_TR1" onDelete="cascade">
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_AFLTN_TYP_T" name="KRIM_ENTITY_AFLTN_TR2">
            <reference foreign="AFLTN_TYP_CD" local="AFLTN_TYP_CD"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_AFLTN_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ENTITY_AFLTN_TI1">
            <index-column name="ENTITY_ID"/>
        </index>
    </table>
    <table name="KRIM_ENTITY_BIO_T">
        <column name="ENTITY_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="BIRTH_DT" type="DATE"/>
        <column name="GNDR_CD" required="true" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <column name="DECEASED_DT" type="DATE"/>
        <column name="MARITAL_STATUS" size="40" type="VARCHAR"/>
        <column name="PRIM_LANG_CD" size="40" type="VARCHAR"/>
        <column name="SEC_LANG_CD" size="40" type="VARCHAR"/>
        <column name="BIRTH_CNTRY_CD" size="2" type="VARCHAR"/>
        <column name="BIRTH_STATE_PVC_CD" size="2" type="VARCHAR"/>
        <column name="BIRTH_CITY" size="30" type="VARCHAR"/>
        <column name="GEO_ORIGIN" size="100" type="VARCHAR"/>
        <column name="NOTE_MSG" size="1024" type="VARCHAR"/>
        <column name="GNDR_CHG_CD" size="20" type="VARCHAR"/>
        <unique name="KRIM_ENTITY_BIO_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_ENTITY_CACHE_T">
        <column name="ENTITY_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PRNCPL_NM" size="40" type="VARCHAR"/>
        <column name="ENTITY_TYP_CD" size="40" type="VARCHAR"/>
        <column name="FIRST_NM" size="40" type="VARCHAR"/>
        <column name="MIDDLE_NM" size="40" type="VARCHAR"/>
        <column name="LAST_NM" size="40" type="VARCHAR"/>
        <column name="PRSN_NM" size="255" type="VARCHAR"/>
        <column name="CAMPUS_CD" size="40" type="VARCHAR"/>
        <column name="PRMRY_DEPT_CD" size="40" type="VARCHAR"/>
        <column name="EMP_ID" size="40" type="VARCHAR"/>
        <column name="LAST_UPDT_TS" type="DATE"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <unique name="KRIM_ENTITY_CACHE_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_ENTITY_CACHE_TC1">
            <unique-column name="PRNCPL_ID"/>
        </unique>
    </table>
    <table name="KRIM_ENTITY_CTZNSHP_T">
        <column name="ENTITY_CTZNSHP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="POSTAL_CNTRY_CD" size="2" type="VARCHAR"/>
        <column name="CTZNSHP_STAT_CD" size="40" type="VARCHAR"/>
        <column name="STRT_DT" type="DATE"/>
        <column name="END_DT" type="DATE"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_ENTITY_T"
            name="KRIM_ENTITY_CTZNSHP_TR1" onDelete="cascade">
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_CTZNSHP_STAT_T" name="KRIM_ENTITY_CTZNSHP_TR2">
            <reference foreign="CTZNSHP_STAT_CD" local="CTZNSHP_STAT_CD"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_CTZNSHP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_ENTITY_EMAIL_T">
        <column name="ENTITY_EMAIL_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="ENT_TYP_CD" size="40" type="VARCHAR"/>
        <column name="EMAIL_TYP_CD" size="40" type="VARCHAR"/>
        <column name="EMAIL_ADDR" size="200" type="VARCHAR"/>
        <column default="N" name="DFLT_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_ENTITY_ENT_TYP_T"
            name="KRIM_ENTITY_EMAIL_TR1" onDelete="cascade">
            <reference foreign="ENT_TYP_CD" local="ENT_TYP_CD"/>
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_EMAIL_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ENTITY_EMAIL_TI1">
            <index-column name="ENTITY_ID"/>
        </index>
    </table>
    <table name="KRIM_ENTITY_EMP_INFO_T">
        <column name="ENTITY_EMP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="ENTITY_AFLTN_ID" size="40" type="VARCHAR"/>
        <column name="EMP_STAT_CD" size="40" type="VARCHAR"/>
        <column name="EMP_TYP_CD" size="40" type="VARCHAR"/>
        <column name="BASE_SLRY_AMT" scale="2" size="15" type="DECIMAL"/>
        <column name="PRMRY_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <column name="PRMRY_DEPT_CD" size="40" type="VARCHAR"/>
        <column name="EMP_ID" size="40" type="VARCHAR"/>
        <column name="EMP_REC_ID" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_ENTITY_AFLTN_T" name="KRIM_ENTITY_EMP_INFO_TR4">
            <reference foreign="ENTITY_AFLTN_ID" local="ENTITY_AFLTN_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_ENTITY_T"
            name="KRIM_ENTITY_EMP_INFO_TR1" onDelete="cascade">
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_EMP_STAT_T" name="KRIM_ENTITY_EMP_INFO_TR2">
            <reference foreign="EMP_STAT_CD" local="EMP_STAT_CD"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_EMP_TYP_T" name="KRIM_ENTITY_EMP_INFO_TR3">
            <reference foreign="EMP_TYP_CD" local="EMP_TYP_CD"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_EMP_INFO_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ENTITY_EMP_INFO_TI1">
            <index-column name="ENTITY_ID"/>
        </index>
        <index name="KRIM_ENTITY_EMP_INFO_TI2">
            <index-column name="ENTITY_AFLTN_ID"/>
        </index>
    </table>
    <table name="KRIM_ENTITY_ENT_TYP_T">
        <column name="ENT_TYP_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="ENTITY_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_ENT_TYP_T" name="KRIM_ENTITY_ENT_TYP_TR2">
            <reference foreign="ENT_TYP_CD" local="ENT_TYP_CD"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_ENTITY_T"
            name="KRIM_ENTITY_ENT_TYP_TR1" onDelete="cascade">
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_ENT_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ENTITY_ENT_TYP_TI1">
            <index-column name="ENTITY_ID"/>
        </index>
    </table>
    <table name="KRIM_ENTITY_ETHNIC_T">
        <column name="ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="ETHNCTY_CD" size="40" type="VARCHAR"/>
        <column name="SUB_ETHNCTY_CD" size="40" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_ENTITY_T" name="KRIM_ENTITY_ETHNIC_TR1">
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_ETHNIC_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_ENTITY_EXT_ID_T">
        <column name="ENTITY_EXT_ID_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="EXT_ID_TYP_CD" size="40" type="VARCHAR"/>
        <column name="EXT_ID" size="100" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_EXT_ID_TYP_T" name="KRIM_ENTITY_EXT_ID_TR2">
            <reference foreign="EXT_ID_TYP_CD" local="EXT_ID_TYP_CD"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_ENTITY_T"
            name="KRIM_ENTITY_EXT_ID_TR1" onDelete="cascade">
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_EXT_ID_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ENTITY_EXT_ID_TI1">
            <index-column name="ENTITY_ID"/>
        </index>
    </table>
    <table name="KRIM_ENTITY_NM_T">
        <column name="ENTITY_NM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="NM_TYP_CD" size="40" type="VARCHAR"/>
        <column name="FIRST_NM" size="40" type="VARCHAR"/>
        <column name="MIDDLE_NM" size="40" type="VARCHAR"/>
        <column name="LAST_NM" size="80" type="VARCHAR"/>
        <column name="SUFFIX_NM" size="20" type="VARCHAR"/>
        <column name="PREFIX_NM" size="20" type="VARCHAR"/>
        <column default="N" name="DFLT_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <column name="TITLE_NM" size="20" type="VARCHAR"/>
        <column name="NOTE_MSG" size="1024" type="VARCHAR"/>
        <column name="NM_CHNG_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_ENTITY_T"
            name="KRIM_ENTITY_NM_TR1" onDelete="cascade">
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_NM_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ENTITY_NM_TI1">
            <index-column name="ENTITY_ID"/>
        </index>
    </table>
    <table name="KRIM_ENTITY_PHONE_T">
        <column name="ENTITY_PHONE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="ENT_TYP_CD" size="40" type="VARCHAR"/>
        <column name="PHONE_TYP_CD" size="40" type="VARCHAR"/>
        <column name="PHONE_NBR" size="20" type="VARCHAR"/>
        <column name="PHONE_EXTN_NBR" size="8" type="VARCHAR"/>
        <column name="POSTAL_CNTRY_CD" size="2" type="VARCHAR"/>
        <column default="N" name="DFLT_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_ENTITY_ENT_TYP_T"
            name="KRIM_ENTITY_PHONE_TR1" onDelete="cascade">
            <reference foreign="ENT_TYP_CD" local="ENT_TYP_CD"/>
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_PHONE_TYP_T" name="KRIM_ENTITY_PHONE_TR2">
            <reference foreign="PHONE_TYP_CD" local="PHONE_TYP_CD"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_PHONE_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ENTITY_PHONE_TI1">
            <index-column name="ENTITY_ID"/>
        </index>
    </table>
    <table name="KRIM_ENTITY_PRIV_PREF_T">
        <column name="ENTITY_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="N" name="SUPPRESS_NM_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="SUPPRESS_EMAIL_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="SUPPRESS_ADDR_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="SUPPRESS_PHONE_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="SUPPRESS_PRSNL_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_ENTITY_PRIV_PREF_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_ENTITY_RESIDENCY_T">
        <column name="ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="DETERMINATION_METHOD" size="40" type="VARCHAR"/>
        <column name="IN_STATE" size="40" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_ENTITY_T" name="KRIM_ENTITY_RESIDENCY_TR1">
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_RESIDENCY_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_ENTITY_T">
        <column name="ENTITY_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_ENTITY_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_ENTITY_VISA_T">
        <column name="ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="VISA_TYPE_KEY" size="40" type="VARCHAR"/>
        <column name="VISA_ENTRY" size="40" type="VARCHAR"/>
        <column name="VISA_ID" size="40" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_ENTITY_T" name="KRIM_ENTITY_VISA_TR1">
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <unique name="KRIM_ENTITY_VISA_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_ENT_NM_TYP_T">
        <column name="ENT_NM_TYP_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_ENT_NM_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_ENT_NM_TYP_TC1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KRIM_ENT_TYP_T">
        <column name="ENT_TYP_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <unique name="KRIM_ENT_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_ENT_TYP_TC1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KRIM_EXT_ID_TYP_T">
        <column name="EXT_ID_TYP_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column default="N" name="ENCR_REQ_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_EXT_ID_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_EXT_ID_TYP_TC1">
            <unique-column name="NM"/>
        </unique>
    </table>
    <table name="KRIM_GRP_ATTR_DATA_T">
        <column name="ATTR_DATA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="GRP_ID" size="40" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KIM_ATTR_DEFN_ID" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_TYP_T" name="KRIM_GRP_ATTR_DATA_TR1">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_GRP_T"
            name="KRIM_GRP_ATTR_DATA_TR3" onDelete="cascade">
            <reference foreign="GRP_ID" local="GRP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_ATTR_DEFN_T" name="KRIM_GRP_ATTR_DATA_TR2">
            <reference foreign="KIM_ATTR_DEFN_ID" local="KIM_ATTR_DEFN_ID"/>
        </foreign-key>
        <unique name="KRIM_GRP_ATTR_DATA_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_GRP_DOCUMENT_T">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="GRP_ID" required="true" size="40" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="GRP_NMSPC" required="true" size="100" type="VARCHAR"/>
        <column name="GRP_NM" size="400" type="VARCHAR"/>
        <column name="GRP_DESC" size="400" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_GRP_MBR_T">
        <column name="GRP_MBR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column name="GRP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="MBR_ID" required="true" size="40" type="VARCHAR"/>
        <column default="P" name="MBR_TYP_CD" required="true" size="1" type="CHAR"/>
        <column name="ACTV_FRM_DT" type="DATE"/>
        <column name="ACTV_TO_DT" type="DATE"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_GRP_T" name="KRIM_GRP_MBR_TR1" onDelete="cascade">
            <reference foreign="GRP_ID" local="GRP_ID"/>
        </foreign-key>
        <unique name="KRIM_GRP_MBR_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_GRP_MBR_TI1">
            <index-column name="MBR_ID"/>
        </index>
    </table>
    <table name="KRIM_GRP_T">
        <column name="GRP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="GRP_NM" required="true" size="80" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="GRP_DESC" size="4000" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_TYP_T" name="KRIM_GRP_TR1">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <unique name="KRIM_GRP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_GRP_TC1">
            <unique-column name="GRP_NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRIM_PERM_ATTR_DATA_T">
        <column name="ATTR_DATA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="PERM_ID" size="40" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KIM_ATTR_DEFN_ID" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_TYP_T" name="KRIM_PERM_ATTR_DATA_TR1">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_PERM_T"
            name="KRIM_PERM_ATTR_DATA_TR3" onDelete="cascade">
            <reference foreign="PERM_ID" local="PERM_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_ATTR_DEFN_T" name="KRIM_PERM_ATTR_DATA_TR2">
            <reference foreign="KIM_ATTR_DEFN_ID" local="KIM_ATTR_DEFN_ID"/>
        </foreign-key>
        <unique name="KRIM_PERM_ATTR_DATA_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_PERM_ATTR_DATA_TI1">
            <index-column name="PERM_ID"/>
        </index>
    </table>
    <table name="KRIM_PERM_T">
        <column name="PERM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="PERM_TMPL_ID" size="40" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="DESC_TXT" size="400" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_PERM_TMPL_T" name="KRIM_PERM_TR1">
            <reference foreign="PERM_TMPL_ID" local="PERM_TMPL_ID"/>
        </foreign-key>
        <unique name="KRIM_PERM_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_PERM_T_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
        <index name="KRIM_PERM_TI1">
            <index-column name="PERM_TMPL_ID"/>
        </index>
        <index name="KRIM_PERM_TI2">
            <index-column name="PERM_TMPL_ID"/>
            <index-column name="ACTV_IND"/>
        </index>
    </table>
    <table name="KRIM_PERM_TMPL_T">
        <column name="PERM_TMPL_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="DESC_TXT" size="400" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_TYP_T" name="KRIM_PERM_TMPL_TR1">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <unique name="KRIM_PERM_TMPL_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_PERM_TMPL_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
        <index name="KRIM_PERM_TMPL_TI1">
            <index-column name="NMSPC_CD"/>
            <index-column name="NM"/>
        </index>
    </table>
    <table name="KRIM_PERSON_DOCUMENT_T">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ENTITY_ID" required="true" size="40" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PRNCPL_NM" required="true" size="100" type="VARCHAR"/>
        <column name="PRNCPL_PSWD" size="400" type="VARCHAR"/>
        <column name="UNIV_ID" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PHONE_TYP_T">
        <column name="PHONE_TYP_CD" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="PHONE_TYP_NM" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <unique name="KRIM_PHONE_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_PHONE_TYP_TC1">
            <unique-column name="PHONE_TYP_NM"/>
        </unique>
    </table>
    <table name="KRIM_PND_ADDR_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ADDR_TYP_CD" size="40" type="VARCHAR"/>
        <column name="ADDR_LINE_1" size="50" type="VARCHAR"/>
        <column name="ADDR_LINE_2" size="50" type="VARCHAR"/>
        <column name="ADDR_LINE_3" size="50" type="VARCHAR"/>
        <column name="CITY" size="30" type="VARCHAR"/>
        <column name="STATE_PVC_CD" size="2" type="VARCHAR"/>
        <column name="POSTAL_CD" size="20" type="VARCHAR"/>
        <column name="POSTAL_CNTRY_CD" size="2" type="VARCHAR"/>
        <column name="DISPLAY_SORT_CD" size="2" type="VARCHAR"/>
        <column default="N" name="DFLT_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="ENTITY_ADDR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
        <column name="ATTN_LINE" size="45" type="VARCHAR"/>
        <column name="ADDR_FMT" size="256" type="VARCHAR"/>
        <column default="SYSDATE" name="MOD_DT" type="DATE"/>
        <column name="VALID_DT" type="DATE"/>
        <column name="VALID_IND" size="1" type="VARCHAR"/>
        <column name="NOTE_MSG" size="1024" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_AFLTN_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ENTITY_AFLTN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="AFLTN_TYP_CD" size="40" type="VARCHAR"/>
        <column name="CAMPUS_CD" size="2" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
        <column default="N" name="DFLT_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRIM_PERSON_DOCUMENT_T" name="KRIM_PND_AFLTN_MT_FK1">
            <reference foreign="FDOC_NBR" local="FDOC_NBR"/>
        </foreign-key>
    </table>
    <table name="KRIM_PND_CTZNSHP_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ENTITY_CTZNSHP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="POSTAL_CNTRY_CD" size="2" type="VARCHAR"/>
        <column name="CTZNSHP_STAT_CD" size="40" type="VARCHAR"/>
        <column name="STRT_DT" type="DATE"/>
        <column name="END_DT" type="DATE"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_DLGN_MBR_ATTR_DATA_T">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ATTR_DATA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="DLGN_MBR_ID" size="40" type="VARCHAR"/>
        <column name="KIM_TYP_ID" size="40" type="VARCHAR"/>
        <column name="KIM_ATTR_DEFN_ID" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_DLGN_MBR_T">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="DLGN_MBR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="DLGN_ID" required="true" size="40" type="VARCHAR"/>
        <column name="MBR_ID" size="40" type="VARCHAR"/>
        <column name="MBR_NM" size="40" type="VARCHAR"/>
        <column name="MBR_TYP_CD" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="ACTV_FRM_DT" type="DATE"/>
        <column name="ACTV_TO_DT" type="DATE"/>
        <column name="ROLE_MBR_ID" size="40" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_DLGN_T">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="DLGN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="ROLE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="KIM_TYP_ID" size="40" type="VARCHAR"/>
        <column name="DLGN_TYP_CD" required="true" size="100" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_EMAIL_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ENTITY_EMAIL_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENT_TYP_CD" size="40" type="VARCHAR"/>
        <column name="EMAIL_TYP_CD" size="40" type="VARCHAR"/>
        <column name="EMAIL_ADDR" size="200" type="VARCHAR"/>
        <column default="N" name="DFLT_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_EMP_INFO_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="PRMRY_DEPT_CD" size="40" type="VARCHAR"/>
        <column name="ENTITY_EMP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="EMP_ID" size="40" type="VARCHAR"/>
        <column name="EMP_REC_ID" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENTITY_AFLTN_ID" size="40" type="VARCHAR"/>
        <column name="EMP_STAT_CD" size="40" type="VARCHAR"/>
        <column name="EMP_TYP_CD" size="40" type="VARCHAR"/>
        <column name="BASE_SLRY_AMT" scale="2" size="15" type="DECIMAL"/>
        <column name="PRMRY_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_GRP_ATTR_DATA_T">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ATTR_DATA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="GRP_ID" size="40" type="VARCHAR"/>
        <column name="KIM_TYP_ID" size="40" type="VARCHAR"/>
        <column name="KIM_ATTR_DEFN_ID" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_GRP_MBR_T">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="GRP_MBR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="GRP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="MBR_ID" size="40" type="VARCHAR"/>
        <column name="MBR_NM" size="100" type="VARCHAR"/>
        <column name="MBR_TYP_CD" required="true" size="40" type="VARCHAR"/>
        <column name="ACTV_FRM_DT" type="DATE"/>
        <column name="ACTV_TO_DT" type="DATE"/>
    </table>
    <table name="KRIM_PND_GRP_PRNCPL_MT">
        <column name="GRP_MBR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="GRP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PRNCPL_ID" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="GRP_NM" required="true" size="80" type="VARCHAR"/>
        <column name="GRP_TYPE" size="80" type="VARCHAR"/>
        <column name="KIM_TYP_ID" size="40" type="VARCHAR"/>
        <column name="NMSPC_CD" size="40" type="VARCHAR"/>
        <column name="ACTV_FRM_DT" type="DATE"/>
        <column name="ACTV_TO_DT" type="DATE"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_NM_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ENTITY_NM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM_TYP_CD" size="40" type="VARCHAR"/>
        <column name="FIRST_NM" size="40" type="VARCHAR"/>
        <column name="MIDDLE_NM" size="40" type="VARCHAR"/>
        <column name="LAST_NM" size="80" type="VARCHAR"/>
        <column name="SUFFIX_NM" size="20" type="VARCHAR"/>
        <column name="PREFIX_NM" size="20" type="VARCHAR"/>
        <column default="N" name="DFLT_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
        <column name="TITLE_NM" size="20" type="VARCHAR"/>
        <column name="NOTE_MSG" size="1024" type="VARCHAR"/>
        <column name="NM_CHNG_DT" type="DATE"/>
    </table>
    <table name="KRIM_PND_PHONE_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ENTITY_PHONE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ENT_TYP_CD" size="40" type="VARCHAR"/>
        <column name="PHONE_TYP_CD" size="40" type="VARCHAR"/>
        <column name="PHONE_NBR" size="20" type="VARCHAR"/>
        <column name="PHONE_EXTN_NBR" size="8" type="VARCHAR"/>
        <column name="POSTAL_CNTRY_CD" size="2" type="VARCHAR"/>
        <column default="N" name="DFLT_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_PRIV_PREF_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="N" name="SUPPRESS_NM_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="SUPPRESS_EMAIL_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="SUPPRESS_ADDR_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="SUPPRESS_PHONE_IND" size="1" type="VARCHAR"/>
        <column default="Y" name="SUPPRESS_PRSNL_IND" size="1" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_ROLE_MBR_ATTR_DATA_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ATTR_DATA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ROLE_MBR_ID" size="40" type="VARCHAR"/>
        <column name="KIM_TYP_ID" size="40" type="VARCHAR"/>
        <column name="KIM_ATTR_DEFN_ID" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_ROLE_MBR_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ROLE_MBR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ROLE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="MBR_ID" size="40" type="VARCHAR"/>
        <column name="MBR_TYP_CD" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="ACTV_FRM_DT" type="DATE"/>
        <column name="ACTV_TO_DT" type="DATE"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_ROLE_MT">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ROLE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ROLE_NM" required="true" size="100" type="VARCHAR"/>
        <column name="KIM_TYP_ID" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="NMSPC_CD" size="40" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_ROLE_PERM_T">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ROLE_PERM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ROLE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PERM_ID" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_ROLE_RSP_ACTN_MT">
        <column name="ROLE_RSP_ACTN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ACTN_TYP_CD" size="40" type="VARCHAR"/>
        <column name="PRIORITY_NBR" size="3" type="DECIMAL"/>
        <column name="ACTN_PLCY_CD" size="40" type="VARCHAR"/>
        <column name="ROLE_MBR_ID" size="40" type="VARCHAR"/>
        <column name="ROLE_RSP_ID" size="40" type="VARCHAR"/>
        <column default="N" name="EDIT_FLAG" size="1" type="VARCHAR"/>
        <column name="FRC_ACTN" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PND_ROLE_RSP_T">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ROLE_RSP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ROLE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="RSP_ID" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
    </table>
    <table name="KRIM_PRNCPL_T">
        <column name="PRNCPL_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="PRNCPL_NM" required="true" size="100" type="VARCHAR"/>
        <column name="ENTITY_ID" size="40" type="VARCHAR"/>
        <column name="PRNCPL_PSWD" size="400" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_ENTITY_T" name="KRIM_PRNCPL_TR1" onDelete="cascade">
            <reference foreign="ENTITY_ID" local="ENTITY_ID"/>
        </foreign-key>
        <unique name="KRIM_PRNCPL_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_PRNCPL_TC1">
            <unique-column name="PRNCPL_NM"/>
        </unique>
    </table>
    <table name="KRIM_ROLE_DOCUMENT_T">
        <column name="FDOC_NBR" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ROLE_ID" required="true" size="40" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ROLE_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ROLE_NMSPC" required="true" size="100" type="VARCHAR"/>
        <column name="ROLE_NM" size="400" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="DESC_TXT" size="4000" type="VARCHAR"/>
    </table>
    <table name="KRIM_ROLE_MBR_ATTR_DATA_T">
        <column name="ATTR_DATA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ROLE_MBR_ID" size="40" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KIM_ATTR_DEFN_ID" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_TYP_T" name="KRIM_ROLE_MBR_ATTR_DATA_TR1">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_ATTR_DEFN_T" name="KRIM_ROLE_MBR_ATTR_DATA_TR2">
            <reference foreign="KIM_ATTR_DEFN_ID" local="KIM_ATTR_DEFN_ID"/>
        </foreign-key>
        <unique name="KRIM_ROLE_MBR_ATTR_DATA_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ROLE_MBR_ATTR_DATA_TI1">
            <index-column name="ROLE_MBR_ID"/>
        </index>
    </table>
    <table name="KRIM_ROLE_MBR_T">
        <column name="ROLE_MBR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column name="ROLE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="MBR_ID" required="true" size="40" type="VARCHAR"/>
        <column default="P" name="MBR_TYP_CD" required="true" size="1" type="CHAR"/>
        <column name="ACTV_FRM_DT" type="DATE"/>
        <column name="ACTV_TO_DT" type="DATE"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_ROLE_T" name="KRIM_ROLE_MBR_TR1" onDelete="cascade">
            <reference foreign="ROLE_ID" local="ROLE_ID"/>
        </foreign-key>
        <unique name="KRIM_ROLE_MBR_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ROLE_MBR_TI1">
            <index-column name="MBR_ID"/>
        </index>
        <index name="KRIM_ROLE_MBR_TI2">
            <index-column name="ROLE_ID"/>
            <index-column name="MBR_ID"/>
            <index-column name="MBR_TYP_CD"/>
        </index>
        <index name="KRIM_ROLE_MBR_TI3">
            <index-column name="MBR_ID"/>
            <index-column name="MBR_TYP_CD"/>
        </index>
    </table>
    <table name="KRIM_ROLE_PERM_T">
        <column name="ROLE_PERM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ROLE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PERM_ID" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_PERM_T" name="KRIM_ROLE_PERM_TR1">
            <reference foreign="PERM_ID" local="PERM_ID"/>
        </foreign-key>
        <unique name="KRIM_ROLE_PERM_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ROLE_PERM_TI1">
            <index-column name="PERM_ID"/>
        </index>
        <index name="KRIM_ROLE_PERM_TI2">
            <index-column name="PERM_ID"/>
            <index-column name="ACTV_IND"/>
        </index>
    </table>
    <table name="KRIM_ROLE_RSP_ACTN_T">
        <column name="ROLE_RSP_ACTN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ACTN_TYP_CD" size="40" type="VARCHAR"/>
        <column name="PRIORITY_NBR" size="3" type="DECIMAL"/>
        <column name="ACTN_PLCY_CD" size="40" type="VARCHAR"/>
        <column name="ROLE_MBR_ID" size="40" type="VARCHAR"/>
        <column name="ROLE_RSP_ID" size="40" type="VARCHAR"/>
        <column default="N" name="FRC_ACTN" size="1" type="VARCHAR"/>
        <unique name="KRIM_ROLE_RSP_ACTN_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_ROLE_RSP_ACTN_TC1">
            <unique-column name="ROLE_RSP_ID"/>
            <unique-column name="ROLE_MBR_ID"/>
        </unique>
    </table>
    <table name="KRIM_ROLE_RSP_T">
        <column name="ROLE_RSP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ROLE_ID" size="40" type="VARCHAR"/>
        <column name="RSP_ID" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_RSP_T" name="KRIM_ROLE_RSP_TR1">
            <reference foreign="RSP_ID" local="RSP_ID"/>
        </foreign-key>
        <unique name="KRIM_ROLE_RSP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRIM_ROLE_RSP_TI1">
            <index-column name="RSP_ID"/>
        </index>
    </table>
    <table name="KRIM_ROLE_T">
        <column name="ROLE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="ROLE_NM" required="true" size="80" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="DESC_TXT" size="4000" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column default="SYSDATE" name="LAST_UPDT_DT" type="DATE"/>
        <foreign-key foreignTable="KRIM_TYP_T" name="KRIM_ROLE_TR1">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <unique name="KRIM_ROLE_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_ROLE_TC1">
            <unique-column name="ROLE_NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRIM_RSP_ATTR_DATA_T">
        <column name="ATTR_DATA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="RSP_ID" size="40" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KIM_ATTR_DEFN_ID" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_RSP_T"
            name="KRIM_RSP_ATTR_DATA_TR3" onDelete="cascade">
            <reference foreign="RSP_ID" local="RSP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_TYP_T" name="KRIM_RSP_ATTR_DATA_TR1">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_ATTR_DEFN_T" name="KRIM_RSP_ATTR_DATA_TR2">
            <reference foreign="KIM_ATTR_DEFN_ID" local="KIM_ATTR_DEFN_ID"/>
        </foreign-key>
        <unique name="KRIM_RSP_ATTR_DATA_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRIM_RSP_T">
        <column name="RSP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="RSP_TMPL_ID" size="40" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="DESC_TXT" size="400" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_RSP_TMPL_T" name="KRIM_RSP_TR1">
            <reference foreign="RSP_TMPL_ID" local="RSP_TMPL_ID"/>
        </foreign-key>
        <unique name="KRIM_RSP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_RSP_T_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRIM_RSP_TMPL_T">
        <column name="RSP_TMPL_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="100" type="VARCHAR"/>
        <column name="DESC_TXT" size="400" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_TYP_T" name="KRIM_RSP_TMPL_TR1">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <unique name="KRIM_RSP_TMPL_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_RSP_TMPL_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRIM_TYP_ATTR_T">
        <column name="KIM_TYP_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="SORT_CD" size="2" type="VARCHAR"/>
        <column name="KIM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KIM_ATTR_DEFN_ID" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRIM_TYP_T"
            name="KRIM_TYP_ATTRIBUTE_TR1" onDelete="cascade">
            <reference foreign="KIM_TYP_ID" local="KIM_TYP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRIM_ATTR_DEFN_T"
            name="KRIM_TYP_ATTR_TR2" onDelete="cascade">
            <reference foreign="KIM_ATTR_DEFN_ID" local="KIM_ATTR_DEFN_ID"/>
        </foreign-key>
        <unique name="KRIM_TYP_ATTR_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <unique name="KRIM_TYP_ATTR_TC1">
            <unique-column name="SORT_CD"/>
            <unique-column name="KIM_TYP_ID"/>
            <unique-column name="KIM_ATTR_DEFN_ID"/>
            <unique-column name="ACTV_IND"/>
        </unique>
        <index name="KRIM_TYP_ATTRIBUTE_TI1">
            <index-column name="KIM_TYP_ID"/>
        </index>
    </table>
    <table name="KRIM_TYP_T">
        <column name="KIM_TYP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NM" size="100" type="VARCHAR"/>
        <column name="SRVC_NM" size="200" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" size="1" type="VARCHAR"/>
        <column name="NMSPC_CD" size="40" type="VARCHAR"/>
        <unique name="KRIM_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRLC_CMP_T">
        <column name="CAMPUS_CD" primaryKey="true" size="2" type="VARCHAR"/>
        <column name="CAMPUS_NM" size="250" type="VARCHAR"/>
        <column name="CAMPUS_SHRT_NM" size="250" type="VARCHAR"/>
        <column name="CAMPUS_TYP_CD" size="1" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="Y" name="ACTV_IND" required="true" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRLC_CMP_TYP_T" name="SH_CAMPUS_TR1">
            <reference foreign="CAMPUS_TYP_CD" local="CAMPUS_TYP_CD"/>
        </foreign-key>
        <unique name="KRNS_CAMPUS_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRLC_CMP_TYP_T">
        <column name="CAMPUS_TYP_CD" primaryKey="true" size="1" type="VARCHAR"/>
        <column name="CMP_TYP_NM" size="250" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="Y" name="ACTV_IND" required="true" size="1" type="VARCHAR"/>
        <unique name="KRNS_CMP_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRLC_CNTRY_T">
        <column name="POSTAL_CNTRY_CD" primaryKey="true" size="2" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="POSTAL_CNTRY_NM" size="40" type="VARCHAR"/>
        <column name="PSTL_CNTRY_RSTRC_IND" required="true" size="1" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" required="true" size="1" type="VARCHAR"/>
        <column name="ALT_POSTAL_CNTRY_CD" size="3" type="VARCHAR"/>
        <unique name="KR_COUNTRY_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRLC_CNTY_T">
        <column name="COUNTY_CD" primaryKey="true" size="10" type="VARCHAR"/>
        <column name="STATE_CD" primaryKey="true" size="2" type="VARCHAR"/>
        <column default="US" name="POSTAL_CNTRY_CD" primaryKey="true"
            size="2" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="COUNTY_NM" size="100" type="VARCHAR"/>
        <column name="ACTV_IND" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRLC_ST_T" name="KRLC_CNTY_TR1">
            <reference foreign="POSTAL_STATE_CD" local="STATE_CD"/>
            <reference foreign="POSTAL_CNTRY_CD" local="POSTAL_CNTRY_CD"/>
        </foreign-key>
        <unique name="KR_COUNTY_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRLC_PSTL_CD_T">
        <column name="POSTAL_CD" primaryKey="true" size="20" type="VARCHAR"/>
        <column default="US" name="POSTAL_CNTRY_CD" primaryKey="true"
            size="2" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="POSTAL_STATE_CD" size="2" type="VARCHAR"/>
        <column name="COUNTY_CD" size="10" type="VARCHAR"/>
        <column name="POSTAL_CITY_NM" size="30" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" required="true" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRLC_CNTY_T" name="KR_POSTAL_CODE_TR3">
            <reference foreign="COUNTY_CD" local="COUNTY_CD"/>
            <reference foreign="STATE_CD" local="POSTAL_STATE_CD"/>
            <reference foreign="POSTAL_CNTRY_CD" local="POSTAL_CNTRY_CD"/>
        </foreign-key>
        <foreign-key foreignTable="KRLC_ST_T" name="KR_POSTAL_CODE_TR2">
            <reference foreign="POSTAL_STATE_CD" local="POSTAL_STATE_CD"/>
            <reference foreign="POSTAL_CNTRY_CD" local="POSTAL_CNTRY_CD"/>
        </foreign-key>
        <foreign-key foreignTable="KRLC_CNTRY_T" name="KR_POSTAL_CODE_TR1">
            <reference foreign="POSTAL_CNTRY_CD" local="POSTAL_CNTRY_CD"/>
        </foreign-key>
        <unique name="KR_POSTAL_CODE_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRLC_ST_T">
        <column name="POSTAL_STATE_CD" primaryKey="true" size="2" type="VARCHAR"/>
        <column default="US" name="POSTAL_CNTRY_CD" primaryKey="true"
            size="2" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="POSTAL_STATE_NM" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV_IND" required="true" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRLC_CNTRY_T" name="KR_STATE_TR1">
            <reference foreign="POSTAL_CNTRY_CD" local="POSTAL_CNTRY_CD"/>
        </foreign-key>
        <unique name="KR_STATE_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRMS_ACTN_ATTR_T">
        <column name="ACTN_ATTR_DATA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="ACTN_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_DEFN_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_ATTR_DEFN_T" name="KRMS_ACTN_ATTR_FK2">
            <reference foreign="ATTR_DEFN_ID" local="ATTR_DEFN_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_ACTN_T" name="KRMS_ACTN_ATTR_FK1">
            <reference foreign="ACTN_ID" local="ACTN_ID"/>
        </foreign-key>
        <index name="KRMS_ACTN_ATTR_TI1">
            <index-column name="ACTN_ID"/>
        </index>
        <index name="KRMS_ACTN_ATTR_TI2">
            <index-column name="ATTR_DEFN_ID"/>
        </index>
    </table>
    <table name="KRMS_ACTN_T">
        <column name="ACTN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" size="40" type="VARCHAR"/>
        <column name="DESC_TXT" size="4000" type="VARCHAR"/>
        <column name="TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="RULE_ID" size="40" type="VARCHAR"/>
        <column name="SEQ_NO" size="5" type="DECIMAL"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KRMS_RULE_T" name="KRMS_ACTN_FK1">
            <reference foreign="RULE_ID" local="RULE_ID"/>
        </foreign-key>
        <unique name="KRMS_ACTN_TC2">
            <unique-column name="ACTN_ID"/>
            <unique-column name="RULE_ID"/>
            <unique-column name="SEQ_NO"/>
        </unique>
        <index name="KRMS_ACTN_TI1">
            <index-column name="TYP_ID"/>
        </index>
        <index name="KRMS_ACTN_TI2">
            <index-column name="RULE_ID"/>
        </index>
        <index name="KRMS_ACTN_TI3">
            <index-column name="RULE_ID"/>
            <index-column name="SEQ_NO"/>
        </index>
    </table>
    <table name="KRMS_AGENDA_ATTR_T">
        <column name="AGENDA_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="AGENDA_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column name="ATTR_DEFN_ID" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_ATTR_DEFN_T" name="KRMS_AGENDA_ATTR_FK2">
            <reference foreign="ATTR_DEFN_ID" local="ATTR_DEFN_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_AGENDA_T" name="KRMS_AGENDA_ATTR_FK1">
            <reference foreign="AGENDA_ID" local="AGENDA_ID"/>
        </foreign-key>
        <index name="KRMS_AGENDA_ATTR_T12">
            <index-column name="ATTR_DEFN_ID"/>
        </index>
        <index name="KRMS_AGENDA_ATTR_TI1">
            <index-column name="AGENDA_ID"/>
        </index>
    </table>
    <table name="KRMS_AGENDA_ITM_T">
        <column name="AGENDA_ITM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RULE_ID" size="40" type="VARCHAR"/>
        <column name="SUB_AGENDA_ID" size="40" type="VARCHAR"/>
        <column name="AGENDA_ID" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="WHEN_TRUE" size="40" type="VARCHAR"/>
        <column name="WHEN_FALSE" size="40" type="VARCHAR"/>
        <column name="ALWAYS" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KRMS_AGENDA_ITM_T" name="KRMS_AGENDA_ITM_FK5">
            <reference foreign="AGENDA_ITM_ID" local="WHEN_FALSE"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_AGENDA_ITM_T" name="KRMS_AGENDA_ITM_FK6">
            <reference foreign="AGENDA_ITM_ID" local="ALWAYS"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_AGENDA_T" name="KRMS_AGENDA_ITM_FK3">
            <reference foreign="AGENDA_ID" local="SUB_AGENDA_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_AGENDA_ITM_T" name="KRMS_AGENDA_ITM_FK4">
            <reference foreign="AGENDA_ITM_ID" local="WHEN_TRUE"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_AGENDA_T" name="KRMS_AGENDA_ITM_FK2">
            <reference foreign="AGENDA_ID" local="AGENDA_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_RULE_T" name="KRMS_AGENDA_ITM_FK1">
            <reference foreign="RULE_ID" local="RULE_ID"/>
        </foreign-key>
        <index name="KRMS_AGENDA_ITM_TI1">
            <index-column name="RULE_ID"/>
        </index>
        <index name="KRMS_AGENDA_ITM_TI2">
            <index-column name="AGENDA_ID"/>
        </index>
        <index name="KRMS_AGENDA_ITM_TI3">
            <index-column name="SUB_AGENDA_ID"/>
        </index>
        <index name="KRMS_AGENDA_ITM_TI4">
            <index-column name="WHEN_TRUE"/>
        </index>
        <index name="KRMS_AGENDA_ITM_TI5">
            <index-column name="WHEN_FALSE"/>
        </index>
        <index name="KRMS_AGENDA_ITM_TI6">
            <index-column name="ALWAYS"/>
        </index>
    </table>
    <table name="KRMS_AGENDA_T">
        <column name="AGENDA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="CNTXT_ID" required="true" size="40" type="VARCHAR"/>
        <column name="INIT_AGENDA_ITM_ID" size="40" type="VARCHAR"/>
        <column name="TYP_ID" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_CNTXT_T" name="KRMS_AGENDA_FK1">
            <reference foreign="CNTXT_ID" local="CNTXT_ID"/>
        </foreign-key>
        <unique name="KRMS_AGENDA_TC1">
            <unique-column name="NM"/>
            <unique-column name="CNTXT_ID"/>
        </unique>
        <index name="KRMS_AGENDA_TI1">
            <index-column name="CNTXT_ID"/>
        </index>
    </table>
    <table name="KRMS_ATTR_DEFN_T">
        <column name="ATTR_DEFN_ID" primaryKey="true" size="255" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="LBL" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column name="CMPNT_NM" size="100" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="null" name="DESC_TXT" size="255" type="VARCHAR"/>
        <unique name="KRMS_ATTR_DEFN_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRMS_CMPND_PROP_PROPS_T">
        <column name="CMPND_PROP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PROP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KRMS_PROP_T" name="KRMS_CMPND_PROP_PROPS_FK1">
            <reference foreign="PROP_ID" local="PROP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_PROP_T" name="KRMS_CMPND_PROP_PROPS_FK2">
            <reference foreign="PROP_ID" local="CMPND_PROP_ID"/>
        </foreign-key>
        <index name="KRMS_CMPND_PROP_PROPS_FK2">
            <index-column name="CMPND_PROP_ID"/>
        </index>
        <index name="KRMS_CMPND_PROP_PROPS_TI1">
            <index-column name="PROP_ID"/>
        </index>
    </table>
    <table name="KRMS_CNTXT_ATTR_T">
        <column name="CNTXT_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="CNTXT_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column name="ATTR_DEFN_ID" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_CNTXT_T" name="KRMS_CNTXT_ATTR_FK1">
            <reference foreign="CNTXT_ID" local="CNTXT_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_ATTR_DEFN_T" name="KRMS_CNTXT_ATTR_FK2">
            <reference foreign="ATTR_DEFN_ID" local="ATTR_DEFN_ID"/>
        </foreign-key>
        <index name="KRMS_CNTXT_ATTR_TI1">
            <index-column name="CNTXT_ID"/>
        </index>
        <index name="KRMS_CNTXT_ATTR_TI2">
            <index-column name="ATTR_DEFN_ID"/>
        </index>
    </table>
    <table name="KRMS_CNTXT_T">
        <column name="CNTXT_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="TYP_ID" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="null" name="DESC_TXT" size="255" type="VARCHAR"/>
        <unique name="KRMS_CNTXT_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRMS_CNTXT_VLD_ACTN_TYP_T">
        <column name="CNTXT_VLD_ACTN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="CNTXT_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ACTN_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_CNTXT_T" name="KRMS_CNTXT_VLD_ACTN_TYP_FK1">
            <reference foreign="CNTXT_ID" local="CNTXT_ID"/>
        </foreign-key>
        <index name="KRMS_CNTXT_VLD_ACTN_TYP_TI1">
            <index-column name="CNTXT_ID"/>
        </index>
    </table>
    <table name="KRMS_CNTXT_VLD_AGENDA_TYP_T">
        <column name="CNTXT_VLD_AGENDA_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="CNTXT_ID" required="true" size="40" type="VARCHAR"/>
        <column name="AGENDA_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_CNTXT_T" name="KRMS_CNTXT_VLD_AGENDA_TYP_FK1">
            <reference foreign="CNTXT_ID" local="CNTXT_ID"/>
        </foreign-key>
        <index name="KRMS_CNTXT_VLD_AGENDA_TYP_TI1">
            <index-column name="CNTXT_ID"/>
        </index>
    </table>
    <table name="KRMS_CNTXT_VLD_FUNC_T">
        <column name="CNTXT_VLD_FUNC_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="CNTXT_ID" required="true" size="40" type="VARCHAR"/>
        <column name="FUNC_ID" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_CNTXT_T" name="KRMS_CNTXT_VLD_FUNC_FK1">
            <reference foreign="CNTXT_ID" local="CNTXT_ID"/>
        </foreign-key>
        <index name="KRMS_CNTXT_VLD_FUNC_TI1">
            <index-column name="CNTXT_ID"/>
        </index>
    </table>
    <table name="KRMS_CNTXT_VLD_RULE_TYP_T">
        <column name="CNTXT_VLD_RULE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="CNTXT_ID" required="true" size="40" type="VARCHAR"/>
        <column name="RULE_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_CNTXT_T" name="KRMS_CNTXT_VLD_RULE_TYP_FK1">
            <reference foreign="CNTXT_ID" local="CNTXT_ID"/>
        </foreign-key>
        <index name="KRMS_CNTXT_VLD_RULE_TYP_TI1">
            <index-column name="CNTXT_ID"/>
        </index>
    </table>
    <table name="KRMS_CNTXT_VLD_TERM_SPEC_T">
        <column name="CNTXT_TERM_SPEC_PREREQ_ID" primaryKey="true"
            size="40" type="VARCHAR"/>
        <column name="CNTXT_ID" required="true" size="40" type="VARCHAR"/>
        <column name="TERM_SPEC_ID" required="true" size="40" type="VARCHAR"/>
        <column default="n" name="PREREQ" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRMS_TERM_SPEC_T" name="KRMS_CNTXT_VLD_TERM_SPEC_TI2">
            <reference foreign="TERM_SPEC_ID" local="TERM_SPEC_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_CNTXT_T" name="KRMS_CNTXT_VLD_TERM_SPEC_TI1">
            <reference foreign="CNTXT_ID" local="CNTXT_ID"/>
        </foreign-key>
    </table>
    <table name="KRMS_CTGRY_T">
        <column name="CTGRY_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="255" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <unique name="KRMS_CTGRY_TC0">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRMS_FUNC_CTGRY_T">
        <column name="FUNC_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="CTGRY_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KRMS_FUNC_T" name="KRMS_FUNC_CTGRY_FK1">
            <reference foreign="FUNC_ID" local="FUNC_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_CTGRY_T" name="KRMS_FUNC_CTGRY_FK2">
            <reference foreign="CTGRY_ID" local="CTGRY_ID"/>
        </foreign-key>
    </table>
    <table name="KRMS_FUNC_PARM_T">
        <column name="FUNC_PARM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="DESC_TXT" size="255" type="VARCHAR"/>
        <column name="TYP" required="true" size="255" type="VARCHAR"/>
        <column name="FUNC_ID" required="true" size="40" type="VARCHAR"/>
        <column name="SEQ_NO" required="true" size="5" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_FUNC_T" name="KRMS_FUNC_PARM_FK1">
            <reference foreign="FUNC_ID" local="FUNC_ID"/>
        </foreign-key>
        <index name="KRMS_FUNC_PARM_TI1">
            <index-column name="FUNC_ID"/>
        </index>
    </table>
    <table name="KRMS_FUNC_T">
        <column name="FUNC_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="DESC_TXT" size="255" type="VARCHAR"/>
        <column name="RTRN_TYP" required="true" size="255" type="VARCHAR"/>
        <column name="TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_TYP_T" name="KRMS_FUNC_FK1">
            <reference foreign="TYP_ID" local="TYP_ID"/>
        </foreign-key>
        <unique name="KRMS_FUNC_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
        <index name="KRMS_FUNC_TI1">
            <index-column name="TYP_ID"/>
        </index>
    </table>
    <table name="KRMS_NL_TMPL_ATTR_T">
        <column name="NL_TMPL_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NL_TMPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_DEFN_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_NL_TMPL_T" name="KRMS_NL_TMPL_ATTR_FK1">
            <reference foreign="NL_TMPL_ID" local="NL_TMPL_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_ATTR_DEFN_T" name="KRMS_NL_TMPL_ATTR_FK2">
            <reference foreign="ATTR_DEFN_ID" local="ATTR_DEFN_ID"/>
        </foreign-key>
        <unique name="KRMS_NL_TMPL_ATTR_TC1">
            <unique-column name="NL_TMPL_ID"/>
            <unique-column name="ATTR_DEFN_ID"/>
        </unique>
    </table>
    <table name="KRMS_NL_TMPL_T">
        <column name="NL_TMPL_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="LANG_CD" required="true" size="2" type="VARCHAR"/>
        <column name="NL_USAGE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="TMPL" required="true" size="4000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_TYP_T" name="KRMS_TYP_T">
            <reference foreign="TYP_ID" local="TYP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_NL_USAGE_T" name="KRMS_NL_TMPL_FK1">
            <reference foreign="NL_USAGE_ID" local="NL_USAGE_ID"/>
        </foreign-key>
        <unique name="KRMS_NL_TMPL_TC1">
            <unique-column name="LANG_CD"/>
            <unique-column name="NL_USAGE_ID"/>
            <unique-column name="TYP_ID"/>
        </unique>
    </table>
    <table name="KRMS_NL_USAGE_ATTR_T">
        <column name="NL_USAGE_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NL_USAGE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_DEFN_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_NL_USAGE_T" name="KRMS_NL_USAGE_ATTR_FK1">
            <reference foreign="NL_USAGE_ID" local="NL_USAGE_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_ATTR_DEFN_T" name="KRMS_NL_USAGE_ATTR_FK2">
            <reference foreign="ATTR_DEFN_ID" local="ATTR_DEFN_ID"/>
        </foreign-key>
        <unique name="KRMS_NL_USAGE_ATTR_TC1">
            <unique-column name="NL_USAGE_ID"/>
            <unique-column name="ATTR_DEFN_ID"/>
        </unique>
    </table>
    <table name="KRMS_NL_USAGE_T">
        <column name="NL_USAGE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="255" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="DESC_TXT" size="255" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <unique name="KRMS_NL_USAGE_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRMS_PROP_PARM_T">
        <column name="PROP_PARM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="PROP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="PARM_VAL" size="255" type="VARCHAR"/>
        <column name="PARM_TYP_CD" required="true" size="1" type="VARCHAR"/>
        <column name="SEQ_NO" required="true" size="5" type="DECIMAL"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_PROP_T" name="KRMS_PROP_PARM_FK1">
            <reference foreign="PROP_ID" local="PROP_ID"/>
        </foreign-key>
        <index name="KRMS_PROP_PARM_TI1">
            <index-column name="PROP_ID"/>
        </index>
    </table>
    <table name="KRMS_PROP_T">
        <column name="PROP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DESC_TXT" size="100" type="VARCHAR"/>
        <column name="TYP_ID" size="40" type="VARCHAR"/>
        <column name="DSCRM_TYP_CD" required="true" size="10" type="VARCHAR"/>
        <column name="CMPND_OP_CD" size="40" type="VARCHAR"/>
        <column name="RULE_ID" required="true" size="40" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="null" name="CMPND_SEQ_NO" size="5" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_TYP_T" name="KRMS_PROP_FK2">
            <reference foreign="TYP_ID" local="TYP_ID"/>
        </foreign-key>
        <index name="KRMS_PROP_FK2">
            <index-column name="TYP_ID"/>
        </index>
        <index name="KRMS_PROP_TI1">
            <index-column name="RULE_ID"/>
        </index>
    </table>
    <table name="KRMS_REF_OBJ_KRMS_OBJ_T">
        <column name="REF_OBJ_KRMS_OBJ_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="COLLECTION_NM" size="40" type="VARCHAR"/>
        <column name="KRMS_OBJ_ID" required="true" size="40" type="VARCHAR"/>
        <column name="KRMS_DSCR_TYP" required="true" size="40" type="VARCHAR"/>
        <column name="REF_OBJ_ID" required="true" size="255" type="VARCHAR"/>
        <column name="REF_DSCR_TYP" required="true" size="255" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <unique name="KRMS_REF_OBJ_KRMS_OBJ_TC1">
            <unique-column name="COLLECTION_NM"/>
            <unique-column name="KRMS_OBJ_ID"/>
            <unique-column name="KRMS_DSCR_TYP"/>
            <unique-column name="REF_OBJ_ID"/>
            <unique-column name="REF_DSCR_TYP"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRMS_RULE_ATTR_T">
        <column name="RULE_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="RULE_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_DEFN_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_RULE_T" name="KRMS_RULE_ATTR_FK1">
            <reference foreign="RULE_ID" local="RULE_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_ATTR_DEFN_T" name="KRMS_RULE_ATTR_FK2">
            <reference foreign="ATTR_DEFN_ID" local="ATTR_DEFN_ID"/>
        </foreign-key>
        <index name="KRMS_RULE_ATTR_TI1">
            <index-column name="RULE_ID"/>
        </index>
        <index name="KRMS_RULE_ATTR_TI2">
            <index-column name="ATTR_DEFN_ID"/>
        </index>
    </table>
    <table name="KRMS_RULE_T">
        <column name="RULE_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="TYP_ID" size="40" type="VARCHAR"/>
        <column name="PROP_ID" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="DESC_TXT" size="4000" type="VARCHAR"/>
        <foreign-key foreignTable="KRMS_PROP_T" name="KRMS_RULE_FK1">
            <reference foreign="PROP_ID" local="PROP_ID"/>
        </foreign-key>
        <unique name="KRMS_RULE_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
        <index name="KRMS_RULE_TI1">
            <index-column name="PROP_ID"/>
        </index>
    </table>
    <table name="KRMS_TERM_PARM_T">
        <column name="TERM_PARM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="TERM_ID" required="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="255" type="VARCHAR"/>
        <column name="VAL" size="255" type="VARCHAR"/>
        <column name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_TERM_T" name="KRMS_TERM_PARM_FK1">
            <reference foreign="TERM_ID" local="TERM_ID"/>
        </foreign-key>
        <index name="KRMS_TERM_PARM_TI1">
            <index-column name="TERM_ID"/>
        </index>
    </table>
    <table name="KRMS_TERM_RSLVR_ATTR_T">
        <column name="TERM_RSLVR_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="TERM_RSLVR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_DEFN_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_VAL" size="400" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_TERM_RSLVR_T" name="KRMS_TERM_RSLVR_ATTR_FK1">
            <reference foreign="TERM_RSLVR_ID" local="TERM_RSLVR_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_ATTR_DEFN_T" name="KRMS_TERM_RSLVR_ATTR_FK2">
            <reference foreign="ATTR_DEFN_ID" local="ATTR_DEFN_ID"/>
        </foreign-key>
        <index name="KRMS_TERM_RSLVR_ATTR_TI1">
            <index-column name="TERM_RSLVR_ID"/>
        </index>
        <index name="KRMS_TERM_RSLVR_ATTR_TI2">
            <index-column name="ATTR_DEFN_ID"/>
        </index>
    </table>
    <table name="KRMS_TERM_RSLVR_INPUT_SPEC_T">
        <column name="TERM_SPEC_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="TERM_RSLVR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KRMS_TERM_SPEC_T" name="KRMS_INPUT_ASSET_FK2">
            <reference foreign="TERM_SPEC_ID" local="TERM_SPEC_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_TERM_RSLVR_T" name="KRMS_INPUT_ASSET_FK1">
            <reference foreign="TERM_RSLVR_ID" local="TERM_RSLVR_ID"/>
        </foreign-key>
        <index name="KRMS_INPUT_ASSET_TI1">
            <index-column name="TERM_SPEC_ID"/>
        </index>
        <index name="KRMS_INPUT_ASSET_TI2">
            <index-column name="TERM_RSLVR_ID"/>
        </index>
    </table>
    <table name="KRMS_TERM_RSLVR_PARM_SPEC_T">
        <column name="TERM_RSLVR_PARM_SPEC_ID" primaryKey="true"
            size="40" type="VARCHAR"/>
        <column name="TERM_RSLVR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="45" type="VARCHAR"/>
        <column name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_TERM_RSLVR_T" name="KRMS_TERM_RESLV_PARM_FK1">
            <reference foreign="TERM_RSLVR_ID" local="TERM_RSLVR_ID"/>
        </foreign-key>
        <index name="KRMS_TERM_RESLV_PARM_FK1">
            <index-column name="TERM_RSLVR_ID"/>
        </index>
    </table>
    <table name="KRMS_TERM_RSLVR_T">
        <column name="TERM_RSLVR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="OUTPUT_TERM_SPEC_ID" required="true" size="40" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_TERM_SPEC_T" name="KRMS_TERM_RSLVR_FK1">
            <reference foreign="TERM_SPEC_ID" local="OUTPUT_TERM_SPEC_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_TYP_T" name="KRMS_TERM_RSLVR_FK3">
            <reference foreign="TYP_ID" local="TYP_ID"/>
        </foreign-key>
        <unique name="KRMS_TERM_RSLVR_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
        <index name="KRMS_TERM_RSLVR_TI2">
            <index-column name="TYP_ID"/>
        </index>
    </table>
    <table name="KRMS_TERM_SPEC_CTGRY_T">
        <column name="TERM_SPEC_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="CTGRY_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KRMS_CTGRY_T" name="KRMS_TERM_SPEC_CTGRY_FK2">
            <reference foreign="CTGRY_ID" local="CTGRY_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_TERM_SPEC_T" name="KRMS_TERM_SPEC_CTGRY_FK1">
            <reference foreign="TERM_SPEC_ID" local="TERM_SPEC_ID"/>
        </foreign-key>
    </table>
    <table name="KRMS_TERM_SPEC_T">
        <column name="TERM_SPEC_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="255" type="VARCHAR"/>
        <column name="TYP" required="true" size="255" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="null" name="DESC_TXT" size="255" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <unique name="KRMS_TERM_SPEC_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRMS_TERM_T">
        <column name="TERM_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="TERM_SPEC_ID" required="true" size="40" type="VARCHAR"/>
        <column name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="null" name="DESC_TXT" size="255" type="VARCHAR"/>
        <foreign-key foreignTable="KRMS_TERM_SPEC_T" name="KRMS_TERM_T__FK1">
            <reference foreign="TERM_SPEC_ID" local="TERM_SPEC_ID"/>
        </foreign-key>
        <index name="KRMS_TERM_TI1">
            <index-column name="TERM_SPEC_ID"/>
        </index>
    </table>
    <table name="KRMS_TYP_ATTR_T">
        <column name="TYP_ATTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="SEQ_NO" required="true" size="5" type="DECIMAL"/>
        <column name="TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="ATTR_DEFN_ID" required="true" size="255" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRMS_ATTR_DEFN_T" name="KRMS_TYP_ATTR_FK1">
            <reference foreign="ATTR_DEFN_ID" local="ATTR_DEFN_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_TYP_T" name="KRMS_TYP_ATTR_FK2">
            <reference foreign="TYP_ID" local="TYP_ID"/>
        </foreign-key>
        <unique name="KRMS_TYP_ATTR_TC1">
            <unique-column name="TYP_ID"/>
            <unique-column name="ATTR_DEFN_ID"/>
        </unique>
        <index name="KRMS_TYP_ATTR_TI1">
            <index-column name="ATTR_DEFN_ID"/>
        </index>
        <index name="KRMS_TYP_ATTR_TI2">
            <index-column name="TYP_ID"/>
        </index>
    </table>
    <table name="KRMS_TYP_RELN_T">
        <column name="TYP_RELN_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="FROM_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="TO_TYP_ID" required="true" size="40" type="VARCHAR"/>
        <column name="RELN_TYP" required="true" size="40" type="VARCHAR"/>
        <column name="SEQ_NO" required="true" size="5" type="DECIMAL"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <foreign-key foreignTable="KRMS_TYP_T" name="KRMS_TYP_RELN_FK1">
            <reference foreign="TYP_ID" local="FROM_TYP_ID"/>
        </foreign-key>
        <foreign-key foreignTable="KRMS_TYP_T" name="KRMS_TYP_RELN_FK2">
            <reference foreign="TYP_ID" local="TO_TYP_ID"/>
        </foreign-key>
        <unique name="KRMS_TYP_RELN_TC1">
            <unique-column name="FROM_TYP_ID"/>
            <unique-column name="TO_TYP_ID"/>
            <unique-column name="RELN_TYP"/>
        </unique>
    </table>
    <table name="KRMS_TYP_T">
        <column name="TYP_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="NM" required="true" size="100" type="VARCHAR"/>
        <column name="NMSPC_CD" required="true" size="40" type="VARCHAR"/>
        <column name="SRVC_NM" size="200" type="VARCHAR"/>
        <column default="Y" name="ACTV" required="true" size="1" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <unique name="KRMS_TYP_TC1">
            <unique-column name="NM"/>
            <unique-column name="NMSPC_CD"/>
        </unique>
    </table>
    <table name="KRNS_ADHOC_RTE_ACTN_RECIP_T">
        <column name="RECIP_TYP_CD" primaryKey="true" size="1" type="DECIMAL"/>
        <column name="ACTN_RQST_CD" primaryKey="true" size="30" type="VARCHAR"/>
        <column name="ACTN_RQST_RECIP_ID" primaryKey="true" size="70" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="DOC_HDR_ID" primaryKey="true" size="14" type="VARCHAR"/>
        <unique name="KRNS_ADHOC_RTE_ACTN_RECIP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRNS_ADHOC_RTE_ACTN_RECIP_T2">
            <index-column name="DOC_HDR_ID"/>
        </index>
    </table>
    <table name="KRNS_ATT_T">
        <column name="NTE_ID" primaryKey="true" size="14" type="DECIMAL"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="MIME_TYP" size="255" type="VARCHAR"/>
        <column name="FILE_NM" size="250" type="VARCHAR"/>
        <column name="ATT_ID" size="36" type="VARCHAR"/>
        <column name="FILE_SZ" size="14" type="DECIMAL"/>
        <column name="ATT_TYP_CD" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KRNS_NTE_T" name="KRNS_ATT_TR1">
            <reference foreign="NTE_ID" local="NTE_ID"/>
        </foreign-key>
        <unique name="KRNS_ATT_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRNS_DOC_HDR_T">
        <column name="DOC_HDR_ID" primaryKey="true" size="14" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="FDOC_DESC" size="255" type="VARCHAR"/>
        <column name="ORG_DOC_HDR_ID" size="10" type="VARCHAR"/>
        <column name="TMPL_DOC_HDR_ID" size="14" type="VARCHAR"/>
        <column name="EXPLANATION" size="400" type="VARCHAR"/>
        <unique name="KRNS_DOC_HDR_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRNS_DOC_HDR_TI3">
            <index-column name="ORG_DOC_HDR_ID"/>
        </index>
    </table>
    <table name="KRNS_LOOKUP_RSLT_T">
        <column name="LOOKUP_RSLT_ID" primaryKey="true" size="14" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="LOOKUP_DT" required="true" type="DATE"/>
        <column name="SERIALZD_RSLTS" type="CLOB"/>
        <unique name="KRNS_LOOKUP_RSLT_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRNS_LOOKUP_SEL_T">
        <column name="LOOKUP_RSLT_ID" primaryKey="true" size="14" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="LOOKUP_DT" required="true" type="DATE"/>
        <column name="SEL_OBJ_IDS" type="CLOB"/>
        <unique name="KRNS_LOOKUP_SEL_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRNS_MAINT_DOC_ATT_LST_T">
        <column name="ATT_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="14" type="VARCHAR"/>
        <column name="ATT_CNTNT" required="true" type="BLOB"/>
        <column name="FILE_NM" size="150" type="VARCHAR"/>
        <column name="CNTNT_TYP" size="255" type="VARCHAR"/>
        <column name="OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRNS_MAINT_DOC_T" name="KRNS_MAINT_DOC_ATT_LST_FK1">
            <reference foreign="DOC_HDR_ID" local="DOC_HDR_ID"/>
        </foreign-key>
        <unique name="KRNS_MAINT_DOC_ATT_LST_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRNS_MAINT_DOC_ATT_LST_TI1">
            <index-column name="DOC_HDR_ID"/>
        </index>
    </table>
    <table name="KRNS_MAINT_DOC_ATT_T">
        <column name="DOC_HDR_ID" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="ATT_CNTNT" required="true" type="BLOB"/>
        <column name="FILE_NM" size="150" type="VARCHAR"/>
        <column name="CNTNT_TYP" size="255" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <unique name="KRNS_MAINT_DOC_ATT_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRNS_MAINT_DOC_T">
        <column name="DOC_HDR_ID" primaryKey="true" size="14" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="DOC_CNTNT" type="CLOB"/>
        <foreign-key foreignTable="KRNS_DOC_HDR_T" name="KRNS_MAINT_DOC_TR1">
            <reference foreign="DOC_HDR_ID" local="DOC_HDR_ID"/>
        </foreign-key>
        <unique name="KRNS_MAINT_DOC_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRNS_MAINT_LOCK_T">
        <column name="MAINT_LOCK_REP_TXT" size="500" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="DOC_HDR_ID" required="true" size="14" type="VARCHAR"/>
        <column name="MAINT_LOCK_ID" primaryKey="true" size="14" type="VARCHAR"/>
        <unique name="KRNS_MAINT_LOCK_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRNS_MAINT_LOCK_TI2">
            <index-column name="DOC_HDR_ID"/>
        </index>
    </table>
    <table name="KRNS_NTE_T">
        <column name="NTE_ID" primaryKey="true" size="14" type="DECIMAL"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="RMT_OBJ_ID" required="true" size="36" type="VARCHAR"/>
        <column name="AUTH_PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column name="POST_TS" required="true" type="DATE"/>
        <column name="NTE_TYP_CD" required="true" size="4" type="VARCHAR"/>
        <column name="TXT" size="800" type="VARCHAR"/>
        <column name="PRG_CD" size="1" type="VARCHAR"/>
        <column name="TPC_TXT" size="40" type="VARCHAR"/>
        <foreign-key foreignTable="KRNS_NTE_TYP_T" name="KRNS_NTE_TR1">
            <reference foreign="NTE_TYP_CD" local="NTE_TYP_CD"/>
        </foreign-key>
        <unique name="KRNS_NTE_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRNS_NTE_TI1">
            <index-column name="RMT_OBJ_ID"/>
        </index>
    </table>
    <table name="KRNS_NTE_TYP_T">
        <column name="NTE_TYP_CD" primaryKey="true" size="4" type="VARCHAR"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="TYP_DESC_TXT" size="100" type="VARCHAR"/>
        <column name="ACTV_IND" size="1" type="VARCHAR"/>
        <unique name="KRNS_NTE_TYP_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
    </table>
    <table name="KRNS_PESSIMISTIC_LOCK_T">
        <column name="PESSIMISTIC_LOCK_ID" primaryKey="true" size="14" type="DECIMAL"/>
        <column default="SYS_GUID()" name="OBJ_ID" required="true"
            size="36" type="VARCHAR"/>
        <column default="1" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <column name="LOCK_DESC_TXT" size="4000" type="VARCHAR"/>
        <column name="DOC_HDR_ID" required="true" size="14" type="VARCHAR"/>
        <column name="GNRT_DT" required="true" type="DATE"/>
        <column name="PRNCPL_ID" required="true" size="40" type="VARCHAR"/>
        <column default="undefined" name="SESN_ID" required="true"
            size="40" type="VARCHAR"/>
        <unique name="KRNS_PESSIMISTIC_LOCK_TC0">
            <unique-column name="OBJ_ID"/>
        </unique>
        <index name="KRNS_PESSIMISTIC_LOCK_TI1">
            <index-column name="DOC_HDR_ID"/>
        </index>
        <index name="KRNS_PESSIMISTIC_LOCK_TI2">
            <index-column name="PRNCPL_ID"/>
        </index>
    </table>
    <table name="KRNS_SESN_DOC_T">
        <column name="SESN_DOC_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DOC_HDR_ID" primaryKey="true" size="14" type="VARCHAR"/>
        <column name="PRNCPL_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="IP_ADDR" primaryKey="true" size="60" type="VARCHAR"/>
        <column name="SERIALZD_DOC_FRM" type="BLOB"/>
        <column name="LAST_UPDT_DT" type="DATE"/>
        <column default="N" name="CONTENT_ENCRYPTED_IND" size="1" type="CHAR"/>
        <column name="OBJ_ID" size="36" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KRNS_SESN_DOC_TI1">
            <index-column name="LAST_UPDT_DT"/>
        </index>
    </table>
    <table name="KRSB_BAM_PARM_T">
        <column name="BAM_PARM_ID" primaryKey="true" size="14" type="DECIMAL"/>
        <column name="BAM_ID" required="true" size="14" type="DECIMAL"/>
        <column name="PARM" required="true" type="CLOB"/>
        <index name="KREW_BAM_PARM_TI1">
            <index-column name="BAM_ID"/>
        </index>
    </table>
    <table name="KRSB_BAM_T">
        <column name="BAM_ID" primaryKey="true" size="14" type="DECIMAL"/>
        <column name="SVC_NM" required="true" size="255" type="VARCHAR"/>
        <column name="SVC_URL" required="true" size="500" type="VARCHAR"/>
        <column name="MTHD_NM" required="true" size="2000" type="VARCHAR"/>
        <column name="THRD_NM" required="true" size="500" type="VARCHAR"/>
        <column name="CALL_DT" required="true" type="DATE"/>
        <column name="TGT_TO_STR" required="true" size="2000" type="VARCHAR"/>
        <column name="SRVR_IND" required="true" size="1" type="DECIMAL"/>
        <column name="EXCPN_TO_STR" size="2000" type="VARCHAR"/>
        <column name="EXCPN_MSG" type="CLOB"/>
        <index name="KRSB_BAM_TI1">
            <index-column name="SVC_NM"/>
            <index-column name="MTHD_NM"/>
        </index>
        <index name="KRSB_BAM_TI2">
            <index-column name="SVC_NM"/>
        </index>
    </table>
    <table name="KRSB_MSG_PYLD_T">
        <column name="MSG_QUE_ID" primaryKey="true" size="14" type="DECIMAL"/>
        <column name="MSG_PYLD" required="true" type="CLOB"/>
    </table>
    <table name="KRSB_MSG_QUE_T">
        <column name="MSG_QUE_ID" primaryKey="true" size="14" type="DECIMAL"/>
        <column name="DT" required="true" type="DATE"/>
        <column name="EXP_DT" type="DATE"/>
        <column name="PRIO" required="true" size="8" type="DECIMAL"/>
        <column name="STAT_CD" required="true" size="1" type="CHAR"/>
        <column name="RTRY_CNT" required="true" size="8" type="DECIMAL"/>
        <column name="IP_NBR" required="true" size="2000" type="VARCHAR"/>
        <column name="SVC_NM" size="255" type="VARCHAR"/>
        <column name="APPL_ID" required="true" size="255" type="VARCHAR"/>
        <column name="SVC_MTHD_NM" size="2000" type="VARCHAR"/>
        <column name="APP_VAL_ONE" size="2000" type="VARCHAR"/>
        <column name="APP_VAL_TWO" size="2000" type="VARCHAR"/>
        <column default="0" name="VER_NBR" size="8" type="DECIMAL"/>
        <index name="KRSB_MSG_QUE_TI1">
            <index-column name="SVC_NM"/>
            <index-column name="SVC_MTHD_NM"/>
        </index>
        <index name="KRSB_MSG_QUE_TI2">
            <index-column name="APPL_ID"/>
            <index-column name="STAT_CD"/>
            <index-column name="IP_NBR"/>
            <index-column name="DT"/>
        </index>
    </table>
    <table name="KRSB_QRTZ_BLOB_TRIGGERS">
        <column name="TRIGGER_NAME" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="TRIGGER_GROUP" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="BLOB_DATA" type="BLOB"/>
        <foreign-key foreignTable="KRSB_QRTZ_TRIGGERS" name="KRSB_QRTZ_BLOB_TRIGGERS_TR1">
            <reference foreign="TRIGGER_NAME" local="TRIGGER_NAME"/>
            <reference foreign="TRIGGER_GROUP" local="TRIGGER_GROUP"/>
        </foreign-key>
    </table>
    <table name="KRSB_QRTZ_CALENDARS">
        <column name="CALENDAR_NAME" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="CALENDAR" required="true" type="BLOB"/>
    </table>
    <table name="KRSB_QRTZ_CRON_TRIGGERS">
        <column name="TRIGGER_NAME" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="TRIGGER_GROUP" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="CRON_EXPRESSION" required="true" size="80" type="VARCHAR"/>
        <column name="TIME_ZONE_ID" size="80" type="VARCHAR"/>
        <foreign-key foreignTable="KRSB_QRTZ_TRIGGERS" name="KRSB_QRTZ_CRON_TRIGGERS_TR1">
            <reference foreign="TRIGGER_NAME" local="TRIGGER_NAME"/>
            <reference foreign="TRIGGER_GROUP" local="TRIGGER_GROUP"/>
        </foreign-key>
    </table>
    <table name="KRSB_QRTZ_FIRED_TRIGGERS">
        <column name="ENTRY_ID" primaryKey="true" size="95" type="VARCHAR"/>
        <column name="TRIGGER_NAME" required="true" size="80" type="VARCHAR"/>
        <column name="TRIGGER_GROUP" required="true" size="80" type="VARCHAR"/>
        <column name="IS_VOLATILE" required="true" size="1" type="VARCHAR"/>
        <column name="INSTANCE_NAME" required="true" size="80" type="VARCHAR"/>
        <column name="FIRED_TIME" required="true" size="13" type="DECIMAL"/>
        <column name="PRIORITY" required="true" size="13" type="DECIMAL"/>
        <column name="STATE" required="true" size="16" type="VARCHAR"/>
        <column name="JOB_NAME" size="80" type="VARCHAR"/>
        <column name="JOB_GROUP" size="80" type="VARCHAR"/>
        <column name="IS_STATEFUL" size="1" type="VARCHAR"/>
        <column name="REQUESTS_RECOVERY" size="1" type="VARCHAR"/>
        <index name="KRSB_QRTZ_FIRED_TRIGGERS_TI1">
            <index-column name="JOB_GROUP"/>
        </index>
        <index name="KRSB_QRTZ_FIRED_TRIGGERS_TI2">
            <index-column name="JOB_NAME"/>
        </index>
        <index name="KRSB_QRTZ_FIRED_TRIGGERS_TI3">
            <index-column name="REQUESTS_RECOVERY"/>
        </index>
        <index name="KRSB_QRTZ_FIRED_TRIGGERS_TI4">
            <index-column name="IS_STATEFUL"/>
        </index>
        <index name="KRSB_QRTZ_FIRED_TRIGGERS_TI5">
            <index-column name="TRIGGER_GROUP"/>
        </index>
        <index name="KRSB_QRTZ_FIRED_TRIGGERS_TI6">
            <index-column name="INSTANCE_NAME"/>
        </index>
        <index name="KRSB_QRTZ_FIRED_TRIGGERS_TI7">
            <index-column name="TRIGGER_NAME"/>
        </index>
        <index name="KRSB_QRTZ_FIRED_TRIGGERS_TI8">
            <index-column name="TRIGGER_NAME"/>
            <index-column name="TRIGGER_GROUP"/>
        </index>
        <index name="KRSB_QRTZ_FIRED_TRIGGERS_TI9">
            <index-column name="IS_VOLATILE"/>
        </index>
    </table>
    <table name="KRSB_QRTZ_JOB_DETAILS">
        <column name="JOB_NAME" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="JOB_GROUP" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="DESCRIPTION" size="120" type="VARCHAR"/>
        <column name="JOB_CLASS_NAME" required="true" size="128" type="VARCHAR"/>
        <column name="IS_DURABLE" required="true" size="1" type="VARCHAR"/>
        <column name="IS_VOLATILE" required="true" size="1" type="VARCHAR"/>
        <column name="IS_STATEFUL" required="true" size="1" type="VARCHAR"/>
        <column name="REQUESTS_RECOVERY" required="true" size="1" type="VARCHAR"/>
        <column name="JOB_DATA" type="BLOB"/>
        <index name="KRSB_QRTZ_JOB_DETAILS_TI1">
            <index-column name="REQUESTS_RECOVERY"/>
        </index>
    </table>
    <table name="KRSB_QRTZ_JOB_LISTENERS">
        <column name="JOB_NAME" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="JOB_GROUP" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="JOB_LISTENER" primaryKey="true" size="80" type="VARCHAR"/>
        <foreign-key foreignTable="KRSB_QRTZ_JOB_DETAILS" name="KRSB_QUARTZ_JOB_LISTENERS_TR1">
            <reference foreign="JOB_NAME" local="JOB_NAME"/>
            <reference foreign="JOB_GROUP" local="JOB_GROUP"/>
        </foreign-key>
    </table>
    <table name="KRSB_QRTZ_LOCKS">
        <column name="LOCK_NAME" primaryKey="true" size="40" type="VARCHAR"/>
    </table>
    <table name="KRSB_QRTZ_PAUSED_TRIGGER_GRPS">
        <column name="TRIGGER_GROUP" primaryKey="true" size="80" type="VARCHAR"/>
    </table>
    <table name="KRSB_QRTZ_SCHEDULER_STATE">
        <column name="INSTANCE_NAME" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="LAST_CHECKIN_TIME" required="true" size="13" type="DECIMAL"/>
        <column name="CHECKIN_INTERVAL" required="true" size="13" type="DECIMAL"/>
    </table>
    <table name="KRSB_QRTZ_SIMPLE_TRIGGERS">
        <column name="TRIGGER_NAME" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="TRIGGER_GROUP" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="REPEAT_COUNT" required="true" size="7" type="DECIMAL"/>
        <column name="REPEAT_INTERVAL" required="true" size="12" type="DECIMAL"/>
        <column name="TIMES_TRIGGERED" required="true" size="7" type="DECIMAL"/>
        <foreign-key foreignTable="KRSB_QRTZ_TRIGGERS" name="KRSB_QRTZ_SIMPLE_TRIGGERS_TR1">
            <reference foreign="TRIGGER_NAME" local="TRIGGER_NAME"/>
            <reference foreign="TRIGGER_GROUP" local="TRIGGER_GROUP"/>
        </foreign-key>
    </table>
    <table name="KRSB_QRTZ_TRIGGERS">
        <column name="TRIGGER_NAME" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="TRIGGER_GROUP" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="JOB_NAME" required="true" size="80" type="VARCHAR"/>
        <column name="JOB_GROUP" required="true" size="80" type="VARCHAR"/>
        <column name="IS_VOLATILE" required="true" size="1" type="VARCHAR"/>
        <column name="DESCRIPTION" size="120" type="VARCHAR"/>
        <column name="NEXT_FIRE_TIME" size="13" type="DECIMAL"/>
        <column name="PREV_FIRE_TIME" size="13" type="DECIMAL"/>
        <column name="PRIORITY" size="13" type="DECIMAL"/>
        <column name="TRIGGER_STATE" required="true" size="16" type="VARCHAR"/>
        <column name="TRIGGER_TYPE" required="true" size="8" type="VARCHAR"/>
        <column name="START_TIME" required="true" size="13" type="DECIMAL"/>
        <column name="END_TIME" size="13" type="DECIMAL"/>
        <column name="CALENDAR_NAME" size="80" type="VARCHAR"/>
        <column name="MISFIRE_INSTR" size="2" type="DECIMAL"/>
        <column name="JOB_DATA" type="BLOB"/>
        <index name="KRSB_QRTZ_TRIGGERS_TI1">
            <index-column name="NEXT_FIRE_TIME"/>
        </index>
        <index name="KRSB_QRTZ_TRIGGERS_TI2">
            <index-column name="NEXT_FIRE_TIME"/>
            <index-column name="TRIGGER_STATE"/>
        </index>
        <index name="KRSB_QRTZ_TRIGGERS_TI3">
            <index-column name="TRIGGER_STATE"/>
        </index>
        <index name="KRSB_QRTZ_TRIGGERS_TI4">
            <index-column name="IS_VOLATILE"/>
        </index>
    </table>
    <table name="KRSB_QRTZ_TRIGGER_LISTENERS">
        <column name="TRIGGER_NAME" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="TRIGGER_GROUP" primaryKey="true" size="80" type="VARCHAR"/>
        <column name="TRIGGER_LISTENER" primaryKey="true" size="80" type="VARCHAR"/>
        <foreign-key foreignTable="KRSB_QRTZ_TRIGGERS" name="KRSB_QRTZ_TRIGGER_LISTENE_TR1">
            <reference foreign="TRIGGER_NAME" local="TRIGGER_NAME"/>
            <reference foreign="TRIGGER_GROUP" local="TRIGGER_GROUP"/>
        </foreign-key>
    </table>
    <table name="KRSB_SVC_DEF_T">
        <column name="SVC_DEF_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="SVC_NM" required="true" size="255" type="VARCHAR"/>
        <column name="SVC_URL" required="true" size="500" type="VARCHAR"/>
        <column name="INSTN_ID" required="true" size="255" type="VARCHAR"/>
        <column name="APPL_ID" required="true" size="255" type="VARCHAR"/>
        <column name="SRVR_IP" required="true" size="40" type="VARCHAR"/>
        <column name="TYP_CD" required="true" size="40" type="VARCHAR"/>
        <column name="SVC_VER" required="true" size="40" type="VARCHAR"/>
        <column name="STAT_CD" required="true" size="1" type="VARCHAR"/>
        <column name="SVC_DSCRPTR_ID" required="true" size="40" type="VARCHAR"/>
        <column name="CHKSM" required="true" size="30" type="VARCHAR"/>
        <column default="0" name="VER_NBR" required="true" size="8" type="DECIMAL"/>
        <foreign-key foreignTable="KRSB_SVC_DSCRPTR_T"
            name="KRSB_SVC_DEF_FK1" onDelete="cascade">
            <reference foreign="SVC_DSCRPTR_ID" local="SVC_DSCRPTR_ID"/>
        </foreign-key>
        <index name="KRSB_SVC_DEF_TI1">
            <index-column name="INSTN_ID"/>
        </index>
        <index name="KRSB_SVC_DEF_TI2">
            <index-column name="SVC_NM"/>
            <index-column name="STAT_CD"/>
        </index>
        <index name="KRSB_SVC_DEF_TI3">
            <index-column name="STAT_CD"/>
        </index>
        <index name="KRSB_SVC_DEF_TI4">
            <index-column name="SVC_DSCRPTR_ID"/>
        </index>
    </table>
    <table name="KRSB_SVC_DSCRPTR_T">
        <column name="SVC_DSCRPTR_ID" primaryKey="true" size="40" type="VARCHAR"/>
        <column name="DSCRPTR" required="true" type="CLOB"/>
    </table>
    <view name="KRIM_GRP_MBR_V" viewdefinition="SELECT g.NMSPC_CD&#xa;, g.grp_nm&#xa;, g.GRP_ID&#xa;, p.PRNCPL_NM&#xa;, p.PRNCPL_ID&#xa;, mg.GRP_NM AS mbr_grp_nm&#xa;, mg.GRP_ID AS mbr_grp_id&#xa;FROM KRIM_GRP_MBR_T gm&#xa;LEFT JOIN krim_grp_t g&#xa;ON g.GRP_ID = gm.GRP_ID&#xa;LEFT OUTER JOIN krim_grp_t mg&#xa;ON mg.GRP_ID = gm.MBR_ID&#xa;AND gm.MBR_TYP_CD = 'G'&#xa;LEFT OUTER JOIN krim_prncpl_t p&#xa;ON p.PRNCPL_ID = gm.MBR_ID&#xa;AND gm.MBR_TYP_CD = 'P'&#xa;LEFT OUTER JOIN krim_entity_nm_t en&#xa;ON en.ENTITY_ID = p.ENTITY_ID&#xa;AND en.DFLT_IND = 'Y'&#xa;AND en.ACTV_IND = 'Y'&#xa;ORDER BY nmspc_cd, grp_nm, prncpl_nm&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_GRP_V" viewdefinition="SELECT g.NMSPC_CD&#xa;, g.grp_nm&#xa;, g.GRP_ID&#xa;, t.NM AS grp_typ_nm&#xa;, a.NM AS attr_nm&#xa;, d.ATTR_VAL AS attr_val&#xa;FROM krim_grp_t g&#xa;LEFT OUTER JOIN KRIM_GRP_ATTR_DATA_T d&#xa;ON d.grp_id = g.GRP_ID&#xa;LEFT OUTER JOIN KRIM_ATTR_DEFN_T a&#xa;ON a.KIM_ATTR_DEFN_ID = d.KIM_ATTR_DEFN_ID&#xa;LEFT OUTER JOIN KRIM_TYP_T t&#xa;ON g.KIM_TYP_ID = t.KIM_TYP_ID&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_PERM_ATTR_V" viewdefinition="SELECT&#xa;t.nmspc_cd AS tmpl_nmspc_cd&#xa;, t.NM AS tmpl_nm&#xa;, t.PERM_TMPL_ID&#xa;, p.nmspc_cd AS perm_nmspc_cd&#xa;, p.NM AS perm_nm&#xa;, p.PERM_ID&#xa;, a.NM AS attr_nm&#xa;, ad.ATTR_VAL AS attr_val&#xa;FROM KRIM_PERM_T p&#xa;LEFT JOIN KRIM_PERM_TMPL_T t&#xa;ON p.PERM_TMPL_ID = t.PERM_TMPL_ID&#xa;LEFT OUTER JOIN KRIM_PERM_ATTR_DATA_T ad&#xa;ON p.PERM_ID = ad.perm_id&#xa;LEFT OUTER JOIN KRIM_ATTR_DEFN_T a&#xa;ON ad.KIM_ATTR_DEFN_ID = a.KIM_ATTR_DEFN_ID&#xa;ORDER BY tmpl_nmspc_cd, tmpl_nm, perm_nmspc_cd, perm_id, attr_nm&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_PERM_V" viewdefinition="SELECT&#xa;t.nmspc_cd AS tmpl_nmspc_cd&#xa;, t.NM AS tmpl_nm&#xa;, t.PERM_TMPL_ID&#xa;, p.nmspc_cd AS perm_nmspc_cd&#xa;, p.NM AS perm_nm&#xa;, p.PERM_ID&#xa;, typ.NM AS perm_typ_nm&#xa;, typ.SRVC_NM&#xa;FROM KRIM_PERM_T p&#xa;INNER JOIN KRIM_PERM_TMPL_T t&#xa;ON p.PERM_TMPL_ID = t.PERM_TMPL_ID&#xa;LEFT OUTER JOIN KRIM_TYP_T typ&#xa;ON t.KIM_TYP_ID = typ.KIM_TYP_ID&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_PRNCPL_V" viewdefinition="SELECT&#xa;p.PRNCPL_ID&#xa;,p.PRNCPL_NM&#xa;,en.FIRST_NM&#xa;,en.LAST_NM&#xa;,ea.AFLTN_TYP_CD&#xa;,ea.CAMPUS_CD&#xa;,eei.EMP_STAT_CD&#xa;,eei.EMP_TYP_CD&#xa;FROM krim_prncpl_t p&#xa;LEFT OUTER JOIN krim_entity_emp_info_t eei&#xa;ON eei.ENTITY_ID = p.ENTITY_ID&#xa;LEFT OUTER JOIN krim_entity_afltn_t ea&#xa;ON ea.ENTITY_ID = p.ENTITY_ID&#xa;LEFT OUTER JOIN krim_entity_nm_t en&#xa;ON p.ENTITY_ID = en.ENTITY_ID&#xa;AND 'Y' = en.DFLT_IND&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_ROLE_GRP_V" viewdefinition="SELECT r.NMSPC_CD&#xa;, r.ROLE_NM&#xa;, r.role_id&#xa;, g.NMSPC_CD AS grp_nmspc_cd&#xa;, g.GRP_NM&#xa;, rm.ROLE_MBR_ID&#xa;, a.NM AS attr_nm&#xa;, d.ATTR_VAL AS attr_val&#xa;FROM KRIM_ROLE_MBR_T rm&#xa;LEFT JOIN KRIM_ROLE_T r&#xa;ON r.ROLE_ID = rm.ROLE_ID&#xa;LEFT JOIN KRIM_GRP_T g&#xa;ON g.GRP_ID = rm.MBR_ID&#xa;LEFT OUTER JOIN KRIM_ROLE_MBR_ATTR_DATA_T d&#xa;ON d.role_mbr_id = rm.ROLE_MBR_ID&#xa;LEFT OUTER JOIN KRIM_ATTR_DEFN_T a&#xa;ON a.KIM_ATTR_DEFN_ID = d.KIM_ATTR_DEFN_ID&#xa;WHERE rm.MBR_TYP_CD = 'G'&#xa;ORDER BY nmspc_cd, role_nm, grp_nmspc_cd, grp_nm, role_mbr_id, attr_nm&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_ROLE_PERM_V" viewdefinition="SELECT r.NMSPC_CD&#xa;, r.ROLE_NM&#xa;, r.role_id&#xa;, pt.NMSPC_CD AS tmpl_nmspc_cd&#xa;, pt.NM AS tmpl_nm&#xa;, pt.PERM_TMPL_ID&#xa;, p.NMSPC_CD AS perm_nmpsc_cd&#xa;, p.NM AS perm_nm&#xa;, p.PERM_ID&#xa;, a.NM AS attr_nm&#xa;, ad.ATTR_VAL AS attr_val&#xa;FROM KRIM_PERM_T p&#xa;LEFT JOIN KRIM_PERM_TMPL_T pt&#xa;ON p.PERM_TMPL_ID = pt.PERM_TMPL_ID&#xa;LEFT OUTER JOIN KRIM_PERM_ATTR_DATA_T ad&#xa;ON p.PERM_ID = ad.perm_id&#xa;LEFT OUTER JOIN KRIM_ATTR_DEFN_T a&#xa;ON ad.KIM_ATTR_DEFN_ID = a.KIM_ATTR_DEFN_ID&#xa;LEFT OUTER JOIN KRIM_ROLE_PERM_T rp&#xa;ON rp.PERM_ID = p.PERM_ID&#xa;LEFT OUTER JOIN KRIM_ROLE_T r&#xa;ON rp.ROLE_ID = r.ROLE_ID&#xa;ORDER BY NMSPC_CD, role_nm, tmpl_nmspc_cd, tmpl_nm, perm_id, attr_nm&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_ROLE_PRNCPL_V" viewdefinition="SELECT r.NMSPC_CD&#xa;, r.ROLE_NM&#xa;, r.ROLE_ID&#xa;, p.PRNCPL_NM&#xa;, p.PRNCPL_ID&#xa;, en.FIRST_NM&#xa;, en.LAST_NM&#xa;, rm.ROLE_MBR_ID&#xa;, ad.NM AS attr_nm&#xa;, rmad.ATTR_VAL AS attr_val&#xa;FROM KRIM_ROLE_T r&#xa;LEFT OUTER JOIN KRIM_ROLE_MBR_T rm&#xa;ON r.ROLE_ID = rm.ROLE_ID&#xa;LEFT OUTER JOIN KRIM_ROLE_MBR_ATTR_DATA_T rmad&#xa;ON rm.ROLE_MBR_ID = rmad.role_mbr_id&#xa;LEFT OUTER JOIN KRIM_ATTR_DEFN_T ad&#xa;ON rmad.KIM_ATTR_DEFN_ID = ad.KIM_ATTR_DEFN_ID&#xa;LEFT OUTER JOIN KRIM_PRNCPL_T p&#xa;ON rm.MBR_ID = p.PRNCPL_ID&#xa;AND rm.mbr_typ_cd = 'P'&#xa;LEFT OUTER JOIN KRIM_ENTITY_NM_T en&#xa;ON p.ENTITY_ID = en.ENTITY_ID&#xa;WHERE (en.DFLT_IND = 'Y')&#xa;ORDER BY nmspc_cd, role_nm, prncpl_nm, rm.ROLE_MBR_ID, attr_nm&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_ROLE_ROLE_V" viewdefinition="SELECT r.NMSPC_CD&#xa;, r.ROLE_NM&#xa;, r.role_id&#xa;, mr.NMSPC_CD AS mbr_role_nmspc_cd&#xa;, mr.role_NM AS mbr_role_nm&#xa;, mr.role_id AS mbr_role_id&#xa;, rm.role_mbr_id&#xa;, a.NM AS attr_nm&#xa;, d.ATTR_VAL AS attr_val&#xa;FROM KRIM_ROLE_MBR_T rm&#xa;LEFT JOIN KRIM_ROLE_T r&#xa;ON r.ROLE_ID = rm.ROLE_ID&#xa;LEFT JOIN KRIM_role_T mr&#xa;ON mr.role_ID = rm.MBR_ID&#xa;LEFT OUTER JOIN KRIM_ROLE_MBR_ATTR_DATA_T d&#xa;ON d.role_mbr_id = rm.ROLE_MBR_ID&#xa;LEFT OUTER JOIN KRIM_ATTR_DEFN_T a&#xa;ON a.KIM_ATTR_DEFN_ID = d.KIM_ATTR_DEFN_ID&#xa;WHERE rm.MBR_TYP_CD = 'R'&#xa;ORDER BY nmspc_cd, role_nm, mbr_role_nmspc_cd, mbr_role_nm, role_mbr_id, attr_nm&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_ROLE_V" viewdefinition="SELECT r.NMSPC_CD&#xa;, r.ROLE_NM&#xa;, r.ROLE_ID&#xa;, t.nm AS role_typ_nm&#xa;, t.SRVC_NM&#xa;, t.KIM_TYP_ID&#xa;FROM KRIM_ROLE_T r&#xa;, KRIM_TYP_T t&#xa;WHERE t.KIM_TYP_ID = r.KIM_TYP_ID&#xa;AND r.ACTV_IND = 'Y'&#xa;ORDER BY nmspc_cd&#xa;, role_nm&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_RSP_ATTR_V" viewdefinition="SELECT&#xa;krim_typ_t.NM AS responsibility_type_name&#xa;, KRIM_rsp_TMPL_T.NM AS rsp_TEMPLATE_NAME&#xa;, KRIM_rsp_T.nmspc_cd AS rsp_namespace_code&#xa;, KRIM_rsp_T.NM AS rsp_NAME&#xa;, krim_rsp_t.RSP_ID AS rsp_id&#xa;, KRIM_ATTR_DEFN_T.NM AS attribute_name&#xa;, KRIM_rsp_ATTR_DATA_T.ATTR_VAL AS attribute_value&#xa;FROM KRIM_rsp_T KRIM_rsp_T&#xa;INNER JOIN KRIM_rsp_ATTR_DATA_T KRIM_rsp_ATTR_DATA_T&#xa;ON KRIM_rsp_T.rsp_ID = KRIM_rsp_ATTR_DATA_T.rsp_id&#xa;INNER JOIN KRIM_ATTR_DEFN_T KRIM_ATTR_DEFN_T&#xa;ON KRIM_rsp_ATTR_DATA_T.KIM_ATTR_DEFN_ID = KRIM_ATTR_DEFN_T.KIM_ATTR_DEFN_ID&#xa;INNER JOIN KRIM_rsp_TMPL_T KRIM_rsp_TMPL_T&#xa;ON KRIM_rsp_T.rsp_TMPL_ID = KRIM_rsp_TMPL_T.rsp_TMPL_ID&#xa;INNER JOIN KRIM_TYP_T KRIM_TYP_T&#xa;ON KRIM_rsp_TMPL_T.KIM_TYP_ID = KRIM_TYP_T.KIM_TYP_ID&#xa;ORDER BY rsp_TEMPLATE_NAME, rsp_NAME, attribute_name&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_RSP_ROLE_ACTN_V" viewdefinition="select&#xa;rsp.nmspc_cd as rsp_nmspc_cd&#xa;, rsp.rsp_id&#xa;, r.NMSPC_CD&#xa;, r.ROLE_NM&#xa;, rr.ROLE_ID&#xa;, rm.MBR_ID&#xa;, rm.MBR_TYP_CD&#xa;, rm.ROLE_MBR_ID&#xa;, actn.ACTN_TYP_CD&#xa;, actn.ACTN_PLCY_CD&#xa;, actn.FRC_ACTN&#xa;, actn.PRIORITY_NBR&#xa;from krim_rsp_t rsp&#xa;left join krim_rsp_tmpl_t rspt&#xa;on rsp.rsp_tmpl_id = rspt.rsp_tmpl_id&#xa;left outer join krim_role_rsp_t rr&#xa;on rr.rsp_id = rsp.rsp_id&#xa;left outer join KRIM_ROLE_MBR_T rm&#xa;ON rm.ROLE_ID = rr.ROLE_ID&#xa;left outer join KRIM_ROLE_RSP_ACTN_T actn&#xa;ON actn.ROLE_RSP_ID = rr.ROLE_RSP_ID&#xa;AND (actn.ROLE_MBR_ID = rm.ROLE_MBR_ID OR actn.ROLE_MBR_ID = '*')&#xa;left outer join krim_role_t r&#xa;on rr.role_id = r.role_id&#xa;order by rsp_nmspc_cd&#xa;, rsp_id&#xa;, role_id&#xa;, role_mbr_id&#xa;&#xa;&#xa;&#xa;"/>
    <view name="KRIM_RSP_ROLE_V" viewdefinition="select&#xa;rspt.nmspc_cd as rsp_tmpl_nmspc_cd&#xa;, rspt.nm as rsp_tmpl_nm&#xa;, rsp.nmspc_cd as rsp_nmspc_cd&#xa;, rsp.nm as rsp_nm&#xa;, rsp.rsp_id&#xa;, a.nm as attr_nm&#xa;, d.attr_val&#xa;, r.NMSPC_CD&#xa;, r.ROLE_NM&#xa;, rr.ROLE_ID&#xa;from krim_rsp_t rsp&#xa;left join krim_rsp_tmpl_t rspt&#xa;on rsp.rsp_tmpl_id = rspt.rsp_tmpl_id&#xa;left outer join krim_rsp_attr_data_t d&#xa;on rsp.rsp_id = d.rsp_id&#xa;left outer join krim_attr_defn_t a&#xa;on d.kim_attr_defn_id = a.kim_attr_defn_id&#xa;left outer join krim_role_rsp_t rr&#xa;on rr.rsp_id = rsp.rsp_id&#xa;left outer join krim_role_t r&#xa;on rr.role_id = r.role_id&#xa;order by rsp_tmpl_nmspc_cd, rsp_tmpl_nm, rsp_nmspc_cd, rsp_nm, rsp_id, attr_nm, attr_val&#xa;&#xa;&#xa;&#xa;"/>
    <sequence name="KREN_CHNL_S" nextval="1000"/>
    <sequence name="KREN_CHNL_SUBSCRP_S" nextval="1020"/>
    <sequence name="KREN_CNTNT_TYP_S" nextval="1000"/>
    <sequence name="KREN_MSG_DELIV_S" nextval="1000"/>
    <sequence name="KREN_MSG_S" nextval="1000"/>
    <sequence name="KREN_NTFCTN_MSG_DELIV_S" nextval="1000"/>
    <sequence name="KREN_NTFCTN_S" nextval="1000"/>
    <sequence name="KREN_PRIO_S" nextval="1000"/>
    <sequence name="KREN_PRODCR_S" nextval="1000"/>
    <sequence name="KREN_RECIP_DELIV_S" nextval="1000"/>
    <sequence name="KREN_RECIP_LIST_S" nextval="1000"/>
    <sequence name="KREN_RECIP_PREF_S" nextval="1000"/>
    <sequence name="KREN_RECIP_S" nextval="1000"/>
    <sequence name="KREN_RVWER_S" nextval="1000"/>
    <sequence name="KREN_SNDR_S" nextval="1000"/>
    <sequence name="KREW_ACTN_ITM_S" nextval="10226"/>
    <sequence name="KREW_ACTN_LIST_OPTN_S" nextval="1269"/>
    <sequence name="KREW_ACTN_RQST_S" nextval="2369"/>
    <sequence name="KREW_ACTN_TKN_S" nextval="2332"/>
    <sequence name="KREW_ATTR_DEFN_S" nextval="10000"/>
    <sequence name="KREW_DOC_HDR_S" nextval="3050"/>
    <sequence name="KREW_DOC_LNK_S" nextval="2000"/>
    <sequence name="KREW_DOC_NTE_S" nextval="2020"/>
    <sequence name="KREW_DOC_TYP_ATTR_S" nextval="2010"/>
    <sequence name="KREW_EDL_FLD_DMP_S" nextval="5000"/>
    <sequence name="KREW_EDL_S" nextval="2020"/>
    <sequence name="KREW_OUT_BOX_ITM_S" nextval="10043"/>
    <sequence name="KREW_PPL_FLW_ATTR_S" nextval="10000"/>
    <sequence name="KREW_PPL_FLW_DLGT_S" nextval="10000"/>
    <sequence name="KREW_PPL_FLW_MBR_S" nextval="10000"/>
    <sequence name="KREW_PPL_FLW_S" nextval="10000"/>
    <sequence name="KREW_RSP_S" nextval="2065"/>
    <sequence name="KREW_RTE_NODE_CFG_PARM_S" nextval="2656"/>
    <sequence name="KREW_RTE_NODE_S" nextval="2971"/>
    <sequence name="KREW_RTE_TMPL_S" nextval="1645"/>
    <sequence name="KREW_RULE_EXPR_S" nextval="2002"/>
    <sequence name="KREW_RULE_TMPL_OPTN_S" nextval="2020"/>
    <sequence name="KREW_SRCH_ATTR_S" nextval="2060"/>
    <sequence name="KREW_TYP_ATTR_S" nextval="10000"/>
    <sequence name="KREW_TYP_S" nextval="10000"/>
    <sequence name="KREW_USR_S" nextval="100000000000"/>
    <sequence name="KRIM_ATTR_DATA_ID_S" nextval="10087"/>
    <sequence name="KRIM_ATTR_DEFN_ID_S" nextval="10011"/>
    <sequence name="KRIM_DLGN_ID_S" nextval="10000"/>
    <sequence name="KRIM_DLGN_MBR_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_ADDR_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_AFLTN_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_CTZNSHP_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_EMAIL_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_EMP_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_ETHNIC_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_EXT_ID_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_NM_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_PHONE_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_RESIDENCY_ID_S" nextval="10000"/>
    <sequence name="KRIM_ENTITY_VISA_ID_S" nextval="10000"/>
    <sequence name="KRIM_GRP_ATTR_DATA_ID_S" nextval="10000"/>
    <sequence name="KRIM_GRP_ID_S" nextval="10000"/>
    <sequence name="KRIM_GRP_MBR_ID_S" nextval="10000"/>
    <sequence name="KRIM_PERM_ID_S" nextval="10060"/>
    <sequence name="KRIM_PERM_RQRD_ATTR_ID_S" nextval="10000"/>
    <sequence name="KRIM_PERM_TMPL_ID_S" nextval="10005"/>
    <sequence name="KRIM_PRNCPL_ID_S" nextval="10000"/>
    <sequence name="KRIM_ROLE_ID_S" nextval="10026"/>
    <sequence name="KRIM_ROLE_MBR_ID_S" nextval="10024"/>
    <sequence name="KRIM_ROLE_PERM_ID_S" nextval="1112"/>
    <sequence name="KRIM_ROLE_RSP_ACTN_ID_S" nextval="10000"/>
    <sequence name="KRIM_ROLE_RSP_ID_S" nextval="10000"/>
    <sequence name="KRIM_RSP_ID_S" nextval="10000"/>
    <sequence name="KRIM_RSP_RQRD_ATTR_ID_S" nextval="10000"/>
    <sequence name="KRIM_RSP_TMPL_ID_S" nextval="10000"/>
    <sequence name="KRIM_TYP_ATTR_ID_S" nextval="10011"/>
    <sequence name="KRIM_TYP_ID_S" nextval="10018"/>
    <sequence name="KRMS_ACTN_ATTR_S" nextval="10000"/>
    <sequence name="KRMS_ACTN_S" nextval="10000"/>
    <sequence name="KRMS_AGENDA_ATTR_S" nextval="10000"/>
    <sequence name="KRMS_AGENDA_ITM_S" nextval="10000"/>
    <sequence name="KRMS_AGENDA_S" nextval="10000"/>
    <sequence name="KRMS_ATTR_DEFN_S" nextval="10000"/>
    <sequence name="KRMS_CMPND_PROP_PROPS_S" nextval="10000"/>
    <sequence name="KRMS_CNTXT_ATTR_S" nextval="10000"/>
    <sequence name="KRMS_CNTXT_S" nextval="10000"/>
    <sequence name="KRMS_CNTXT_VLD_ACTN_TYP_S" nextval="10000"/>
    <sequence name="KRMS_CNTXT_VLD_AGENDA_TYP_S" nextval="10000"/>
    <sequence name="KRMS_CNTXT_VLD_FUNC_S" nextval="10000"/>
    <sequence name="KRMS_CNTXT_VLD_RULE_TYP_S" nextval="10000"/>
    <sequence name="KRMS_CNTXT_VLD_TERM_SPEC_S" nextval="10000"/>
    <sequence name="KRMS_CTGRY_S" nextval="1"/>
    <sequence name="KRMS_FUNC_PARM_S" nextval="10000"/>
    <sequence name="KRMS_FUNC_S" nextval="10000"/>
    <sequence name="KRMS_NL_TMPL_ATTR_S" nextval="10000"/>
    <sequence name="KRMS_NL_TMPL_S" nextval="10000"/>
    <sequence name="KRMS_NL_USAGE_ATTR_S" nextval="10000"/>
    <sequence name="KRMS_NL_USAGE_S" nextval="10000"/>
    <sequence name="KRMS_PROP_PARM_S" nextval="10000"/>
    <sequence name="KRMS_PROP_S" nextval="10000"/>
    <sequence name="KRMS_REF_OBJ_KRMS_OBJ_S" nextval="10000"/>
    <sequence name="KRMS_RULE_ATTR_S" nextval="10000"/>
    <sequence name="KRMS_RULE_S" nextval="10000"/>
    <sequence name="KRMS_TERM_PARM_S" nextval="10000"/>
    <sequence name="KRMS_TERM_RSLVR_ATTR_S" nextval="10000"/>
    <sequence name="KRMS_TERM_RSLVR_INPUT_SPEC_S" nextval="10000"/>
    <sequence name="KRMS_TERM_RSLVR_PARM_SPEC_S" nextval="10000"/>
    <sequence name="KRMS_TERM_RSLVR_S" nextval="10000"/>
    <sequence name="KRMS_TERM_S" nextval="10000"/>
    <sequence name="KRMS_TERM_SPEC_S" nextval="10000"/>
    <sequence name="KRMS_TYP_ATTR_S" nextval="10000"/>
    <sequence name="KRMS_TYP_RELN_S" nextval="10112"/>
    <sequence name="KRMS_TYP_S" nextval="10065"/>
    <sequence name="KRNS_DOC_TYP_ATTR_S" nextval="1000"/>
    <sequence name="KRNS_LOCK_S" nextval="2000"/>
    <sequence name="KRNS_LOOKUP_RSLT_S" nextval="2000"/>
    <sequence name="KRNS_MAINT_DOC_ATT_S" nextval="10000"/>
    <sequence name="KRNS_MAINT_LOCK_S" nextval="2020"/>
    <sequence name="KRNS_NTE_S" nextval="2020"/>
    <sequence name="KRSB_BAM_PARM_S" nextval="2000"/>
    <sequence name="KRSB_BAM_S" nextval="2000"/>
    <sequence name="KRSB_MSG_QUE_S" nextval="1000"/>
    <sequence name="KRSB_SVC_DEF_S" nextval="10000"/>
    <sequence name="KRSB_SVC_DSCRPTR_S" nextval="10000"/>
</database>
New to GrepCode? Check out our FAQ X