BS ISO 20022-4-2013 Financial services Universal financial industry message scheme XML Schema generation《金融服务 通用金融行业信息规划 可扩展标示语言(XML)模式生成》.pdf

上传人:testyield361 文档编号:586044 上传时间:2018-12-15 格式:PDF 页数:36 大小:1.31MB
下载 相关 举报
BS ISO 20022-4-2013 Financial services Universal financial industry message scheme XML Schema generation《金融服务 通用金融行业信息规划 可扩展标示语言(XML)模式生成》.pdf_第1页
第1页 / 共36页
BS ISO 20022-4-2013 Financial services Universal financial industry message scheme XML Schema generation《金融服务 通用金融行业信息规划 可扩展标示语言(XML)模式生成》.pdf_第2页
第2页 / 共36页
BS ISO 20022-4-2013 Financial services Universal financial industry message scheme XML Schema generation《金融服务 通用金融行业信息规划 可扩展标示语言(XML)模式生成》.pdf_第3页
第3页 / 共36页
BS ISO 20022-4-2013 Financial services Universal financial industry message scheme XML Schema generation《金融服务 通用金融行业信息规划 可扩展标示语言(XML)模式生成》.pdf_第4页
第4页 / 共36页
BS ISO 20022-4-2013 Financial services Universal financial industry message scheme XML Schema generation《金融服务 通用金融行业信息规划 可扩展标示语言(XML)模式生成》.pdf_第5页
第5页 / 共36页
亲,该文档总共36页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBS ISO 20022-4:2013Financial services Universalfinancial industry messageschemePart 4: XML Schema generationBS ISO 20022-4:2013 BRITISH STANDARDNational forewordThis British Stan

2、dard is the UK implementation of ISO 20022-4:2013.The UK participation in its preparation was entrusted to TechnicalCommittee IST/12, Financial services.A list of organizations represented on this committee can beobtained on request to its secretary.This publication does not purport to include all t

3、he necessaryprovisions of a contract. Users are responsible for its correctapplication. The British Standards Institution 2013. Published by BSI StandardsLimited 2013ISBN 978 0 580 70959 3ICS 03.060Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard

4、was published under the authority of theStandards Policy and Strategy Committee on 31 May 2013.Amendments issued since publicationDate Text affectedBS ISO 20022-4:2013Reference numberISO 20022-4:2013(E)ISO 2013INTERNATIONAL STANDARD ISO20022-4First edition2013-05-01Financial services Universal finan

5、cial industry message scheme Part 4: XML Schema generation Services financiers Schma universel de messages pour lindustrie financire Partie 4: Gnration de schma XML BS ISO 20022-4:2013ISO 20022-4:2013(E) COPYRIGHT PROTECTED DOCUMENT ISO 2013 All rights reserved. Unless otherwise specified, no part o

6、f this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 C

7、H-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO 2013 All rights reservedBS ISO 20022-4:2013ISO 20022-4:2013(E) ISO 2013 All rights reserved iiiContents Page Foreword iv Introduction vi 1 Scope 1 2 Normative referen

8、ces 1 3 Terms and definitions . 1 4 Background 1 5 ISO 20022 transformation rules for MessageSet . 2 5.1 Preconditions . 2 5.2 Transformation constraints 2 5.3 Namespaces . 2 5.4 Granularity of schemas . 3 5.5 XML MessageInstances 3 5.5.1 Encoding 3 5.5.2 Default namespace 3 5.5.3 DOCTYPE . 3 5.5.4

9、SchemaLocation 3 5.5.5 XML name abbreviation algorithm . 3 5.6 Completeness 3 5.7 Method 4 5.7.1 General . 4 5.7.2 Relationship between metamodel concepts and XML Schema artefacts . 4 5.7.3 ISO 20022 DataType transformation to XSD Schema 9 Bibliography 22 BS ISO 20022-4:2013ISO 20022-4:2013(E) iv IS

10、O 2013 All rights reservedForeword ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing International Standards is normally carried out through ISO technical committees. Each member body interested

11、in a subject for which a technical committee has been established has the right to be represented on that committee. International organizations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical Commi

12、ssion (IEC) on all matters of electrotechnical standardization. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of technical committees is to prepare International Standards. Draft International Standards adopted by the technica

13、l committees are circulated to the member bodies for voting. Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO shal

14、l not be held responsible for identifying any or all such patent rights. ISO 20022-4 was prepared by Technical Committee ISO/TC 68, Financial services. This first edition cancels and replaces ISO/TS 20022-4:2004. ISO 20022 consists of the following parts, under the general title Financial services U

15、niversal financial industry message scheme: Part 1: Metamodel Part 2: UML profile Part 3: Modelling Part 4: XML Schema generation Part 5: Reverse engineering Part 6: Message transport characteristics Part 7: Registration Part 8: ASN.1 generation ISO 20022-1:2013, ISO 20022-2:2013, ISO 20022-3:2013,

16、ISO 20022-4:2013, ISO 20022-5:2013, ISO 20022-6:2013, ISO 20022-7:2013 and ISO 20022-8:2013 will be implemented by the Registration Authority by no later than the end of May 2013, at which time support for the concepts set out within them will be effective. Users and potential users of the ISO 20022

17、 series are encouraged to familiarize themselves with the 2013 editions as soon as possible, in order to understand their impact and take advantage of their content as soon as they are implemented by the Registration Authority. For further guidance, please contact the Registration Authority. BS ISO

18、20022-4:2013ISO 20022-4:2013(E) ISO 2013 All rights reserved vFor the purposes of research on financial industry message standards, users are encouraged to share their views on ISO 20022:2013 and their priorities for changes to future editions of the document. Click on the link below to take part in

19、 the online survey: http:/ BS ISO 20022-4:2013ISO 20022-4:2013(E) vi ISO 2013 All rights reservedIntroduction This International Standard defines a scalable, methodical process to ensure consistent descriptions of messages throughout the financial services industry. The purpose of this International

20、 Standard is to describe precisely and completely the externally observable aspects of financial services messaging in a way that can be verified independently against operational messaging. The trigger for the creation of this International Standard was the rapid growth in the scale and sophisticat

21、ion of messaging within financial services during the 1990s using ISO 15022. The financial services industry (from here on referred to as “the industry“) created the first version of this International Standard as the successor to ISO 15022 in response to that trigger. Since ISO 15022, the industry

22、has broadened the scope from securities to the entire industry for this International Standard. This International Standard is based on open technology standards, which historically have evolved more rapidly than the industry itself. Consequently, this International Standard adopted a model-driven a

23、pproach where the model of the industrys messaging can evolve separately from the evolution of the messaging technology standards. The period during which this International Standard has emerged followed the widespread adoption of the World Wide Web (the Web) for business. XML (eXtensible Mark-up La

24、nguage) emerged as the de facto standard for document representation on the Web and it became the first syntax for ISO 20022. The modelling process is further refined into three levels which, in addition to the messaging technology standard, is why this International Standard is based on four levels

25、: the Scope level, the Conceptual level, the Logical level and the Physical level. This four-level approach is based on the first four levels of the Zachman Framework. The remaining two levels of the Zachman Framework are equivalent to the implementations and the operational levels, respectively. In

26、 ISO 20022-1, the first, second and third levels are described in UML (Unified Modelling Language) because it is widely supported and supports multiple levels of abstraction. The models created in accordance with this International Standard are technology independent in that they do not require any

27、particular physical expression or implementation. Such models aim to describe all parts of the message exchange. The models form the definition of the protocol between participants exchanging messages. This International Standard defines a method that describes a process by which these models can be

28、 created and maintained by the modellers. The models and the Physical level artefacts are stored in a central repository, serviced by a Registration Authority. This International Standards repository is available on the World Wide Web and offers public access for browsing. The Repository is organize

29、d into two areas: A DataDictionary containing the industry model elements likely to have further or repeated use. A BusinessProcessCatalogue that contains models describing specific message definitions and business processes, and physical syntax implementations. This International Standard is organi

30、zed into the following parts. ISO 20022-1 describes in MOF (Meta-Object Facility) the metamodel of all the models and the Repository. BS ISO 20022-4:2013ISO 20022-4:2013(E) ISO 2013 All rights reserved vii ISO 20022-2 covers the UML profile, a grounding of general UML into a specific subset defined

31、for this International Standard (to be used when UML is selected to define the models). ISO 20022-3 describes a modelling method to produce models for this International Standard. This part of ISO 20022 covers XML schema generation rules to transform a Logical level model into a Physical level descr

32、iption in the syntaxes. ISO 20022-5 covers logical model alignment and reverse engineering of existing message syntaxes. ISO 20022-6 covers message transport characteristics that define the quality of service required by the business process definitions so that they can operate successfully. ISO 200

33、22-7 describes the process of managing the registration of models and physical syntax implementations. ISO 20022-8 gives ASN.1 syntax generation rules to transform a Logical level model into a Physical level description in ASN.1. BS ISO 20022-4:2013BS ISO 20022-4:2013INTERNATIONAL STANDARD ISO 20022

34、-4:2013(E) ISO 2013 All rights reserved 1Financial services Universal financial industry message scheme Part 4: XML Schema generation 1 Scope This part of ISO 20022 was prepared to complement the ISO 20022 Metamodel, as specified in ISO 20022-1, with the XML syntax transformation rules to be applied

35、 by the ISO 20022 Registration Authority in order to translate an ISO 20022 compliant MessageDefinition into an XML Schema for the description and validation of XML Messages. It specifies the transformation rules from level 3 to level 4. It is a deterministic transformation, meaning that the resulti

36、ng XML Schema is completely predictable for a given MessageDefinition. There is neither manual input to the transformation itself nor manual adjustment to the result of the transformation. 2 Normative references The following referenced documents are indispensable for the application of this documen

37、t. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ISO 20022-1, Financial services Universal financial industry message scheme Part 1: Metamodel RFC 5141, Available at http:/www.rfc-archiv

38、e.org/getrfc.php?rfc=5141 3 Terms and definitions For the purposes of this document, the terms and definitions given in ISO 20022-1 apply. 4 Background XML is a standard defined by W3C (the World Wide Web Consortium) that is used for the representation (i.e. the syntax) of standardized ISO 20022 Mes

39、sageDefinitions. XML leaves a lot of freedom for the exact way it is used in a particular application. Therefore, merely stating that XML is used is not sufficient to guarantee predictability; it is also necessary to explain how it will be used. This part of ISO 20022 contains a set of XML design ru

40、les. These design rules define how a MessageDefinition is transformed into an ISO 20022 XML Schema. A valid XML document (referred to hereafter as XML Instance or Instance) is any XML document that has an associated description and that complies with the constraints expressed in that description. Th

41、e associated description in this case is derived from the MessageDefinition. BS ISO 20022-4:2013ISO 20022-4:2013(E) 2 ISO 2013 All rights reservedThis part of ISO 20022 also describes how a MessageSet can be converted into XML Schemas by specifying how a MessageDefinition is transformed into an XML

42、Schema. This XML Schema will then make it possible to use a validating XML Schema parser to automatically verify that a given XML Instance complies with the constraints (or a subset of constraints) described in the MessageDefinition. This part of ISO 20022 is limited to explaining how a given Messag

43、eDefinition will be mapped into XML; it does not explain how to create a MessageDefinition. This information can be found in ISO 20022-3. 5 ISO 20022 transformation rules for MessageSet 5.1 Preconditions The MessageSet used as input for the transformation is a valid instance of the MessageSet meta-c

44、lass. 5.2 Transformation constraints An ISO 20022 XML Schema contains an XML comment at the top, which contains the following metadata: the ISO 20022 RA issued release number; EXAMPLE R6.1.0.2 the generation date; documentation text (optional). Apart from the RA administered XML comment line, an ISO

45、 20022 XML Schema contains only information relevant for the validation of XML Instances by an XML Schema parser. For example, it does not contain documentation (definitions, etc.) or implementation information (relationships between similar Components, etc). An ISO 20022 XML Schema is an implementa

46、tion of the MessageDefinition. The MessageDefinition is always the definitive source. XML Schema Definition (XSD) Elements are local within their complexType, except for rootElement ComplexTypes, which are global. This approach is commonly called the Venetian blind approach. All aspects of dictionar

47、y management, e.g. reuse and pointers, are managed at the level of the MessageDefinition. These aspects, among others, are covered in ISO 20022-3. All complexType and simpleType elements in the XML Schema appear after the root element, in alphabetical order, using the type “name“ attribute as sort k

48、ey. 5.3 Namespaces There are several namespace declarations used in the XML Schema. 1) The targetNamespace, which is the namespace to which all XSD Elements and Types belong. The URN, which shall be in accordance with RFC 5141, consists of: a fixed part consisting of the URN of the namespace for ISO

49、 documents, urn:iso:std:iso:20022:tech; a part unique to each schema, xsd: MessageDefinitionIdentifier; the structure and meaning of MessageDefinitionIdentifier are explained in ISO 20022-3. BS ISO 20022-4:2013ISO 20022-4:2013(E) ISO 2013 All rights reserved 32) The XML Schema namespace. 3) The default namespace, which is the same as the TargetNamespace. EXAMPLE Namespace declarations in an ISO 20022 XML Schema: EXAMPLE Namespace declara

展开阅读全文
相关资源
  • BS ISO IEC 29150-2011 Information technology Security techniques Signcryption《信息技术 安全技术 签密》.pdfBS ISO IEC 29150-2011 Information technology Security techniques Signcryption《信息技术 安全技术 签密》.pdf
  • BS ISO IEC 15408-1-2009 Information technology - Security techniques - Evaluation criteria for IT Security - Introduction and general model《信息技术 安全技术 IT安全评价准则 一.pdfBS ISO IEC 15408-1-2009 Information technology - Security techniques - Evaluation criteria for IT Security - Introduction and general model《信息技术 安全技术 IT安全评价准则 一.pdf
  • BS ISO 7295-1988+A1-2014 Tyre valves for aircraft Interchangeability dimensions《飞机轮胎汽门嘴 互换性尺寸》.pdfBS ISO 7295-1988+A1-2014 Tyre valves for aircraft Interchangeability dimensions《飞机轮胎汽门嘴 互换性尺寸》.pdf
  • BS ISO 15118-1-2013 Road vehicles Vehicle to grid communication interface General information and use-case definition《道路车辆 车辆到电力通讯接口 通用信息和使用案例定义》.pdfBS ISO 15118-1-2013 Road vehicles Vehicle to grid communication interface General information and use-case definition《道路车辆 车辆到电力通讯接口 通用信息和使用案例定义》.pdf
  • BS ISO 13765-2-2004 Refractory mortars - Determination of consistency using the reciprocating flow table method《耐熔灰浆 使用往复流动表法测定一致性》.pdfBS ISO 13765-2-2004 Refractory mortars - Determination of consistency using the reciprocating flow table method《耐熔灰浆 使用往复流动表法测定一致性》.pdf
  • BS ISO 10998-2008+A1-2014 Agricultural tractors Requirements for steering《农业拖拉机 操纵要求》.pdfBS ISO 10998-2008+A1-2014 Agricultural tractors Requirements for steering《农业拖拉机 操纵要求》.pdf
  • BS Z 9-1998 Space data and information transfer systems - Advanced orbiting systems - Networks and data links - Architectural specification《空间数据和信息传输系统 高级轨道系统 网络和数据链接 结构规范》.pdfBS Z 9-1998 Space data and information transfer systems - Advanced orbiting systems - Networks and data links - Architectural specification《空间数据和信息传输系统 高级轨道系统 网络和数据链接 结构规范》.pdf
  • BS Z 7-1998 Space data and information transfer systems - ASCII encoded English《空间数据和信息传输系统 ASCII 编码英语》.pdfBS Z 7-1998 Space data and information transfer systems - ASCII encoded English《空间数据和信息传输系统 ASCII 编码英语》.pdf
  • BS Z 5-1997 Space data and information transfer systems - Standard formatted data units - Control authority procedures《航天数据和信息发送系统 标准格式数据单元 控制授权程序》.pdfBS Z 5-1997 Space data and information transfer systems - Standard formatted data units - Control authority procedures《航天数据和信息发送系统 标准格式数据单元 控制授权程序》.pdf
  • BS Z 4-1997 Space data and information transfer systems - Standard formatted data units - Structure and construction rules《航天数据和信息传输系统 标准格式数据单元 结构和构造规则》.pdfBS Z 4-1997 Space data and information transfer systems - Standard formatted data units - Structure and construction rules《航天数据和信息传输系统 标准格式数据单元 结构和构造规则》.pdf
  • 猜你喜欢
    相关搜索

    当前位置:首页 > 标准规范 > 国际标准 > BS

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1