W3C

GovTalk-PersonDescriptiveTypes

The document http://www.govtalk.gov.uk/gdsc/schemas/PersonDescriptiveTypes-v1-1.xsd has been classified as being possibly an Advanced XML Schema Patterns for Databinding 1.0 conformant document as it only exhibits the following patterns:

Status Nodes Name XPath
basic TargetNamespace .[@targetNamespace]/ (., @targetNamespace)
basic QualifiedLocalElements .[@elementFormDefault = 'qualified']/ (@elementFormDefault)
basic UnqualifiedLocalAttributes .[not(@attributeFormDefault) or @attributeFormDefault = 'unqualified']/ (., @attributeFormDefault)
basic SchemaVersion ./@version
basic DocumentationElement .//xs:annotation/xs:documentation/ (.., ., .//*, .//@*)
advanced AppinfoElement .//xs:annotation/xs:appinfo/ (.., ., .//*, .//@*)
basic IdentifierName .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name)
basic ImportSchema ./xs:import[@namespace and @schemaLocation]/ (., @namespace, @schemaLocation)
advanced ElementTypeDefaultNamespace .//xs:element[@name and @type and not(contains(@type, ':'))]/ (@name, @type)
basic Id .//@id
basic ElementMinOccurs0 .//xs:element[@minOccurs = '0' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs)
basic ElementMinOccurs0MaxOccursUnbounded .//xs:element[@minOccurs = '0' and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs)
basic GlobalSimpleType ./xs:simpleType[@name]/ (., @name)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
advanced SimpleTypeEnumerationType .//xs:simpleType/xs:restriction[@base and namespace-uri-from-QName(resolve-QName(@base,.)) != 'http://www.w3.org/2001/XMLSchema' ]/ (., @base, xs:enumeration/(., @value))
basic ComplexTypeSequence .//xs:complexType/xs:sequence/ (., xs:element/(., @name))
advanced ExtendedSimpleContent .//xs:complexType/xs:simpleContent/xs:extension[@base]/ (.., ., ./@base, xs:attribute/ (., @name))
basic SequenceElement .//xs:sequence/xs:element/(.)
basic ElementTypeReference .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and contains(@type, ':')]/ (., @name, @type)
advanced ElementTypeReferenceUnqualified .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type)
advanced AttributeTypeReferenceUnqualified .//xs:attribute[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type)
advanced ByteSimpleTypePattern .//xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:byte')]/xs:pattern[@value]/ (.., ../@base, ., @value)
advanced RestrictedMaxLength .//xs:simpleType/xs:restriction/xs:maxLength[@value]/(.., ../@base, ., @value)
advanced RestrictedMinLength .//xs:simpleType/xs:restriction/xs:minLength[@value]/(.., ../@base, ., @value)

<xsd:schema TargetNamespace UnqualifiedLocalAttributes targetNamespace="http://www.govtalk.gov.uk/people/PersonDescriptives" TargetNamespace elementFormDefault="qualified" QualifiedLocalElements attributeFormDefault="unqualified" UnqualifiedLocalAttributes version="1.1" SchemaVersion id="PersonDescriptiveTypes" Id >
<xsd:annotation AppinfoElement >
<xsd:appinfo AppinfoElement >
<Metadata AppinfoElement >
<Contributor AppinfoElement Href="mailto:adam.bailin@coi.gsi.gov.uk" AppinfoElement >
Adam Bailin, COI, Cabinet Office
</Contributor>
<Contributor AppinfoElement Href="mailto:paul.spencer@boynings.co.uk" AppinfoElement >
Paul Spencer, Boynings Consulting
</Contributor>
<Contributor AppinfoElement >
Adrian Kent, Office e-Envoy
</Contributor>
<Creator AppinfoElement Href="mailto:govtalk@cabinet-office.x.gsi.gov.uk" AppinfoElement >
Delivery and Transformation Group, Cabinet Office, UK Government
</Creator>
<Created AppinfoElement >
2003-02-11
</Created>
<Modified AppinfoElement >
2004-12-08
</Modified>
<Description AppinfoElement >
Person descriptive types for use within UK Government
</Description>
<Format AppinfoElement Scheme="http://www.iana.org/assignments/media-types/" AppinfoElement >
text/xml
</Format>
<Identifier AppinfoElement Href="http://www.govtalk.gov.uk/gdsc/schemas/PersonDescriptiveTypes-v1-1.xsd" AppinfoElement >
PersonDescriptiveTypes-v1-1
</Identifier>
<Language AppinfoElement codeListID="ISO639-2" AppinfoElement >
eng
</Language>
<Publisher AppinfoElement Href="mailto:govtalk@cabinet-office.x.gsi.gov.uk" AppinfoElement >
Delivery and Transformation Group, Cabinet Office, UK Government
</Publisher>
<ConformsTo AppinfoElement >
http://www.w3.org/2001/XMLSchema
</ConformsTo>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
VerificationLevelType
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonBirthDateStructure
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonDeathDateStructure
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonMaritalStatusStructure
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
GenderAtRegistrationType
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
GenderCurrentType
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonNameSuffixType
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonRequestedNameType
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonGivenNameType
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonFamilyNameType
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonInitialsType
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonNameTitleType
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonFullNameType
</ProvidesDefinitionOf>
<ProvidesDefinitionOf AppinfoElement Namespace="http://www.govtalk.gov.uk/people/PersonDescriptives" AppinfoElement >
PersonNameStructure
</ProvidesDefinitionOf>
<Requires AppinfoElement >
http://www.govtalk.gov.uk/gdsc/schemas/CommonSimpleTypes-v1-3.xsd
</Requires>
<Copyright AppinfoElement >
Crown copyright 2003, 2004
</Copyright>
<ProtectiveMarking AppinfoElement >
unclassified
</ProtectiveMarking>
<Status AppinfoElement >
draft
</Status>
<StatusDescription AppinfoElement >
For approval by the GSG
</StatusDescription>
<Version AppinfoElement >
1.1
</Version>
<Category AppinfoElement codeListID="GCL" AppinfoElement />
<Project AppinfoElement >
UK GovTalk Government Data Standards Catalogue
</Project>
<Title AppinfoElement >
Person Descriptive Types 1.1
</Title>
<Type AppinfoElement >
architectural
</Type>
</Metadata>
</xsd:appinfo>
</xsd:annotation>
<xsd:import ImportSchema namespace="http://www.govtalk.gov.uk/core" ImportSchema schemaLocation="CommonSimpleTypes-v1-3.xsd" ImportSchema />
<xsd:simpleType GlobalSimpleType name="VerificationLevelType" IdentifierName GlobalSimpleType >
<xsd:restriction SimpleTypeEnumerationType base="core:RestrictedStringType" SimpleTypeEnumerationType >
<xsd:enumeration SimpleTypeEnumerationType value="Level 0" SimpleTypeEnumerationType />
<xsd:enumeration SimpleTypeEnumerationType value="Level 1" SimpleTypeEnumerationType />
<xsd:enumeration SimpleTypeEnumerationType value="Level 2" SimpleTypeEnumerationType />
<xsd:enumeration SimpleTypeEnumerationType value="Level 3" SimpleTypeEnumerationType />
</xsd:restriction>
</xsd:simpleType>
<!-- Choice of types for marital Status -->
<!-- OR.... -->
<xsd:complexType GlobalComplexType name="PersonMaritalStatus" IdentifierName GlobalComplexType >
<xsd:simpleContent ExtendedSimpleContent >
<xsd:extension ExtendedSimpleContent base="core:MaritalStatusType" ExtendedSimpleContent ></xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
<xsd:simpleType GlobalSimpleType name="GenderAtRegistrationType" IdentifierName GlobalSimpleType >
<xsd:restriction ByteSimpleTypePattern base="xsd:byte" ByteSimpleTypePattern > </xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="GenderCurrentType" IdentifierName GlobalSimpleType >
<xsd:restriction ByteSimpleTypePattern base="xsd:byte" ByteSimpleTypePattern > </xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="PersonNameSuffixType" IdentifierName GlobalSimpleType >
<xsd:restriction SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength base="core:RestrictedStringType" SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength >
<xsd:minLength RestrictedMinLength value="1" RestrictedMinLength />
<xsd:maxLength RestrictedMaxLength value="35" RestrictedMaxLength />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="PersonRequestedNameType" IdentifierName GlobalSimpleType >
<xsd:restriction SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength base="core:RestrictedStringType" SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength >
<xsd:minLength RestrictedMinLength value="1" RestrictedMinLength />
<xsd:maxLength RestrictedMaxLength value="70" RestrictedMaxLength />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="PersonGivenNameType" IdentifierName GlobalSimpleType >
<xsd:restriction SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength base="core:RestrictedStringType" SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength >
<xsd:minLength RestrictedMinLength value="1" RestrictedMinLength />
<xsd:maxLength RestrictedMaxLength value="35" RestrictedMaxLength />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="PersonFamilyNameType" IdentifierName GlobalSimpleType >
<xsd:restriction SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength base="core:RestrictedStringType" SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength >
<xsd:minLength RestrictedMinLength value="1" RestrictedMinLength />
<xsd:maxLength RestrictedMaxLength value="35" RestrictedMaxLength />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="PersonInitialsType" IdentifierName GlobalSimpleType >
<xsd:restriction SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength base="core:RestrictedStringType" SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength >
<xsd:minLength RestrictedMinLength value="1" RestrictedMinLength />
<xsd:maxLength RestrictedMaxLength value="35" RestrictedMaxLength />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="PersonNameTitleType" IdentifierName GlobalSimpleType >
<xsd:restriction SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength base="core:RestrictedStringType" SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength >
<xsd:minLength RestrictedMinLength value="1" RestrictedMinLength />
<xsd:maxLength RestrictedMaxLength value="35" RestrictedMaxLength />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="PersonFullNameType" IdentifierName GlobalSimpleType >
<xsd:restriction SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength base="core:RestrictedStringType" SimpleTypeEnumerationType RestrictedMaxLength RestrictedMinLength >
<xsd:minLength RestrictedMinLength value="1" RestrictedMinLength />
<xsd:maxLength RestrictedMaxLength value="70" RestrictedMaxLength />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="PersonNameStructure" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
This mirrors the CitizenNameStructure in the AddressAndPersonalDetails namespace and supersedes it.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence ComplexTypeSequence > </xsd:sequence>
</xsd:complexType>
</xsd:schema>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).