Summary information on the SDD Schema

(Version: SDD 0.9.030, 1. Dec. 2003)

TDWG working group: Structure of Descriptive Data (SDD)

The standard schema reports generated by xml spy or the xs3p script document the structure of the schema organized by the element and type tree. As a supplement to this, this report documents the use of selected features throughout the entire schema.

This is a highly technical report aimed at xml schema experts. The purpose of the type and element listing is primarily to search for design problems or errors in the schema. The overview over default values and identity constraints is valuable for implementers.

See the "Overview of available documentation" for further information.

Table of contents

  1. Type inheritance
  2. Type usage
  3. Table of elements (names and types)
  4. Table of defined default values
  5. Identity constraints
  6. Separate file: Table of annotations containing the problem marker (= '@')

Type inheritance

The SDD schema is used object-oriented inheritance mechanisms for complex types. The following tables give an overview of type derivations present in the schema.

Complex types derived by extension

(Indirectly derived types are currently not listed)

Base typeDerived type
AudienceRefTypeProjectDefRepresentationType/
AudienceRefTypeSimpleLabelRepresentationType/
AudienceRefTypeGlossaryEntryRepresentationType/
AudienceRefTypeReportedNoteRepresentationType/
CharacterData_BaseTypeCharacterDataType/
CharacterData_BaseTypeCharacterRawDataType/
CharacterNodeRefTypeGroupNLDType/
CharacterRefTypeCharacterData_BaseType/
CharacterStateData_BaseTypeCharacterStateDataType/
CharacterStateData_BaseTypeCharacterMeasureDataType/
CharacterStateData_BaseTypeCharacterCodingStatusDataType/
CharacterStateRefTypeCharacterStateData_BaseType/
ClassRefTypeDescribedObjectConnectorType/ ClassIdentification/
CreatorsTypeRevisionDataType/
DescriptionBaseTypeNaturalLanguageDescriptionType/
DescriptionBaseTypeCodedDescriptionType/
FormattedSimpleTextTypeCharacterDefType/ Numerical/ MeasurementUnit/
FormattedSimpleTextTypeFormattedSimpleTextType/ ins/
FormattedSimpleTextTypeFormattedSimpleTextType/ del/
FormattedSimpleTextType__FormattedInlineTextType/
FormattedSimpleTextType__FormattedInlineTextType/ a/
FormattedSimpleTextType__FormattedBlockTextType/
FormattedSimpleTextTypeMarkupTextType/
FormattedSimpleTextTypeNatLangWordingType/
FrequencyModifierRefTypeFrequencyModifierNLDType/
GeneralModifierRefTypeGeneralModifierNLDType/
LabelPlusAbbreviationRepresentationTypeLabelPlusWording1RepresentationType/
LabelPlusAbbreviationRepresentationTypeLabelPlusWording2RepresentationType/
LabelPlusAbbreviationRepresentationTypeLabelPlusWording3RepresentationType/
ModifierDefBaseTypeProbabilityModifierDefType/
ModifierDefBaseTypeFrequencyModifierDefType/
ModifierDefBaseTypeGeneralModifierDefType/
NatLangWording2TypeNatLangWording3Type/
ProbabilityModifierRefTypeProbabilityModifierNLDType/
ProbabilityRangeTypeCharacterStateNLDType/ FrequencyRange/
ResourceConnectorBaseTypeClassNameConnectorType/
ResourceConnectorBaseTypeClassHierarchyConnectorType/
ResourceConnectorBaseTypeDescribedObjectConnectorType/
ResourceConnectorBaseTypeAgentConnectorType/
ResourceConnectorBaseTypePublicationConnectorType/
ResourceConnectorBaseTypeLocalityConnectorType/
ResourceConnectorBaseTypeMediaResourceConnectorType/
SimpleLabelRepresentationTypeLabelPlusAbbreviationRepresentationType/
StateDefBaseTypeCharacterStateDefType/
StateDefBaseTypeCodingStatusDefType/

Complex types derived by restriction

Base typeDerived type
CharacterCodingStatusDataTypeCharacterCodingStatusNLDType/
CharacterDataTypeCharacterNLDType/
CharacterMeasureDataTypeCharacterMeasureNLDType/
CharacterNumericValueTypeCharacterNumericValueNLDType/
CharacterStateDataTypeCharacterStateNLDType/
StateDefBaseTypeStatisticalMeasureDefType/

Simple types derived by restriction

Base typeDerived type
xs:byteExpertiseLevelEnum
xs:doubleProbability
xs:NameMediaResourceTypeEnum
xs:NameRevisionStatusEnum
xs:NameBasicCodingStatusEnum
xs:NamePresenceOfInformationEnum
xs:NameStatisticalMeasureMethodEnum
xs:NameStatisticalMeasureReportingClassEnum
xs:NameStatisticalMeasureCompareWithEnum
xs:NameCharacterTypeEnum
xs:NameConceptTreeTypeEnum
xs:NameConceptTreeRoleEnum
xs:nonNegativeIntegerKeyValue
xs:normalizedStringStringN
xs:normalizedStringString255
xs:normalizedString
xs:string__ColorRGB
xs:string__ColorHSV
xs:stringNumericFormatPattern
xs:token
xs:token
xs:token

Type usage

The following tables provide an overview of the number of times complex and simple types are used in the schema. Only schema-specific types are reported, not the w3c defined base types (xs:string, xs:boolean, etc.). Type usage is interesting to detect orphan (unused) types, or to argue whether types used only a single time should rather be anonymous.

Usage of complex types

Usage count:
Type nameTotalElementsExtensionRestriction
__FormattedBlockTextType0=0+0+0
__FormattedInlineTextType0=0+0+0
__OptionalCreatorsType0=0+0+0
AgentConnectorType1=1+0+0
AgentRefsType9=9+0+0
AgentRefType1=1+0+0
ApplicationDataType2=2+0+0
AudienceRefType4=0+4+0
AudiencesType1=1+0+0
CharacterCodingStatusDataType2=1+0+1
CharacterCodingStatusNLDType1=1+0+0
CharacterData_BaseType2=0+2+0
CharacterDataType2=1+0+1
CharacterDefType2=2+0+0
CharacterMeasureDataType2=1+0+1
CharacterMeasureNLDType1=1+0+0
CharacterNLDType2=2+0+0
CharacterNodeRefType2=1+1+0
CharacterNumericValueNLDType1=1+0+0
CharacterNumericValueType2=1+0+1
CharacterRawDataType1=1+0+0
CharacterRefType2=1+1+0
CharacterStateData_BaseType3=0+3+0
CharacterStateDataType3=2+0+1
CharacterStateDefType2=2+0+0
CharacterStateNLDType1=1+0+0
CharacterStateRefsType3=3+0+0
CharacterStateRefType5=4+1+0
CharacterStatMeasureDefType1=1+0+0
CitationType3=3+0+0
ClassHierarchyConnectorType1=1+0+0
ClassHierarchyNodeType3=3+0+0
ClassNameConnectorType1=1+0+0
ClassRefType5=4+1+0
CodedDescriptionType1=1+0+0
CodingStatusDefType1=1+0+0
ConceptTreeDefType1=1+0+0
ConceptTreeNodeType2=2+0+0
CreatorsType1=0+1+0
DescribedObjectConnectorType1=1+0+0
DescribedObjectRefType1=1+0+0
DescriptionBaseType2=0+2+0
DescriptionsSectionType1=1+0+0
DesignedKeyDefType1=1+0+0
DesignedKeyNodeRefType1=1+0+0
DesignedKeyNodeType2=2+0+0
DesignedKeyRefType1=1+0+0
EntitiesSectionType1=1+0+0
FormattedSimpleTextType20=12+8+0
FrequencyModifierDefType1=1+0+0
FrequencyModifierNLDType1=1+0+0
FrequencyModifierRefsType1=1+0+0
FrequencyModifierRefType3=2+1+0
GeneralModifierDefType1=1+0+0
GeneralModifierNLDType1=1+0+0
GeneralModifierRefsType1=1+0+0
GeneralModifierRefType3=2+1+0
GenerationMetadataSectionType1=1+0+0
GlossaryEntryRefType2=2+0+0
GlossaryEntryRepresentationType1=1+0+0
GlossaryEntryType1=1+0+0
GroupNLDType1=1+0+0
KeysSectionType1=1+0+0
LabelPlusAbbreviationRepresentationType4=1+3+0
LabelPlusAbbreviationType2=2+0+0
LabelPlusWording1RepresentationType1=1+0+0
LabelPlusWording1Type1=1+0+0
LabelPlusWording2RepresentationType1=1+0+0
LabelPlusWording2Type2=2+0+0
LabelPlusWording3RepresentationType1=1+0+0
LabelPlusWording3Type1=1+0+0
LocalityConnectorType1=1+0+0
LocalityRefsType2=2+0+0
LocalityRefType1=1+0+0
MarkupTextType12=12+0+0
MediaResourceConnectorType1=1+0+0
MediaResourceRefsType4=4+0+0
MediaResourceRefType3=3+0+0
ModifierDefBaseType3=0+3+0
ModifierSetRefType1=1+0+0
ModifierSetType1=1+0+0
NatLangOperatorWordingType4=4+0+0
NatLangWording1Type1=1+0+0
NatLangWording2Type2=1+1+0
NatLangWording3Type1=1+0+0
NatLangWordingType9=9+0+0
NaturalLanguageDescriptionType1=1+0+0
ProbabilityModifierDefType1=1+0+0
ProbabilityModifierNLDType2=2+0+0
ProbabilityModifierRefsType1=1+0+0
ProbabilityModifierRefType4=3+1+0
ProbabilityRangeType4=3+1+0
ProjectDefinitionSectionType1=1+0+0
ProjectDefRepresentationType1=1+0+0
PublicationConnectorType1=1+0+0
PublicationRefType2=2+0+0
ReportedNoteRepresentationType1=1+0+0
ReportedNoteType4=4+0+0
ResourceConnectorBaseType7=0+7+0
ResourcesSectionType1=1+0+0
RevisionDataType6=6+0+0
SimpleLabelRepresentationType2=1+1+0
SimpleLabelType5=5+0+0
StateDefBaseType3=0+2+1
StatisticalMeasureDefType1=1+0+0
TerminologySectionType1=1+0+0
TermListType5=5+0+0

Usage of simple types

Usage count:
Type nameTotalAttributesElements
__BooleanTripleState0=0+0
__ColorHSV0=0+0
__ColorRGB0=0+0
BasicCodingStatusEnum1=0+1
CharacterTypeEnum1=0+1
ConceptTreeRoleEnum1=0+1
ConceptTreeTypeEnum1=0+1
ExpertiseLevelEnum2=1+1
KeyValue19=19+0
MediaResourceTypeEnum1=0+1
NumericFormatPattern1=0+1
PresenceOfInformationEnum1=0+1
Probability4=4+0
RevisionStatusEnum1=0+1
StatisticalMeasureCompareWithEnum1=1+0
StatisticalMeasureMethodEnum1=0+1
StatisticalMeasureReportingClassEnum1=0+1
String25526=9+17
StringN10=0+10

Table of elements (names and types)

The SDD schema uses element names with different types, depending on the context. To write xslt it is often useful to know which element names in a schema uniquely refer to a type, and which depend on the context. The following list shows all elements in alphabetical order together with their type name. Anonymous types, including type derivations, cannot be shown (an advanced script would be able to list the base type of a derivation, but in most cases we avoid anonymous derivation in SDD so we did not implement this in the report).

The use of an element name with several different types has two major sources: a) the alternative element types are themselves all derived from a base type (see e. g. Modifiers), or b) an object is defined in one place and a reference is made to it. This is very similar to the usage pattern in xml schema itself, where object names are used both for definition and reference (examples: element name="x" and element ref="x", or group name="y" and group ref="y").

Element NameType
a
Abbreviation
AcknowledgementFormattedSimpleTextType
AdjacentToTermListType
AgentAgentConnectorType
AgentAgentRefType
Agents
AndNatLangOperatorWordingType
AnnotationStringN
AnnotationStringN
Application
ApplicationDataApplicationDataType
ApplicationDataApplicationDataType
Audience
AudiencesAudiencesType
AudienceSpecificData
AuthorsAgentRefsType
AuthorsAgentRefsType
AutoAddStates
BasicCodingStatusBasicCodingStatusEnum
br
CaptionSimpleLabelType
Categorical
CharacterCharacterDataType
CharacterCharacterDefType
CharacterCharacterDefType
CharacterCharacterNLDType
CharacterCharacterNLDType
CharacterCharacterRawDataType
CharacterCharacterRefType
CharacterData
Characters
CitationCitationType
CitationCitationType
CitationCitationType
citationauthorStringN
Citations
ClassClassNameConnectorType
ClassClassRefType
ClassClassRefType
ClassClassRefType
ClassClassRefType
Classes
ClassHierarchies
ClassHierarchyClassHierarchyConnectorType
ClassIdentification
CodedDescriptionCodedDescriptionType
CodedStatementsCharacterStateRefsType
CodingStatusCharacterCodingStatusDataType
CodingStatusCharacterCodingStatusNLDType
CodingStatusCodingStatusDefType
CodingStatusValues
ConceptConceptTreeNodeType
ConceptConceptTreeNodeType
ConceptTreeConceptTreeDefType
ConceptTrees
ContributorsAgentRefsType
ContributorsAgentRefsType
CopyrightStatementString255
CopyrightStatementLongStringN
DefinitionFormattedSimpleTextType
del
DependencyRules
DescriptionFormattedSimpleTextType
DescriptionStringN
DescriptionData
DescriptionsDescriptionsSectionType
DisclaimerFormattedSimpleTextType
Document
EditorsAgentRefsType
EditorsAgentRefsType
EditorsAgentRefsType
emFormattedSimpleTextType
EncodedDataxs:base64Binary
EntitiesEntitiesSectionType
ExportToken
ExternalIDString255
ExternalReferencexs:anyURI
ExternalReferencexs:anyURI
FirstNamesString255
FormatPatternNumericFormatPattern
FreeFormDescriptionString255
Frequency
FrequencyFrequencyModifierNLDType
FrequencyFrequencyModifierRefsType
FrequencyFrequencyModifierRefType
FrequencyRange
FrequencyRangeProbabilityRangeType
FrequencyRangeProbabilityRangeType
FrequencyValue
FrequencyValue
From
FromCharacterStateRefType
General
GeneralGeneralModifierRefsType
Generalization
Generalization
GenerationMetadataGenerationMetadataSectionType
GenericStates
GenericStateSetCharacterNodeRefType
GeographicalCoverageStringN
GeographicalScopeLocalityRefsType
GeographicalScopeLocalityRefsType
Geography
GloballyUniqueNamexs:anyURI
Glossary
GlossaryEntryGlossaryEntryRefType
GlossaryEntryGlossaryEntryType
GroupGroupNLDType
HistoryWebAddressxs:anyURI
Homepagexs:anyURI
iFormattedSimpleTextType
IconMediaResourceRefType
IconMediaResourceRefType
IfNextElement
img
InapplicableIfCharacterStateRefsType
Incrementxs:nonNegativeInteger
InitiationDatexs:dateTime
ins
IsPreservedInCollectionxs:boolean
IsTemplateForChildDescriptionxs:boolean
IsTrueByMisinterpretationxs:boolean
KeyDesignedKeyDefType
KeyNodeDesignedKeyNodeRefType
KeysKeysSectionType
KindOfTermListType
LabelLabelPlusAbbreviationType
LabelLabelPlusWording1Type
LabelLabelPlusWording2Type
LabelLabelPlusWording2Type
LabelLabelPlusWording3Type
LabelSimpleLabelType
LabelSimpleLabelType
LabelSimpleLabelType
LabelTextString255
LanguageRule
LastDelimiterTextNatLangWordingType
LastNameString255
LastRevisionDatexs:dateTime
LeadDesignedKeyNodeType
LeadDesignedKeyNodeType
LicenseString255
LocalityLocalityConnectorType
LocalityLocalityRefType
LocationString255
Majorxs:nonNegativeInteger
Mapping
Mapping
Mappings
Mappings
MeasurementUnit
MediaResourceMediaResourceConnectorType
MediaResourceMediaResourceRefType
MediaResources
MediaResourcesMediaResourceRefsType
MediaResourcesMediaResourceRefsType
MediaResourcesMediaResourceRefsType
MethodStatisticalMeasureMethodEnum
MethodValuexs:decimal
Minorxs:nonNegativeInteger
ModifierFrequencyModifierDefType
ModifierFrequencyModifierRefType
ModifierGeneralModifierDefType
ModifierGeneralModifierNLDType
ModifierGeneralModifierRefType
ModifierGeneralModifierRefType
ModifierProbabilityModifierDefType
ModifierProbabilityModifierRefType
Modifiers
Modifiers
ModifierSetModifierSetRefType
ModifierSets
NaturalLanguageDescriptionNaturalLanguageDescriptionType
NodeClassHierarchyNodeType
NodeClassHierarchyNodeType
NodeClassHierarchyNodeType
Nodes
Nodes
Nodes
Nodes
NoteReportedNoteType
NoteReportedNoteType
NoteReportedNoteType
NoteReportedNoteType
Numerical
ObjectDescribedObjectConnectorType
ObjectDescribedObjectRefType
Objects
Observation
ObservationSet
OnlyApplicableIfCharacterStateRefsType
OrNatLangOperatorWordingType
OrDelimiters
pFormattedSimpleTextType
PartOfTermListType
PresenceOfInformationPresenceOfInformationEnum
Probability
ProbabilityProbabilityModifierNLDType
ProbabilityProbabilityModifierNLDType
ProbabilityProbabilityModifierRefsType
ProbabilityProbabilityModifierRefType
ProbabilityProbabilityModifierRefType
ProbabilityRangeProbabilityRangeType
ProjectDefinitionProjectDefinitionSectionType
PublicationPublicationConnectorType
PublicationPublicationRefType
PublicationDatexs:date
Publications
QuestionTextSimpleLabelType
RankLevelString255
RelatedToTermListType
RepeatedDelimiterTextNatLangWordingType
ReportingClassStatisticalMeasureReportingClassEnum
RepresentationGlossaryEntryRepresentationType
RepresentationLabelPlusAbbreviationRepresentationType
RepresentationLabelPlusWording1RepresentationType
RepresentationLabelPlusWording2RepresentationType
RepresentationLabelPlusWording3RepresentationType
RepresentationProjectDefRepresentationType
RepresentationReportedNoteRepresentationType
RepresentationSimpleLabelRepresentationType
ResourcesResourcesSectionType
RevisionDataRevisionDataType
RevisionDataRevisionDataType
RevisionDataRevisionDataType
RevisionDataRevisionDataType
RevisionDataRevisionDataType
RevisionDataRevisionDataType
RevisionStatusRevisionStatusEnum
Rights
RoleConceptTreeRoleEnum
Roles
SelectorsMediaResourceRefsType
Sequence
ServiceProviderString255
SetModifierSetType
Sets
SingleDelimiterTextNatLangWordingType
SourcePublicationPublicationRefType
StateCharacterStateDataType
StateCharacterStateDataType
StateCharacterStateNLDType
StateCharacterStateRefType
StateDefinitionCharacterStateDefType
StateDefinitionCharacterStateDefType
StatementLabelPlusAbbreviationType
StateReference
States
StatisticalMeasureCharacterMeasureDataType
StatisticalMeasureCharacterMeasureNLDType
StatisticalMeasureCharacterStatMeasureDefType
StatisticalMeasureStatisticalMeasureDefType
StatisticalMeasures
StatisticalMeasures
strongFormattedSimpleTextType
subFormattedSimpleTextType
SubkeyDesignedKeyRefType
supFormattedSimpleTextType
SynonymousToTermListType
Synonyms
taxonStringN
taxonauthorStringN
TaxonomicCoverageStringN
TermString255
TermString255
TerminologyTerminologySectionType
TextFormattedSimpleTextType
TextFormattedSimpleTextType
TextMarkupTextType
TextMarkupTextType
TextMarkupTextType
TextMarkupTextType
TextMarkupTextType
TextMarkupTextType
TextMarkupTextType
TextMarkupTextType
TextMarkupTextType
TextMarkupTextType
TextMarkupTextType
TextMarkupTextType
TextNatLangWordingType
TextNatLangWordingType
TextNatLangWordingType
TextAfterNatLangWordingType
TextAfterNatLangWordingType
TextBeforeNatLangWordingType
TitleString255
ToCharacterStateRefType
ToCharacterStateRefType
ToNatLangOperatorWordingType
TranslatorsAgentRefsType
TranslatorsAgentRefsType
TypeCharacterTypeEnum
TypeConceptTreeTypeEnum
TypeMediaResourceTypeEnum
UnconstrainedTextxs:boolean
UsageConditionsStringN
ValueCharacterNumericValueNLDType
ValueCharacterNumericValueType
Version
WebAddressxs:anyURI
WithNatLangOperatorWordingType
Wording
Wording
WordingNatLangWording1Type
WordingNatLangWording2Type
WordingNatLangWording3Type

Table of defined default values

Elements or attributes for which default values have been defined in the schema need special attention insofar as the processing of an instance document depends on whether it has been validated against the schema (validation will add default values in the infoset). A script or application processing instance documents may thus either validate the document, or it may handle the following attributes itself.

ObjectNameDefault valueParent
attribute__IsEstimatetrueProbabilityRangeType/
attributeCompareWithcentralCharacterDefType/ Numerical/ Mappings/ Mapping/ From/
attributeDescriptionIsExcerptfalseGenerationMetadataSectionType/
attributedirltrProjectDefinitionSectionType/ __LanguageRules/ LanguageRule/
attributeIdentificationIsCertaintrueDescribedObjectConnectorType/ ClassIdentification/
attributePostfixtrueCharacterDefType/ Numerical/ MeasurementUnit/
attributeTerminologyIsExcerptfalseGenerationMetadataSectionType/
element__CompletefalseConceptTreeDefType/
element__MinimumExpertiseLevel1ConceptTreeDefType/
elementIncrement0ProjectDefinitionSectionType/ Version/
elementIsPreservedInCollectiontrueDescribedObjectConnectorType/
elementIsTemplateForChildDescriptionfalseCharacterStateData_BaseType/
elementIsTrueByMisinterpretationfalseProbabilityModifierDefType/
elementMinor0ProjectDefinitionSectionType/ Version/
elementRevisionStatusUnrevisedRevisionDataType/
elementSequenceterminologyCharacterData_BaseType/
elementUnconstrainedTextfalseCharacterStateDefType/

Identity constraints

Key identity constraints

The SDD schema is an object-relational design where data structures cannot be shown in a single hierarchical tree. It therefore makes liberal use of key/keyref relations. The integrity of these relations is protected by two xml schema mechanisms: xs:key guarantees that all key values are present and unique, and xs:keyref guarantees that all references to key values point to an existing key. The following tables give an overview of the key and keyref constraints defined in the schema:

Key NameSelector pathField(s)
AgentResourceKeyResources/ Agents/ Agent@key
AudienceDefinitionKeyProjectDefinition/ Audiences/ Audience@audiencekey
CharacterDefinitionKeyTerminology/ Characters/ Character@key
CharacterStateKeyTerminology/ Characters/ Character/ Categorical/ States/ StateDefinition | Terminology/ Characters/ Character/ Categorical/ States/ StateReference@key
CharacterStatMeasureKeyTerminology/ Characters/ Character/ Numerical/ StatisticalMeasures/ StatisticalMeasure@key
ClassHierarchyKeyEntities/ ClassHierarchies/ ClassHierarchy@key
ClassResourceKeyEntities/ Classes/ Class@key
CodingStatusKeyTerminology/ CodingStatusValues/ CodingStatus@key
CombinedCharStateOrMeasureKeyTerminology/ Characters/ Character/ Categorical/ States/ StateDefinition | Terminology/ Characters/ Character/ Categorical/ States/ StateReference | Terminology/ Characters/ Character/ Numerical/ StatisticalMeasures/ StatisticalMeasure@key
ConceptTreeKeyTerminology/ ConceptTrees/ ConceptTree@key
ConceptTreeNodeKey./ / Concept@key
DescriptionKeyDescriptions/ CodedDescription | Descriptions/ NaturalLanguageDescription@key
DesignedKeyDefKeyKeys/ Key@key
DesignedKeyNodeKey./ / Lead@key
FrequModifierKeyTerminology/ Modifiers/ Frequency/ Modifier@key
GeneralModifierKeyTerminology/ Modifiers/ General/ Modifier@key
GenericStateKey./ / Concept/ GenericStates/ StateDefinition@key
GlossaryEntryKeyTerminology/ Glossary/ GlossaryEntry@key
LocalityResourceKeyResources/ Geography/ Locality@key
MediaResourceKeyResources/ MediaResources/ MediaResource@key
ModifierSetKeyTerminology/ Modifiers/ Sets/ Set@key
ObjectResourceKeyEntities/ Objects/ Object@key
ProbModifierKeyTerminology/ Modifiers/ Probability/ Modifier@key
PublicationResourceKeyResources/ Publications/ Publication@key
StatisticalMeasureKeyTerminology/ StatisticalMeasures/ StatisticalMeasure@key
WithinCharacterStateKeyCategorical/ States/ StateDefinition | Categorical/ States/ StateReference@key
WithinCharacterStateKey2Categorical/ States/ StateDefinition | Categorical/ States/ StateReference@key

Keyref identity constraints

Keyref NameParentReferred keySelector Field(s)
AgentResourceKeyrefAgentRefsType/ Agent/ AgentResourceKey.@ref
AudienceDefinitionKeyref_DefaultProjectDefinitionSectionType/ Audiences/ AudienceDefinitionKey.@defaultaudience
AudienceDefinitionKeyref_GlossEntryGlossaryEntryType/ Representation/ AudienceDefinitionKey.@audience
AudienceDefinitionKeyref_LabelLabelPlusAbbreviationType/ Representation/ AudienceDefinitionKey.@audience
AudienceDefinitionKeyref_LabelW1LabelPlusWording1Type/ Representation/ AudienceDefinitionKey.@audience
AudienceDefinitionKeyref_LabelW2LabelPlusWording2Type/ Representation/ AudienceDefinitionKey.@audience
AudienceDefinitionKeyref_LabelW3LabelPlusWording3Type/ Representation/ AudienceDefinitionKey.@audience
AudienceDefinitionKeyref_NoteReportedNoteType/ Representation/ AudienceDefinitionKey.@audience
AudienceDefinitionKeyref_SimpleLabelSimpleLabelType/ Representation/ AudienceDefinitionKey.@audience
CharacterKeyref_CodedCodedDescriptionType/ CharacterData/ Character/ CharacterDefinitionKey.@ref
CharacterKeyref_CodedObservationCodedDescriptionType/ CharacterData/ ObservationSet/ Observation/ Character/ CharacterDefinitionKey.@ref
CharacterKeyref_NLD1NaturalLanguageDescriptionType/ DescriptionData/ Character/ CharacterDefinitionKey.@ref
CharacterKeyref_NLD2GroupNLDType/ Character/ CharacterDefinitionKey.@ref
CharacterKeyref_NodeConceptTreeNodeType/ Character/ CharacterDefinitionKey.@ref
CharacterStateKeyrefCharacterStateRefsType/ State/ CharacterStateKey.@ref
CharacterStateKeyref_CatMapping1CharacterDefType/ Categorical/ Mappings/ Mapping/ From/ CharacterStateKey.@ref
CharacterStateKeyref_CatMapping2CharacterDefType/ Categorical/ Mappings/ Mapping/ From/ WithinCharacterStateKey.@ref
CharacterStateKeyref_CatMapping3CharacterDefType/ Categorical/ Mappings/ Mapping/ To/ CharacterStateKey.@ref
CharacterStateKeyref_CatMapping4CharacterDefType/ Categorical/ Mappings/ Mapping/ To/ WithinCharacterStateKey.@ref
CharacterStateKeyref_CodedCharacterDataType/ State/ CharacterStateKey.@ref
CharacterStateKeyref_CodedObservationCharacterRawDataType/ State/ CharacterStateKey.@ref
CharacterStateKeyref_NLDCharacterNLDType/ State/ CharacterStateKey.@ref
CharacterStateKeyref_NumMappingCharacterDefType/ Numerical/ Mappings/ Mapping/ To/ CharacterStateKey.@ref
CharacterStateKeyref_NumMapping2CharacterDefType/ Numerical/ Mappings/ Mapping/ To/ WithinCharacterStateKey.@ref
CharacterStatMeasureKeyref_CodedCharacterDataType/ StatisticalMeasure/ CharacterStatMeasureKey.@ref
CharacterStatMeasureKeyref_NLDCharacterNLDType/ StatisticalMeasure/ CharacterStatMeasureKey.@ref
ClassResourceKeyref_DescrDescriptionBaseType/ Class/ ClassResourceKey.@ref
ClassResourceKeyref_DesignedKeyDesignedKeyNodeType/ Class/ ClassResourceKey.@ref
ClassResourceKeyref_HierarchyClassHierarchyNodeType/ Class/ ClassResourceKey.@ref
ClassResourceKeyref_ObjectIDDescribedObjectConnectorType/ ClassIdentification/ ClassResourceKey.@ref
ClassResourceKeyref_SynClassHierarchyNodeType/ Synonyms/ Class/ ClassResourceKey.@ref
CodingStatusKeyref_CodedCharacterDataType/ CodingStatus/ CodingStatusKey.@ref
CodingStatusKeyref_NLDCharacterNLDType/ CodingStatus/ CodingStatusKey.@ref
ConceptTreeNodeKeyref_NLDNaturalLanguageDescriptionType/ DescriptionData/ Group/ ConceptTreeNodeKey.@ref
DesignedKeyDefKeyref_KeyDesignedKeyNodeType/ Subkey/ DesignedKeyDefKey.@ref
DesignedKeyNodeKeyref_KeyDesignedKeyNodeType/ KeyNode/ DesignedKeyNodeKey.@ref
FrequModifierKeyrefFrequencyModifierRefsType/ Modifier/ FrequModifierKey.@ref
FrequModifierKeyref_CodedCharacterStateDataType/ Frequency/ FrequModifierKey.@ref
FrequModifierKeyref_NLDCharacterStateNLDType/ Frequency/ FrequModifierKey.@ref
GenericStateKeyrefCharacterDefType/ Categorical/ States/ StateReference/ GenericStateKey.@ref
GenericStateKeyref_AutoAddCharacterDefType/ Categorical/ AutoAddStates/ GenericStateSet/ ConceptTreeNodeKey.@ref
GlossaryEntryKeyrefGlossaryEntry/ GlossaryEntryKey.@ref
LocalityResourceKeyrefLocalityRefsType/ Locality/ LocalityResourceKey.@ref
MediaResourceKeyref_LabelLabelPlusAbbreviationRepresentationType/ Icon/ MediaResourceKey.@ref
MediaResourceKeyref_ProjIconProjectDefinitionSectionType/ Icon/ MediaResourceKey.@ref
MediaResourceKeyref_RefsMediaResourceRefsType/ MediaResource/ MediaResourceKey.@ref
ModifierKeyrefGeneralModifierRefsType/ Modifier/ GeneralModifierKey.@ref
ModifierKeyref_CodedCharacterStateDataType/ Modifier/ GeneralModifierKey.@ref
ModifierKeyref_NLDCharacterStateNLDType/ Modifier/ GeneralModifierKey.@ref
ModifierSetKeyrefCharacterDefType/ ModifierSets/ ModifierSet/ ModifierSetKey.@ref
ObjectResourceKeyref_DescrDescriptionBaseType/ Object/ ObjectResourceKey.@ref
ProbModifierKeyrefProbabilityModifierRefsType/ Modifier/ ProbModifierKey.@ref
ProbModifierKeyref_CodedCharacterStateDataType/ Probability/ ProbModifierKey.@ref
ProbModifierKeyref_NLDCharacterStateNLDType/ Probability/ ProbModifierKey.@ref
ProbModifierKeyref_StatMeasureCharacterMeasureDataType/ Probability/ ProbModifierKey.@ref
ProbModifierKeyref_StatMeasureNLDCharacterMeasureNLDType/ Probability/ ProbModifierKey.@ref
PublicationResourceKeyref_DescrCitationType/ Publication/ PublicationResourceKey.@ref
PublicationResourceKeyref_ProjDefProjectDefinitionSectionType/ SourcePublication/ PublicationResourceKey.@ref
StatisticalMeasureKeyrefCharacterDefType/ Numerical/ StatisticalMeasures/ StatisticalMeasure/ StatisticalMeasureKey.@ref

Uniqueness constraints

Uniqueness constraints differ from key constraints in that the elements referred to are not required to be present. However, whenever they are present, however, the combination of all fields has to be unique. In SDD schema, most uniqueness constraints could in fact be modeled as key constraints, since the data elements are required. However, to stress the distinction between key definitions to which keyrefs refer, and other constraints, we prefer to model them as uniqueness constraints.

Uniqueness constraintSelector pathField(s)
AudienceDefinition_UniqueLabelAudienceLabelText@lang
Authors_UniqueAgentAgent@ref
Authors_UniqueAgent2Agent@ref
Char_UniqueAutoAddRefsStateSet@ref
Char_UniqueCategoricalMappingMappingFrom/@refTo/@ref
Char_UniqueGenericStateRefsStateReference@ref
Char_UniqueLabelRepresentationRepresentation@audience
Char_UniqueModifierSetRefsModifierSet@ref
Char_UniqueStatMeasureRefsStatisticalMeasure@ref
Character_UniqueLabelTextTerminology/ Characters/ Character/ Label/ RepresentationText@audience
CharDependency_UniqueControllingStateRefsState@ref
CharDependency_UniqueControllingStateRefs2State@ref
CharState_UniqueLabelTextStateDefinition/ Label/ RepresentationText@audience
CharTree_UniqueLabelRepresentationRepresentation@audience
CharTreeNode_UniqueLabelRepresentationRepresentation@audience
CodedDescription_UniqueCharacterCharacter@ref
CodedDescription_UniqueCharStateState@ref
CodedDescription_UniqueCodingStatusCodingStatus@ref
CodedDescription_UniqueNoteRepresentationRepresentation@audience
CodedDescription_UniquerStatisticalMeasureStatisticalMeasure@ref
CodedObservation_UniqueCharacterCharacter@ref
CodedObservation_UniqueCharStateState@ref
CodingStatus_UniqueLabelTextTerminology/ CodingStatusValues/ CodingStatus/ Label/ RepresentationText@audience
CombinedModifierKeyTerminology/ Modifiers/ */ Modifier@key
ConceptTree_UniqueLabelTextTerminology/ ConceptTrees/ ConceptTree/ Label/ RepresentationText@audience
Contributors_UniqueAgentAgent@ref
Contributors_UniqueAgent2Agent@ref
Description_UniqueLocalityLocality@ref
Description_UniqueMediaResourcesMediaResource@ref
DesignedKey_UniqueCodedStatementsState@ref
DesignedKey_UniqueLabelRepresentationRepresentation@audience
DesignedKey_UniqueLabelTextKeys/ Key/ Label/ RepresentationText@audience
DesignedKey_UniqueQuestionTextRepresentationRepresentation@audience
DesignedKey_UniqueStatementRepresentationRepresentation@audience
Editors_UniqueAgentAgent@ref
Editors_UniqueAgent2Agent@ref
Editors2_UniqueAgentAgent@ref
Frequency_UniqueLabelTextTerminology/ Modifiers/ Frequency/ Modifier/ Label/ RepresentationText@audience
GeneralModifier_UniqueLabelTextTerminology/ Modifiers/ General/ Modifier/ Label/ RepresentationText@audience
GenericState_UniqueLabelTextStateDefinition/ Label/ RepresentationText@audience
GlossaryEntry_UniqueAdjacentToTermsTerm.
GlossaryEntry_UniqueKindOfTermsTerm.
GlossaryEntry_UniqueMediaResourcesMediaResource@ref
GlossaryEntry_UniquePartOfTermsTerm.
GlossaryEntry_UniqueRelatedTermsTerm.
GlossaryEntry_UniqueRepresentationRepresentation@audience
GlossaryEntry_UniqueSynTermsTerm.
GlossaryEntry_UniqueTermTerminology/ Glossary/ GlossaryEntry/ RepresentationTerm@audience
LanguageRules_UniqueLanguageLanguageRule@lang
ModifierDefBase_UniqueLabelRepresentationRepresentation@audience
Modifiers_UniqueFrequencyRefModifier@ref
Modifiers_UniqueGeneralModifierRefModifier@ref
Modifiers_UniqueProbabilityRefModifier@ref
ModifierSet_UniqueLabelTextTerminology/ Modifiers/ Sets/ Set/ Label/ RepresentationText@audience
ModSet_UniqueLabelRepresentationRepresentation@audience
NLDMeasure_UniqueNoteRepresentationRepresentation@audience
NLDState_UniqueNoteRepresentationRepresentation@audience
Probability_UniqueLabelTextTerminology/ Modifiers/ Probability/ Modifier/ Label/ RepresentationText@audience
ProjDef_UniqueLocalityLocality@ref
ProjectDef_AudienceSpecificData_UniqueRepresentationRepresentation@audience
StateDefBase_UniqueLabelRepresentationRepresentation@audience
StatisticalMeasure_UniqueLabelTextTerminology/ StatisticalMeasures/ StatisticalMeasure/ Label/ RepresentationText@audience
StatisticalMeasure_UniqueMethodAndValueTerminology/ StatisticalMeasures/ StatisticalMeasure/ GeneralizationMethodMethodValue
StatisticalMeasureDef_UniqueLabelRepresentationRepresentation@audience
Translators_UniqueAgentAgent@ref
Translators_UniqueAgent2Agent@ref

(Generated on 3. Dec. 2003 by DiversitySchemaTools Version 0.2. Copyright (c) G. Hagedorn 2003.)