Appendix A: Common Types

Common and supporting types referenced in this specification are included here as a reference.

A.1 AbstractContentElementType

AbstractContentPackageType used as an element rather than an object, omitting RefId, SIF_Metadata and SIF_ExtendedElements.

AbstractContentElementType
Figure A.1-1: AbstractContentElementType AbstractContentElementType XMLData Description TextData MIMEType FileName Description BinaryData MIMEType FileName Description Reference MIMEType Description URL
 Element/@AttributeCharDescriptionType
 AbstractContentElementType 

AbstractContentPackageType used as an element rather than an object, omitting RefId, SIF_Metadata and SIF_ExtendedElements.

 
 
 XMLDataC

Contains an arbitary XML element, encoded in UTF-8.

 
<xs:any processContents="lax" />
@DescriptionO

Contains an optional description of the content or a processing hint with regard to its structure (e.g. named standard, file layout or XSD). Contents may be mandated in instances of this type, or types that follow the AbstractContentPackageType pattern.

 
xs:token
 TextDataC

Contains arbitrary text, encoded in UTF-8.

 
xs:string
@MIMETypeO

Optional MIME type to specifically indicate the text type. Otherwise text/plain can be assumed.

 
xs:token
@FileNameO

Optional file name to indicate the file from which the content originated, or to suggest a name to use when saving the content.

 
xs:token
@DescriptionO

Contains an optional description of the content or a processing hint with regard to its structure (e.g. named standard, file layout or XSD). Contents may be mandated in instances of this type, or types that follow the AbstractContentPackageType pattern.

 
xs:token
 BinaryDataC

Contains the base64Binary encoding of binary or text data not encoded in UTF-8.

 
xs:base64Binary
@MIMETypeM

MIME type to indicate the content type.

 
xs:token
@FileNameO

Optional file name to indicate the file from which the content originated, or to suggest a name to use when saving the content.

 
xs:token
@DescriptionO

Contains an optional description of the content or a processing hint with regard to its structure (e.g. named standard, file layout or XSD). Contents may be mandated in instances of this type, or types that follow the AbstractContentPackageType pattern.

 
xs:token
 ReferenceC

References external content via a URL.

 
 
@MIMETypeM

MIME type to indicate the content type to be expected when retrieving the external content.

 
xs:token
@DescriptionO

Contains an optional description of the content or a processing hint with regard to its structure (e.g. named standard, file layout or XSD). Contents may be mandated in instances of this type, or types that follow the AbstractContentPackageType pattern.

 
xs:token
 Reference/URLM

Location of external content.

 
xs:anyURI
Table A.1-1: AbstractContentElementType

A.2 AbstractContentPackageType

An abstract type for derived content package types, elements and objects. This structure may be used verbatim, optionally extending with additional attributes, or may be redefined to include only a subset of child elements and/or to add validation to XML contained in XMLData. Only one instance of XMLData, TextData, BinaryData or Reference can occur in a single instance.

AbstractContentPackageType
Figure A.2-1: AbstractContentPackageType AbstractContentPackageType RefId XMLData Description TextData MIMEType FileName Description BinaryData MIMEType FileName Description Reference MIMEType Description URL
 Element/@AttributeCharDescriptionType
 AbstractContentPackageType 

An abstract type for derived content package types, elements and objects. This structure may be used verbatim, optionally extending with additional attributes, or may be redefined to include only a subset of child elements and/or to add validation to XML contained in XMLData. Only one instance of XMLData, TextData, BinaryData or Reference can occur in a single instance.

 
 
@
key
RefIdM

The GUID that uniquely identifies an instance of the package.

 
RefIdType
 XMLDataC

Contains an arbitary XML element, encoded in UTF-8.

 
<xs:any processContents="lax" />
@DescriptionO

Contains an optional description of the content or a processing hint with regard to its structure (e.g. named standard, file layout or XSD). Contents may be mandated in instances of this type, or types that follow the AbstractContentPackageType pattern.

 
xs:token
 TextDataC

Contains arbitrary text, encoded in UTF-8.

 
xs:string
@MIMETypeO

Optional MIME type to specifically indicate the text type. Otherwise text/plain can be assumed.

 
xs:token
@FileNameO

Optional file name to indicate the file from which the content originated, or to suggest a name to use when saving the content.

 
xs:token
@DescriptionO

Contains an optional description of the content or a processing hint with regard to its structure (e.g. named standard, file layout or XSD). Contents may be mandated in instances of this type, or types that follow the AbstractContentPackageType pattern.

 
xs:token
 BinaryDataC

Contains the base64Binary encoding of binary or text data not encoded in UTF-8.

 
xs:base64Binary
@MIMETypeM

MIME type to indicate the content type.

 
xs:token
@FileNameO

Optional file name to indicate the file from which the content originated, or to suggest a name to use when saving the content.

 
xs:token
@DescriptionO

Contains an optional description of the content or a processing hint with regard to its structure (e.g. named standard, file layout or XSD). Contents may be mandated in instances of this type, or types that follow the AbstractContentPackageType pattern.

 
xs:token
 ReferenceC

References external content via a URL.

 
 
@MIMETypeM

MIME type to indicate the content type to be expected when retrieving the external content.

 
xs:token
@DescriptionO

Contains an optional description of the content or a processing hint with regard to its structure (e.g. named standard, file layout or XSD). Contents may be mandated in instances of this type, or types that follow the AbstractContentPackageType pattern.

 
xs:token
 Reference/URLM

Location of external content.

 
xs:anyURI
Table A.2-1: AbstractContentPackageType

A.3 DefinedProtocolsType

The transport protocols defined in SIF.
DefinedProtocolsType
Figure A.3-1: DefinedProtocolsType DefinedProtocolsType
 Element/@AttributeCharDescriptionType
 DefinedProtocolsType The transport protocols defined in SIF. values:
HTTPS
HTTP
Table A.3-1: DefinedProtocolsType

A.4 ExtendedContentType

Allows for any mixed XML in an element.
ExtendedContentType
Figure A.4-1: ExtendedContentType ExtendedContentType
 Element/@AttributeCharDescriptionType
 ExtendedContentType Allows for any mixed XML in an element. 
<xs:complexContent mixed="true"> <xs:restriction base="xs:anyType"> <xs:sequence> <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:restriction> </xs:complexContent>
Table A.4-1: ExtendedContentType

A.5 GUIDType

SIF format for a GUID.
GUIDType
Figure A.5-1: GUIDType GUIDType
 Element/@AttributeCharDescriptionType
 GUIDType SIF format for a GUID. xs:token
xs:pattern[0-9A-F]{32}
Table A.5-1: GUIDType

A.6 IdRefType

A reference to a RefId.
IdRefType
Figure A.6-1: IdRefType IdRefType
 Element/@AttributeCharDescriptionType
 IdRefType A reference to a RefId. RefIdType
Table A.6-1: IdRefType

A.7 MonetaryAmountType

A monetary amount.

MonetaryAmountType
Figure A.7-1: MonetaryAmountType MonetaryAmountType Currency
 Element/@AttributeCharDescriptionType
 MonetaryAmountType 

A monetary amount.

 
xs:decimal
@CurrencyOCurrency code. Where omitted, defaults to implementation-defined local currency, typically USD in the United States. ISO4217CurrencyNamesAndCodeElementsType
Table A.7-1: MonetaryAmountType

A.8 MsgIdType

A message identifier.
MsgIdType
Figure A.8-1: MsgIdType MsgIdType
 Element/@AttributeCharDescriptionType
 MsgIdType A message identifier. GUIDType
Table A.8-1: MsgIdType

A.9 ObjectNameType

An unenumerated SIF object name.

ObjectNameType
Figure A.9-1: ObjectNameType ObjectNameType
 Element/@AttributeCharDescriptionType
 ObjectNameType 

An unenumerated SIF object name.

 
xs:NCName
xs:maxLength64
Table A.9-1: ObjectNameType

A.10 ObjectType

A SIF XML object.

ObjectType
Figure A.10-1: ObjectType ObjectType
 Element/@AttributeCharDescriptionType
 ObjectType 

A SIF XML object.

 
<xs:sequence> <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" namespace="##any" /> </xs:sequence>
Table A.10-1: ObjectType

A.11 ONSParishCouncilNameType

This type represents the set of values for the ONS Parish Council Name code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

ONSParishCouncilNameType
Figure A.11-1: ONSParishCouncilNameType ONSParishCouncilNameType
 Element/@AttributeCharDescriptionType
 ONSParishCouncilNameType 

This type represents the set of values for the ONS Parish Council Name code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

 
xs:token
Table A.11-1: ONSParishCouncilNameType

A.12 ONSParliamentaryConstituencyCodeType

This type represents the set of values for the Parliamentary Constituency Code code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

ONSParliamentaryConstituencyCodeType
Figure A.12-1: ONSParliamentaryConstituencyCodeType ONSParliamentaryConstituencyCodeType
 Element/@AttributeCharDescriptionType
 ONSParliamentaryConstituencyCodeType 

This type represents the set of values for the Parliamentary Constituency Code code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

 
xs:token
Table A.12-1: ONSParliamentaryConstituencyCodeType

A.13 ONSParliamentaryConstituencyNameType

This type represents the set of values for the Parliamentary Constituency Name code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

Some information concerning these values can be found here:

ONSParliamentaryConstituencyNameType
Figure A.13-1: ONSParliamentaryConstituencyNameType ONSParliamentaryConstituencyNameType
 Element/@AttributeCharDescriptionType
 ONSParliamentaryConstituencyNameType 

This type represents the set of values for the Parliamentary Constituency Name code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

Some information concerning these values can be found here:

  • http://www.statistics.gov.uk/geography/parishes.asp#ep
  • http://www.ons.gov.uk/about-statistics/geography/products/geog-products-area/names-codes/administrative/index.html

 
xs:token
Table A.13-1: ONSParliamentaryConstituencyNameType

A.14 ONSWardCodeType

This type represents the set of values for the ONS Ward Code code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

ONSWardCodeType
Figure A.14-1: ONSWardCodeType ONSWardCodeType
 Element/@AttributeCharDescriptionType
 ONSWardCodeType 

This type represents the set of values for the ONS Ward Code code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

 
xs:token
Table A.14-1: ONSWardCodeType

A.15 ONSWardNameType

This type represents the set of values for the Ward Name code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

ONSWardNameType
Figure A.15-1: ONSWardNameType ONSWardNameType
 Element/@AttributeCharDescriptionType
 ONSWardNameType 

This type represents the set of values for the Ward Name code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

 
xs:token
Table A.15-1: ONSWardNameType

A.16 RefIdType

An object or element identifier.
RefIdType
Figure A.16-1: RefIdType RefIdType
 Element/@AttributeCharDescriptionType
 RefIdType An object or element identifier. GUIDType
Table A.16-1: RefIdType

A.17 ReportDataObjectType

A SIF XML object.

ReportDataObjectType
Figure A.17-1: ReportDataObjectType ReportDataObjectType
 Element/@AttributeCharDescriptionType
 ReportDataObjectType 

A SIF XML object.

 
<xs:sequence> <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence>
Table A.17-1: ReportDataObjectType

A.18 ReportPackageType

This package has exactly the same structure as AbstractContentPackageType. ReportPackage can be used in addition to SIF objects specifically in reporting situations within SIF_ReportObject. At this time, it is not a SIF object. It cannot be requested via SIF_Query or SIF_ExtendedQuery in a ReportManifest. It may be included in SIF_ReportObject as part of an external report definition.
ReportPackageType
Figure A.18-1: ReportPackageType ReportPackageType
 Element/@AttributeCharDescriptionType
 ReportPackageType  This package has exactly the same structure as AbstractContentPackageType. ReportPackage can be used in addition to SIF objects specifically in reporting situations within SIF_ReportObject. At this time, it is not a SIF object. It cannot be requested via SIF_Query or SIF_ExtendedQuery in a ReportManifest. It may be included in SIF_ReportObject as part of an external report definition.  AbstractContentPackageType
Table A.18-1: ReportPackageType

A.19 SelectedContentType

Allows an XML fragment selected from an object to be used in an element with XML validation skipped.
SelectedContentType
Figure A.19-1: SelectedContentType SelectedContentType
 Element/@AttributeCharDescriptionType
 SelectedContentType Allows an XML fragment selected from an object to be used in an element with XML validation skipped. 
<xs:complexContent mixed="true"> <xs:restriction base="xs:anyType"> <xs:sequence> <xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:restriction> </xs:complexContent>
Table A.19-1: SelectedContentType

A.20 ServiceNameType

An unenumerated SIF object name.

ServiceNameType
Figure A.20-1: ServiceNameType ServiceNameType
 Element/@AttributeCharDescriptionType
 ServiceNameType 

An unenumerated SIF object name.

 
xs:NCName
Table A.20-1: ServiceNameType

A.21 TeachernetEthnicityCodeType

This type represents the set of values for the Teachernet Ethnicity Code code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

This type represents the set of values for the Teachernet LAId code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

Some information concerning these values can be found here:

TeachernetEthnicityCodeType
Figure A.21-1: TeachernetEthnicityCodeType TeachernetEthnicityCodeType
 Element/@AttributeCharDescriptionType
 TeachernetEthnicityCodeType 

This type represents the set of values for the Teachernet Ethnicity Code code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

This type represents the set of values for the Teachernet LAId code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

Some information concerning these values can be found here:

  • http://www.education.gov.uk/rsgateway/DB/STA/t000455/annexe3.xls

 
xs:token
Table A.21-1: TeachernetEthnicityCodeType

A.22 TeachernetLAIdType

This type represents the set of values for the Teachernet LAId code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

Some information concerning these values can be found here:

TeachernetLAIdType
Figure A.22-1: TeachernetLAIdType TeachernetLAIdType
 Element/@AttributeCharDescriptionType
 TeachernetLAIdType 

This type represents the set of values for the Teachernet LAId code set. The set of values is not included in the SIF Specification but may be found externally in order to validate values of this type.

Some information concerning these values can be found here:

  • England and Wales LA Ids: http://www.ons.gov.uk/about-statistics/geography/products/geog-products-area/names-codes/other/local-education-authorities.zip

 
xs:token
Table A.22-1: TeachernetLAIdType

A.23 URIOrBinaryType

Allows for a URL or a Base-64 encoding.
URIOrBinaryType
Figure A.23-1: URIOrBinaryType URIOrBinaryType
 Element/@AttributeCharDescriptionType
 URIOrBinaryType Allows for a URL or a Base-64 encoding. union of:

xs:anyURI
xs:base64Binary
Table A.23-1: URIOrBinaryType

A.24 VersionType

A SIF version number.
VersionType
Figure A.24-1: VersionType VersionType
 Element/@AttributeCharDescriptionType
 VersionType A SIF version number. xs:token
xs:pattern[0-9]+[.][0-9]+(r[0-9]+)?
xs:maxLength12
Table A.24-1: VersionType

A.25 VersionWithWildcardsType

A SIF version number, with wildcards for matching multiple versions.
VersionWithWildcardsType
Figure A.25-1: VersionWithWildcardsType VersionWithWildcardsType
 Element/@AttributeCharDescriptionType
 VersionWithWildcardsType A SIF version number, with wildcards for matching multiple versions. xs:token
xs:pattern\*|([0-9]+[.]\*)|([0-9]+[.][0-9]+r\*)|([0-9]+[.][0-9]+(r[0-9]+)?)
xs:maxLength12
Table A.25-1: VersionWithWildcardsType

Valid XHTML 1.0 Transitional