W3C

GovTalk-PublicHighwayEnquiry

The document http://www.govtalk.gov.uk/documents/PublicHighwayEnquiry.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 GlobalElementUnqualifiedType ./xs:element[@name and @type and not(contains(@type, ':'))]/ (., @name, @type)
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)
advanced AttributeRequired .//xs:attribute[@use = 'required']/ (@use)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
basic ComplexTypeAttribute .//xs:complexType/xs:attribute[@name]/ (., @name)
basic ComplexTypeSequence .//xs:complexType/xs:sequence/ (., xs:element/(., @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)
basic StringElement .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:string')]
basic StringAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:string')]
basic LocalElementComplexType .//xs:element[not(parent::xs:schema)]/xs:complexType
advanced ElementDefaultAnytype .//xs:element[@name and not(@type) and ./not(xs:simpleType or xs:complexType or xs:unique or xs:key or xs:keyref)]/(.)

<xs:schema TargetNamespace UnqualifiedLocalAttributes targetNamespace="http://www.hants.gov.uk/HampshireCountyCouncilEnquiry" TargetNamespace elementFormDefault="qualified" QualifiedLocalElements attributeFormDefault="unqualified" UnqualifiedLocalAttributes version="1.0" SchemaVersion id="HampshireCountyCouncilEnquiry-v1-0" Id >
<xs:annotation AppinfoElement >
<xs:appinfo AppinfoElement >
<Metadata AppinfoElement >
<Audience AppinfoElement >
e-service developers
</Audience>
<Contributor AppinfoElement >
Peter Kitts, IT Services, Hampshire County Council (mailto:peter.kitts@hants.gov.uk)
</Contributor>
<Contributor AppinfoElement >
Robin Ashford, Turing Service Management (mailto:rashford@turing.co.uk)
</Contributor>
<Creator AppinfoElement >
(mailto:@hants.gov.uk)
</Creator>
<Date AppinfoElement >
<Created AppinfoElement >
2004-02-01
</Created>
</Date>
<Date AppinfoElement >
<Modified AppinfoElement >
2004-07-28
</Modified>
</Date>
<Description AppinfoElement />
<Format AppinfoElement >
<MediaType AppinfoElement >
text/xml
</MediaType>
<Syntax AppinfoElement >
http://www.w3.org/2001/XMLSchema
</Syntax>
<Description AppinfoElement >
XML schema, W3C Recommendation 2001
</Description>
</Format>
<Identifier AppinfoElement >
HampshireCountyCouncilEnquiry-v1-0
</Identifier>
<Language AppinfoElement >
[ISO 639-2/B] ENG
</Language>
<Publisher AppinfoElement >
Office of the e-Envoy, Stockley House,130 Wilton Road, London SW1V 1LQ
</Publisher>
<Rights AppinfoElement >
Unclassified
<Copyright AppinfoElement >
Crown Copyright 2002,2003
</Copyright>
</Rights>
<Subject AppinfoElement >
<Category AppinfoElement >
People, communities and living
</Category>
</Subject>
<Subject AppinfoElement >
<Project AppinfoElement >
Public Enquiry Manager Inter-Authority Interchange of Highway Enquiries
</Project>
</Subject>
<Title AppinfoElement >
Hampshire County Council Enquiry Schema
</Title>
<Type AppinfoElement >
Architectural
</Type>
</Metadata>
</xs:appinfo>
</xs:annotation>
<xs:import ImportSchema namespace="http://www.govtalk.gov.uk/people/AddressAndPersonalDetails" ImportSchema schemaLocation="PersonalDetailsTypes-v1-3.xsd" ImportSchema />
<xs:import ImportSchema namespace="http://www.govtalk.gov.uk/people/bs7666" ImportSchema schemaLocation="BS7666-v1-3.xsd" ImportSchema />
<xs:complexType GlobalComplexType name="EnquiryStructure" IdentifierName GlobalComplexType >
<xs:sequence ComplexTypeSequence >
<xs:element ComplexTypeSequence SequenceElement name="InternalReference" IdentifierName ComplexTypeSequence type="xs:string" StringElement minOccurs="0" ElementMinOccurs0 >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The reference assigned by the system receiving the enquiry
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ComplexTypeSequence SequenceElement name="ExternalReference" IdentifierName ComplexTypeSequence type="xs:string" StringElement minOccurs="0" ElementMinOccurs0 >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The reference assigned by the system sending the enquiry
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ComplexTypeSequence SequenceElement name="ExternalSource" IdentifierName ComplexTypeSequence type="xs:string" StringElement minOccurs="0" ElementMinOccurs0 >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The system sending the enquiry
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ComplexTypeSequence SequenceElement name="Issue" IdentifierName ComplexTypeSequence >
<xs:complexType LocalElementComplexType >
<xs:sequence ComplexTypeSequence >
<xs:element ComplexTypeSequence SequenceElement name="Service" IdentifierName ComplexTypeSequence >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
The service the enquiry relates to is indicated by the values of the child elements which are intended to be populated from a category list e.g. LGCL
</xs:documentation>
</xs:annotation>
<xs:complexType LocalElementComplexType >
<xs:sequence ComplexTypeSequence >
<xs:element ComplexTypeSequence SequenceElement ElementDefaultAnytype name="Scheme" IdentifierName ComplexTypeSequence >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
e.g. LGCL
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ComplexTypeSequence SequenceElement ElementDefaultAnytype name="Reference" IdentifierName ComplexTypeSequence >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
e.g. 1402
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ComplexTypeSequence SequenceElement ElementDefaultAnytype name="ServiceName" IdentifierName ComplexTypeSequence >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
e.g. Road and pathway maintenance
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ComplexTypeSequence SequenceElement name="HighwayEnquiry" IdentifierName ComplexTypeSequence minOccurs="0" ElementMinOccurs0 >
<xs:annotation DocumentationElement >
<xs:documentation DocumentationElement >
Contains child elements that relate to a Hampshire Highways enquiry. It is the intention that various enquiry types could be defined relating to different services.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ComplexTypeSequence SequenceElement name="Contact" IdentifierName ComplexTypeSequence minOccurs="0" ElementMinOccurs0 >
<xs:complexType LocalElementComplexType ></xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute ComplexTypeAttribute name="SchemaVersion" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute use="required" AttributeRequired />
</xs:complexType>
</xs: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).