Documentation for epc-elements

Table of Contents

top

Schema Document Properties

Target Namespace urn:epc:xml-schema
Version 2.0
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xs http://www.w3.org/2001/XMLSchema
epc urn:epc:xml-schema
Schema Component Representation
<schema targetNamespace="urn:epc:xml-schema" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0">
<include schemaLocation="http://epc.ub.uu.se/schema/epc/2006/epc-types.xsd"/>
...
</schema>
top

Global Declarations

Element: agent

Name agent
Type typeAgent
Nillable no
Abstract no
Documentation Metadata related to an agent which is an enitity with a role
XML Instance Representation
<agent>
<identifiers> typeIdentifiers </identifiers> [0..1]
<name> typeName </name> [1] ?
<contact> typeContact </contact> [0..1] ?
Start Choice [1]
<parentOrganisations> [0..1]
<organisation> typeEntity </organisation> [1..*]
</parentOrganisations>
<affiliations> [0..1]
<organisations> typeEntity </organisations> [1..*]
</affiliations>
End Choice
<role> listOfRoles </role> [1] ?
</agent>
Schema Component Representation
<element name="agent" type=" typeAgent "/>
top

Element: classification

Name classification
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Metadata related to classification
XML Instance Representation
<classification>
<identifiers> typeIdentifiers </identifiers> [1]
<names> typeNames </names> [0..1]
<classificationScheme> [1]
<identifiers> typeIdentifiers </identifiers> [1]
<names> typeNames </names> [0..1]
<authority> typeEntity </authority> [0..1] ?
</classificationScheme>
</classification>
Schema Component Representation
<element name="classification">
<complexType>
<sequence>
<element name="identifiers" type=" typeIdentifiers "/>
<element name="names" type=" typeNames " minOccurs="0"/>
<element name="classificationScheme">
<complexType>
<sequence>
<element name="identifiers" type=" typeIdentifiers "/>
<element name="names" type=" typeNames " minOccurs="0"/>
<element name="authority" type=" typeEntity " minOccurs="0"/>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
top

Element: country

Name country
Type typeList
Nillable no
Abstract no
Documentation Metadata related to a country
XML Instance Representation
<country>
<identifiers> typeIdentifiers </identifiers> [1]
<names> typeNames </names> [0..1]
</country>
Schema Component Representation
<element name="country" type=" typeList "/>
top

Element: event

Name event
Type typeEvent
Nillable no
Abstract no
Documentation Metadata related to an event such as a disputation or publicatgion
XML Instance Representation
<event
type=" listEventTypeAttr [1] ?">
Start All [1]
<name> typeDescName </name> [0..1] ?
<datetime> typeDatetime </datetime> [1] ?
<place> typePlace </place> [0..1] ?
<agents> [0..1] ?
<agent> typeAgent </agent> [1..*]
</agents>
End All
</event>
Schema Component Representation
<element name="event" type=" typeEvent "/>
top

Element: language

Name language
Type typeList
Nillable no
Abstract no
Documentation Metadata related to a language
XML Instance Representation
<language>
<identifiers> typeIdentifiers </identifiers> [1]
<names> typeNames </names> [0..1]
</language>
Schema Component Representation
<element name="language" type=" typeList "/>
top

Element: organisation

Name organisation
Type typeEntity
Nillable no
Abstract no
Documentation Metadata related to an organisation, institution etc.
XML Instance Representation
<organisation>
<identifiers> typeIdentifiers </identifiers> [0..1]
<name> typeName </name> [1] ?
<contact> typeContact </contact> [0..1] ?
Start Choice [1]
<parentOrganisations> [0..1]
<organisation> typeEntity </organisation> [1..*]
</parentOrganisations>
<affiliations> [0..1]
<organisations> typeEntity </organisations> [1..*]
</affiliations>
End Choice
</organisation>
Schema Component Representation
<element name="organisation" type=" typeEntity "/>
top

Element: person

Name person
Type typeEntity
Nillable no
Abstract no
Documentation Metadata related to an individual
XML Instance Representation
<person>
<identifiers> typeIdentifiers </identifiers> [0..1]
<name> typeName </name> [1] ?
<contact> typeContact </contact> [0..1] ?
Start Choice [1]
<parentOrganisations> [0..1]
<organisation> typeEntity </organisation> [1..*]
</parentOrganisations>
<affiliations> [0..1]
<organisations> typeEntity </organisations> [1..*]
</affiliations>
End Choice
</person>
Schema Component Representation
<element name="person" type=" typeEntity "/>
top

Element: series

Name series
Type typeSeries
Nillable no
Abstract no
Documentation Metadata related to series
XML Instance Representation
<series>
<identifiers> typeIdentifiers </identifiers> [1]
<titles> typeTitles </titles> [0..1]
</series>
Schema Component Representation
<element name="series" type=" typeSeries "/>
top

Element: subject

Name subject
Type Locally-defined complex type
Nillable no
Abstract no
Documentation Metadata related to topic/subject
XML Instance Representation
<subject
topic=" listTopicAttr [0..1]">
<names> typeNames </names> [0..1]
</subject>
Schema Component Representation
<element name="subject">
<complexType>
<sequence>
<element name="names" type=" typeNames " minOccurs="0"/>
</sequence>
<attribute name="topic" type=" listTopicAttr " use="optional"/>
</complexType>
</element>
top