<xsd:schema targetNamespace="http://www.EcoInvent.org/EcoSpold02" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0.13"> <xsd:include schemaLocation="EcoSpold02DataTypes.xsd"/> <xsd:include schemaLocation="EcoSpold02MetaInformation.xsd"/> <xsd:include schemaLocation="EcoSpold02FlowData.xsd"/> ... </xsd:schema>
<...> <activityDescription> TActivityDescription <!-- Uniqueness Constraint - pkClassificationSystem Selector - es:classification Field(s) - @classificationId --> </activityDescription> [1] <flowData> TFlowData <!-- Uniqueness Constraint - pkVariableName Selector - es:parameter|es:elementaryExchange|es:elementaryExchange/es:property|es:intermediateExchange|es:intermediateExchange/es:property Field(s) - @variableName --> </flowData> [1] <modellingAndValidation> TModellingAndValidation </modellingAndValidation> [1] <administrativeInformation> TAdministrativeInformation </administrativeInformation> [1] Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*] </...>
<xsd:complexType name="TActivityDataset"> <xsd:sequence> <xsd:element name="activityDescription" type="TActivityDescription"> <xsd:unique name="pkClassificationSystem"> <xsd:selector xpath="es:classification"/> <xsd:field xpath="@classificationId"/> </xsd:unique> </xsd:element> <xsd:element name="flowData" type="TFlowData"> <xsd:unique name="pkVariableName"> <xsd:selector xpath="es:parameter|es:elementaryExchange|es:elementaryExchange/es:property|es:intermediateExchange|es:intermediateExchange/es:property"/> <xsd:field xpath="@variableName"/> </xsd:unique> </xsd:element> <xsd:element name="modellingAndValidation" type="TModellingAndValidation"/> <xsd:element name="administrativeInformation" type="TAdministrativeInformation"/> <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>
<...> <activity> TActivity <!-- Uniqueness Constraint - pkActivityNameLang Selector - es:activityName Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkIncludedActivitiesEndLang Selector - es:includedActivitiesEnd Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkIncludedActivitiesStart Selector - es:includedActivitiesStart Field(s) - @xml:lang --> </activity> [1] <classification> TClassification <!-- Uniqueness Constraint - pkClassifictionSystemLang Selector - es:classificationSystem Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkClassifictionValueLang Selector - es:classificationValue Field(s) - @xml:lang --> </classification> [0..*] <geography> TGeography <!-- Uniqueness Constraint - pkGeographyShortnameLang Selector - shortname Field(s) - @xml:lang --> </geography> [1] <technology> TTechnology </technology> [1] <timePeriod> TTimePeriod </timePeriod> [1] <macroEconomicScenario> TMacroEconomicScenario <!-- Uniqueness Constraint - pkMacroEconomicScenarioNameLang Selector - es:name Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkMacroEconomicScenarioCommentLang Selector - es:comment Field(s) - @xml:lang --> </macroEconomicScenario> [1] Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*] </...>
<xsd:complexType name="TActivityDescription"> <xsd:sequence> <xsd:element name="activity" type="TActivity"> <xsd:unique name="pkActivityNameLang"> <xsd:selector xpath="es:activityName"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkIncludedActivitiesEndLang"> <xsd:selector xpath="es:includedActivitiesEnd"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkIncludedActivitiesStart"> <xsd:selector xpath="es:includedActivitiesStart"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> </xsd:element> <xsd:element name="classification" type="TClassification" minOccurs="0" maxOccurs="unbounded"> <xsd:unique name="pkClassifictionSystemLang"> <xsd:selector xpath="es:classificationSystem"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkClassifictionValueLang"> <xsd:selector xpath="es:classificationValue"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> </xsd:element> <xsd:element name="geography" type="TGeography"> <xsd:unique name="pkGeographyShortnameLang"> <xsd:selector xpath="shortname"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> </xsd:element> <xsd:element name="technology" type="TTechnology"/> <xsd:element name="timePeriod" type="TTimePeriod"/> <xsd:element name="macroEconomicScenario" type="TMacroEconomicScenario"> <xsd:unique name="pkMacroEconomicScenarioNameLang"> <xsd:selector xpath="es:name"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkMacroEconomicScenarioCommentLang"> <xsd:selector xpath="es:comment"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> </xsd:element> <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>
<...> <dataEntryBy> TDataEntryBy </dataEntryBy> [1] <dataGeneratorAndPublication> TDataGeneratorAndPublication </dataGeneratorAndPublication> [1] <fileAttributes> TFileAttributes <!-- Uniqueness Constraint - pkContextNameLang Selector - es:contextName Field(s) - @xml:lang --> </fileAttributes> [1] Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*] </...>
<xsd:complexType name="TAdministrativeInformation"> <xsd:sequence> <xsd:element name="dataEntryBy" type="TDataEntryBy"/> <xsd:element name="dataGeneratorAndPublication" type="TDataGeneratorAndPublication"/> <xsd:element name="fileAttributes" type="TFileAttributes"> <xsd:unique name="pkContextNameLang"> <xsd:selector xpath="es:contextName"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> </xsd:element> <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>
<...> <intermediateExchange> TIntermediateExchange <!-- Uniqueness Constraint - pkProductExchangeCommentLang Selector - es:comment Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkProductExchangeNameLang Selector - es:name Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkProductExchangeUnitNameLang Selector - es:unitName Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkProductionVolumeComment Selector - es:productionVolumeComment Field(s) - @xml:lang --> </intermediateExchange> [1..*] <elementaryExchange> TElementaryExchange <!-- Uniqueness Constraint - pkElementaryExchangeCommentLang Selector - es:comment Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkElementaryExchangeNameLang Selector - es:name Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkElementaryExchangeUnitNameLang Selector - es:unitName Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkCompartmentLang Selector - es:compartment/compartment Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkSubcompartmentLang Selector - compartment/subcompartment Field(s) - @xml:lang --> </elementaryExchange> [0..*] <parameter> TParameter <!-- Uniqueness Constraint - pkParameterNameLang Selector - es:name Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkParameterUnitNameLang Selector - es:unitName Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkParameterCommentLang Selector - es:comment Field(s) - @xml:lang --> </parameter> [0..*] <impactIndicator> TImpactIndicatorResult </impactIndicator> [0..*] Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*] </...>
<xsd:complexType name="TFlowData"> <xsd:sequence> <xsd:element name="intermediateExchange" type="TIntermediateExchange" maxOccurs="unbounded"> <xsd:unique name="pkProductExchangeCommentLang"> <xsd:selector xpath="es:comment"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkProductExchangeNameLang"> <xsd:selector xpath="es:name"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkProductExchangeUnitNameLang"> <xsd:selector xpath="es:unitName"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkProductionVolumeComment"> <xsd:selector xpath="es:productionVolumeComment"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> </xsd:element> <xsd:element name="elementaryExchange" type="TElementaryExchange" minOccurs="0" maxOccurs="unbounded"> <xsd:unique name="pkElementaryExchangeCommentLang"> <xsd:selector xpath="es:comment"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkElementaryExchangeNameLang"> <xsd:selector xpath="es:name"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkElementaryExchangeUnitNameLang"> <xsd:selector xpath="es:unitName"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkCompartmentLang"> <xsd:selector xpath="es:compartment/compartment"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkSubcompartmentLang"> <xsd:selector xpath="compartment/subcompartment"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> </xsd:element> <xsd:element name="parameter" type="TParameter" minOccurs="0" maxOccurs="unbounded"> <xsd:unique name="pkParameterNameLang"> <xsd:selector xpath="es:name"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkParameterUnitNameLang"> <xsd:selector xpath="es:unitName"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkParameterCommentLang"> <xsd:selector xpath="es:comment"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> </xsd:element> <xsd:element name="impactIndicator" type="TImpactIndicatorResult" minOccurs="0" maxOccurs="unbounded"/> <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>
<...> <representativeness> TRepresentativeness <!-- Uniqueness Constraint - pkSystemModelName Selector - es:systemModelName Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkSamplingProcedure Selector - es:samplingProcedure Field(s) - @xml:lang --> <!-- Uniqueness Constraint - pkExtrapolations Selector - es:extrapolations Field(s) - @xml:lang --> </representativeness> [0..1] <review> TReview <!-- Uniqueness Constraint - pkOtherDetailsLang Selector - es:otherDetails Field(s) - @xml:lang --> </review> [0..*] Allow any elements from a namespace other than this schema's namespace (lax validation). [0..*] </...>
<xsd:complexType name="TModellingAndValidation"> <xsd:sequence> <xsd:element name="representativeness" type="TRepresentativeness" minOccurs="0"> <xsd:unique name="pkSystemModelName"> <xsd:selector xpath="es:systemModelName"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkSamplingProcedure"> <xsd:selector xpath="es:samplingProcedure"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> <xsd:unique name="pkExtrapolations"> <xsd:selector xpath="es:extrapolations"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> </xsd:element> <xsd:element name="review" type="TReview" minOccurs="0" maxOccurs="unbounded"> <xsd:unique name="pkOtherDetailsLang"> <xsd:selector xpath="es:otherDetails"/> <xsd:field xpath="@xml:lang"/> </xsd:unique> </xsd:element> <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType>
Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.
All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.
Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.
Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.
Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.
Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.
Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.
Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.
Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.
Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.
Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.
Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.
Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.
Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).
Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.
Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.
Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.
Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.
Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.