complexType "enterpriseTYPE"
Namespace:
Content:
complex, 10 attributes, 1 element
Defined:
globally in CRIS_Complete_V3-2-1_[31-Dec-2008].xsd, see XML source
Includes:
definitions of 10 attributes and 1 element
Used:
XML Representation Summary
<...
    enterprise_id
 = 
xsd:unsignedInt
    ent_db_site
 = 
xsd:hexBinary
    ent_db_id
 = 
xsd:unsignedInt
    ent_type_code
 = 
xsd:unsignedInt
    user_tag_ident
 = 
xsd:string
    name
 = 
xsd:string
    gmt_last_updated
 = 
xsd:dateTime
    last_upd_db_site
 = 
xsd:hexBinary
    last_upd_db_id
 = 
xsd:unsignedInt
    rstat_type_code
 = 
xsd:unsignedShort
    >
   
Content: 
lcinfo?
</...>
Content Elements (1):
lcinfo (type lcinfo)
Known Usage Locations
Annotation
Enterprise Entity:
The corporate level of an organization, or the top organizational structure of a non-profit or military body. Each Enterprise is associated with exactly one Enterprise Type. An enterprise uniquely assigns MIMOSA Site Codes to new Sites ("births" Sites) and may control one or more Sites (which could have formerly been controlled by other enterprises).
In order for multiple enterprises to exchange MIMOSA information, every Enterprise must request and utilize its unique, unchanging MIMOSA Enterprise Code. The MIMOSA Enterprise Code is the MIMOSA-assigned unique identifier of an Enterprise. The column "enterprise_id" stores this code – a globally-unique, non-negative, non-repeating integer assigned to an Enterprise through the MIMOSA Enterprise Code Registry Service. MIMOSA has assigned itself the enterprise code of "0".
Note: The gmt_last_updated column is in every table to store the date the row was inserted or last updated (whichever is the most recent event).
Note: All gmt fields are in UTC, Coordinated Universal Time (also called Greenwich Mean Time) in the ISO 8601 DATETIME(19:29) format YYYY-MM-DDTHH:MM:SS.FFFFFFFFF in 24-hour format like: 1995-02-27T18:01:03.500000000 which is equivalent to 27-Feb-1995 6:01 PM at 3.5 seconds.
XML Source (w/o annotations (11))
<xsd:complexType name="enterpriseTYPE">
<xsd:sequence>
<xsd:element minOccurs="0" name="lcinfo" type="lcinfo"/>
</xsd:sequence>
<xsd:attribute name="enterprise_id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="ent_db_site" type="site_codeSimpleType" use="required"/>
<xsd:attribute name="ent_db_id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="ent_type_code" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="user_tag_ident" type="varchar254" use="optional"/>
<xsd:attribute name="name" type="varchar254" use="required"/>
<xsd:attribute name="gmt_last_updated" type="dateTimeWithoutTimezone" use="optional"/>
<xsd:attribute name="last_upd_db_site" type="site_codeSimpleType" use="optional"/>
<xsd:attribute name="last_upd_db_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="rstat_type_code" type="xsd:unsignedShort" use="optional"/>
</xsd:complexType>
Attribute Detail (defined in this component only; 10/10)
enterprise_id
Type:
xsd:unsignedInt, predefined
Use:
required
MIMOSA-assigned MIMOSA Enterprise Code, Included in composite primary key
XML Source (w/o annotations (1))
<xsd:attribute name="enterprise_id" type="xsd:unsignedInt" use="required"/>

ent_db_site
Type:
Use:
required
Foreign key reference to Enterprise_Type.ent_db_site
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="ent_db_site" type="site_codeSimpleType" use="required"/>

ent_db_id
Type:
xsd:unsignedInt, predefined
Use:
required
Foreign key reference to Enterprise_Type.ent_db_id
XML Source (w/o annotations (1))
<xsd:attribute name="ent_db_id" type="xsd:unsignedInt" use="required"/>

ent_type_code
Type:
xsd:unsignedInt, predefined
Use:
required
Foreign key reference to Enterprise_Type.ent_type_code
XML Source (w/o annotations (1))
<xsd:attribute name="ent_type_code" type="xsd:unsignedInt" use="required"/>

user_tag_ident
Type:
Use:
optional
Short user-defined tag/identifier
Attribute Value
xsd:string
MaxLength:
254
XML Source (w/o annotations (1))
<xsd:attribute name="user_tag_ident" type="varchar254" use="optional"/>

name
Type:
Use:
required
Full user-defined name/description
Attribute Value
xsd:string
MaxLength:
254
XML Source (w/o annotations (1))
<xsd:attribute name="name" type="varchar254" use="required"/>

gmt_last_updated
Type:
Use:
optional
UTC/GMT timestamp for the last change to this record
Attribute Value
xsd:dateTime
Pattern:
[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.?[0-9]{0,9}
XML Source (w/o annotations (1))
<xsd:attribute name="gmt_last_updated" type="dateTimeWithoutTimezone" use="optional"/>

last_upd_db_site
Type:
Use:
optional
Foreign key reference to Site_Database.db_site which identifies the database creating/updating/soft deleting this entry
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="last_upd_db_site" type="site_codeSimpleType" use="optional"/>

last_upd_db_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Site_Database.db_id which identifies the database creating/updating/soft deleting this entry
XML Source (w/o annotations (1))
<xsd:attribute name="last_upd_db_id" type="xsd:unsignedInt" use="optional"/>

rstat_type_code
Type:
xsd:unsignedShort, predefined
Use:
optional
Foreign key reference to Row_Status_Type.rstat_type_cod which determines the status of this entry
XML Source (w/o annotations (1))
<xsd:attribute name="rstat_type_code" type="xsd:unsignedShort" use="optional"/>
Content Element Detail (defined in this component only; 1/1)
lcinfo
Type:
lcinfo, complex content
XML Source
<xsd:element minOccurs="0" name="lcinfo" type="lcinfo"/>

XML schema documentation generated with DocFlex/XML 1.7.2b using DocFlex/XML | XSDDoc 2.1.0b template set