]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-4901: Update concept schema to reflect UCB Version 2.3 (14 March 2012)
authorRay Lee <rhlee@berkeley.edu>
Tue, 20 Mar 2012 20:31:15 +0000 (13:31 -0700)
committerRay Lee <rhlee@berkeley.edu>
Tue, 20 Mar 2012 20:31:15 +0000 (13:31 -0700)
services/concept/3rdparty/nuxeo-platform-cs-concept/src/main/resources/schemas/concepts_common.xsd
services/concept/jaxb/src/main/resources/concept_common.xsd

index 0e2380469639d4223406df7a69a3a1edb993daa5..9394d6fa6054c717fc0e4893c0f322c2cc07dae8 100644 (file)
        <xs:element name="termStatus" type="xs:string"/>
        <xs:element name="displayName" type="xs:string"/>
        <xs:element name="displayNameComputed" type="xs:boolean"/>
+    <xs:element name="shortDisplayName" type="xs:string"/>
+    <xs:element name="shortDisplayNameComputed" type="xs:boolean"/>
+    <xs:element name="source" type="xs:string"/>
+    <xs:element name="sourcePage" type="xs:string"/>
+    <xs:element name="description" type="xs:string"/>
 
        <!--  Common Concept Information Group -->
        <xs:element name="conceptType" type="xs:string"/>
+       <xs:element name="sourceTermID" type="xs:string"/>
+       <xs:element name="termLanguage" type="xs:string"/>
+       <xs:element name="preferred" type="xs:boolean"/>
+       <xs:element name="preferredForLang" type="xs:string"/>
+       <xs:element name="historicFlag" type="xs:string"/>
+       <xs:element name="termType" type="xs:string"/>
+       <xs:element name="qualifier" type="xs:string"/>
        <xs:element name="scopeNote" type="xs:string"/>
        <xs:element name="scopeNoteSource" type="xs:string"/>
        <xs:element name="scopeNoteSourceDetail" type="xs:string"/>
-       <xs:element name="remarks" type="xs:string"/>
-       <xs:element name="displayTermFlag" type="xs:string"/>
-       <xs:element name="otherNameFlags">
-               <xs:complexType>
-                       <xs:sequence>
-                               <xs:element name="otherNameFlag" type="xs:string"
-                                                                               minOccurs="0" maxOccurs="unbounded"/>
-                       </xs:sequence>
-               </xs:complexType>
-       </xs:element>
-       
-       <!--  List of Terms and alternates 
-       <xs:element name="conceptTermGroupList" type="conceptTermGroupList"/>
-                               -->
        
        <!--  List of Citations -->
        <xs:element name="citationGroupList" type="citationGroupList"/>
        
        <!--  List of additional Concept Term sources  -->
-       <xs:element name="additionalTermSourceGroupList" 
-                                                       type="additionalTermSourceGroupList"/>
-
-<!-- =================================================================
-        Term Group repeating structure
-        =================================================================
+       <xs:element name="additionalSourceGroupList" 
+                                                       type="additionalSourceGroupList"/>
 
-       <xs:complexType name="conceptTermGroupList">
-               <xs:sequence>
-                       <xs:element name="conceptTermGroup" type="conceptTermGroup" minOccurs="0"
-                                               maxOccurs="unbounded"/>
-               </xs:sequence>
-       </xs:complexType>
-
-       <xs:complexType name="conceptTermGroup">
-               <xs:sequence>
-                       <xs:element name="term" type="xs:string"/>
-                       <xs:element name="termType" type="xs:string"/>
-                       <xs:element name="termQualifier" type="xs:string"/>
-                       <xs:element name="termLanguage" type="xs:string"/>
-                       <xs:element name="historicalFlag" type="xs:string"/>
-                       <xs:element name="source" type="xs:string"/>
-                       <xs:element name="sourceDetail" type="xs:string"/>
-                       <xs:element name="sourceUID" type="xs:string"/>
-                       <xs:element name="termDate" type="structuredDateGroup"/>
-        </xs:sequence>
-       </xs:complexType>
-
-        -->
 <!-- =================================================================
         Citation Group repeating structure
         ================================================================= -->
 
        <xs:complexType name="citationGroup">
                <xs:sequence>
-                       <xs:element name="source" type="xs:string"/>
-                       <xs:element name="sourceDetail" type="xs:string"/>
+                       <xs:element name="citationSource" type="xs:string"/>
+                       <xs:element name="citationSourceDetail" type="xs:string"/>
                </xs:sequence>
        </xs:complexType>
 
 <!-- =================================================================
-        Additional Concept Source Group repeating structure
+        Additional Source Group repeating structure
         ================================================================= -->
 
-       <xs:complexType name="additionalTermSourceGroupList">
+       <xs:complexType name="additionalSourceGroupList">
                <xs:sequence>
-                       <xs:element name="additionalTermSourceGroup" 
-                                               type="additionalTermSourceGroup" minOccurs="0" maxOccurs="unbounded"/>
+                       <xs:element name="additionalSourceGroup" 
+                                               type="additionalSourceGroup" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
        </xs:complexType>
 
-       <xs:complexType name="additionalTermSourceGroup">
+       <xs:complexType name="additionalSourceGroup">
                <xs:sequence>
-                       <xs:element name="source" type="xs:string"/>
-                       <xs:element name="sourceDetail" type="xs:string"/>
-                       <xs:element name="sourceUID" type="xs:string"/>
+                       <xs:element name="additionalSource" type="xs:string"/>
+                       <xs:element name="additionalSourceDetail" type="xs:string"/>
+                       <xs:element name="additionalSourceUID" type="xs:string"/>
                </xs:sequence>
        </xs:complexType>
 
index fcb4149c44b6e37c9b6d0d1d0d0f462bde166737..9e828b568cd70a288a4453907aa9cff6ce7e7100 100644 (file)
                                        
                                <!--  Common Authority Information Group -->
                                <!--  inAuthority is the csid of the owning ConceptAuthority -->
-                               <xs:element name="inAuthority" type="xs:string" />
+                               <xs:element name="inAuthority" type="xs:string"/>
                                <xs:element name="shortIdentifier" type="xs:string"/>
                                <xs:element name="refName" type="xs:string"/>
                                <xs:element name="termStatus" type="xs:string"/>
                                <xs:element name="displayName" type="xs:string"/>
                                <xs:element name="displayNameComputed" type="xs:boolean"/>
+                           <xs:element name="shortDisplayName" type="xs:string"/>
+                           <xs:element name="shortDisplayNameComputed" type="xs:boolean"/>
+                           <xs:element name="source" type="xs:string"/>
+                           <xs:element name="sourcePage" type="xs:string"/>
+                           <xs:element name="description" type="xs:string"/>
 
                                <!--  Common Concept Information Group -->
 
                                <xs:element name="conceptType" type="xs:string"/>
+                               <xs:element name="sourceTermID" type="xs:string"/>
+                               <xs:element name="termLanguage" type="xs:string"/>
+                               <xs:element name="preferred" type="xs:boolean"/>
+                               <xs:element name="preferredForLang" type="xs:string"/>
+                               <xs:element name="historicFlag" type="xs:string"/>
+                               <xs:element name="termType" type="xs:string"/>
+                               <xs:element name="qualifier" type="xs:string"/>
                                <xs:element name="scopeNote" type="xs:string"/>
                                <xs:element name="scopeNoteSource" type="xs:string"/>
                                <xs:element name="scopeNoteSourceDetail" type="xs:string"/>
-                               <xs:element name="remarks" type="xs:string"/>
-                               <xs:element name="displayTermFlag" type="xs:string"/>
-                               <xs:element name="otherNameFlags">
-                                       <xs:complexType>
-                                               <xs:sequence>
-                                                       <xs:element name="otherNameFlag" type="xs:string"
-                                                                                                       minOccurs="0" maxOccurs="unbounded"/>
-                                               </xs:sequence>
-                                       </xs:complexType>
-                               </xs:element>
-       
-                               <!--  List of Terms and alternates 
-                               <xs:element name="conceptTermGroupList" type="conceptTermGroupList"/>
-                                                       -->
        
                                <!--  List of Citations -->
                                <xs:element name="citationGroupList" type="citationGroupList"/>
        
                                <!--  List of additional Concept Term sources  -->
-                               <xs:element name="additionalTermSourceGroupList" 
-                                                                               type="additionalTermSourceGroupList"/>
+                               <xs:element name="additionalSourceGroupList" 
+                                                                               type="additionalSourceGroupList"/>
                        </xs:sequence>
                </xs:complexType>
        </xs:element>
-    
-<!-- =================================================================
-        Term Group repeating structure
-        =================================================================
-
-       <xs:complexType name="conceptTermGroupList">
-               <xs:sequence>
-                       <xs:element name="conceptTermGroup" type="conceptTermGroup" minOccurs="0"
-                                               maxOccurs="unbounded"/>
-               </xs:sequence>
-       </xs:complexType>
-
-       <xs:complexType name="conceptTermGroup">
-               <xs:sequence>
-                       <xs:element name="term" type="xs:string"/>
-                       <xs:element name="termType" type="xs:string"/>
-                       <xs:element name="termQualifier" type="xs:string"/>
-                       <xs:element name="termLanguage" type="xs:string"/>
-                       <xs:element name="historicalFlag" type="xs:string"/>
-                       <xs:element name="source" type="xs:string"/>
-                       <xs:element name="sourceDetail" type="xs:string"/>
-                       <xs:element name="sourceUID" type="xs:string"/>
-                       <xs:element name="termDate" type="structuredDateGroup"/>
-        </xs:sequence>
-       </xs:complexType>
-        -->
 
 <!-- =================================================================
         Citation Group repeating structure
 
        <xs:complexType name="citationGroup">
                <xs:sequence>
-                       <xs:element name="source" type="xs:string"/>
-                       <xs:element name="sourceDetail" type="xs:string"/>
+                       <xs:element name="citationSource" type="xs:string"/>
+                       <xs:element name="citationSourceDetail" type="xs:string"/>
                </xs:sequence>
        </xs:complexType>
 
 <!-- =================================================================
-        Additional Concept Source Group repeating structure
+        Additional Source Group repeating structure
         ================================================================= -->
 
-       <xs:complexType name="additionalTermSourceGroupList">
+       <xs:complexType name="additionalSourceGroupList">
                <xs:sequence>
-                       <xs:element name="additionalTermSourceGroup" 
-                                               type="additionalTermSourceGroup" minOccurs="0" maxOccurs="unbounded"/>
+                       <xs:element name="additionalSourceGroup" 
+                                               type="additionalSourceGroup" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
        </xs:complexType>
 
-       <xs:complexType name="additionalTermSourceGroup">
+       <xs:complexType name="additionalSourceGroup">
                <xs:sequence>
-                       <xs:element name="source" type="xs:string"/>
-                       <xs:element name="sourceDetail" type="xs:string"/>
-                       <xs:element name="sourceUID" type="xs:string"/>
+                       <xs:element name="additionalSource" type="xs:string"/>
+                       <xs:element name="additionalSourceDetail" type="xs:string"/>
+                       <xs:element name="additionalSourceUID" type="xs:string"/>
                </xs:sequence>
        </xs:complexType>