RtigXml Schema Structure 1.1

The RtigXml schema uses a modular structure, broken down into a number of packages.

Version 1.1 of RTIG was intended to describe (a) a common architecture for exchanging messages based on TRIDENT request/response and publish subscribe, and (b) specific RTIG messages for Stop Status and Vehicle Status services, but to leave implementors free to combine these in a number of different ways.

  • Version 1.1 of RtigXml therefore provides a simple implementation of the TRIDENT request/response and publish subscribe messages that is not directly coupled to the RtigXml service messages (trident_xml_request-response.xsd). The general TRIDENT messages (such as get, register and deliver) have XML 'any' tags at the point at which concrete RtigXml service messages should be included.
  • The concrete RtigXml service messages for Stop Status and Vehicle Status servicesare separately defined by a separate schema (trident_rt_schema.xsd). This directly and indirectly references all the TRIDENT modules (including many that were not used).

In version 1.1 of RTIG, there is no single concrete schema that can be used to validate instance documents (See Version 1.2 for a single concrete RtigXml schema).

Instance documents must therefore reference both schema. trident_xml_request_response.xsd schema, and the trident_rtig_schema.xsd. See examples using loosely coupled references.

.

RtigXml 1.1 Schema Packages:

RtigXml Schema References 1.1

The RtigSchema contains references to the Trident Schema.

(C) Copyright 2001, 2, 4 TRIDENT consortium, All Rights Reserved.

  • The base Trident schemas trident.xsd etc (shown in green) are referenced.
  • The general RTIG-XML stop vehicle real time protocol is contained in trident_rt_schema.xsd. (yellow in diagram). This is intended as general-purpose extensions to the TRIDENT standard
  • The abstract TRIDENT message exchange protocol is contained in trident_xml_request-response.xsd (yellow in diagram), based on the Trident-Request-Answer.xsd module.
  • UK specific code definitions for NaPTAN are contained in trident_rtig_schema.xsd. (Blue in diagram) This is a very small extension schema.
  • Rtig_API.xsd (or RtigXml.xsd) is purely a convenience artefact used to group together the separate request and delivery for presentation & documentation purposes.