UBL Library Content Methodology

Similar documents
Information Model Architecture. Version 1.0

UBL v2 Data Model Architecture Discussion Paper

Department of the Navy XML Naming and Design Rules (NDR) Overview. 22 September 2004 Federal CIO Council XML WG Mark Crawford LMI

Dictionary Driven Exchange Content Assembly Blueprints

Proposed Revisions to ebxml Technical Architecture Specification v ebxml Business Process Project Team

Quick Guide to CAM Dictionaries

Proposed Revisions to ebxml Technical. Architecture Specification v1.04

UN/CEFACT Core Components Data Type Catalogue Version December 2007

Schema Rules for UBL and Maybe for You. Eve Maler XML 2002 Conference 12 December 2002

Technical Framework Supporting ebusiness Standards. Christian Huemer TMG Chair

STAR Naming and Design Rules. Version 1.0

UN/CEFACT Core Components Technical Specification Version 3.0

Feedback from OASIS UBL TC to Draft Core Components Specification 1.8

UN/CEFACT ebxml Core Components Technical Specification. 30 September 2002 Version 1.85

Office of the Government Chief Information Officer XML SCHEMA DESIGN AND MANAGEMENT GUIDE PART I: OVERVIEW [G55-1]

UN/CEFACT ebxml Core Components Technical Specification. 11 August 2003 Version 2.0

UBL Naming and Design Rules Checklist

UN/CEFACT/UBL XML Naming and Design Rules Analysis Page 1

Guide to the Core Components Dictionary. ebxml Core Components

Core Component Primer

Beginning To Define ebxml Initial Draft

CEN/ISSS WS/eCAT. Terminology for ecatalogues and Product Description and Classification

Using UML To Define XML Document Types

ISO/IEC INTERNATIONAL STANDARD. Information technology Metadata registries (MDR) Part 3: Registry metamodel and basic attributes

Business Document Naming and Design Rules Version 1.1

UN/CEFACT Core Components Data Type Catalogue Version September 2009

Business Document Naming and Design Rules Version 1.0

Economic and Social Council

The Future of XML Vocabularies. Creating UBL Conformant Schema Tutorial

Core Components Technical Specification, Part October 2001 Version 1.7

Automatic Test Markup Language <ATML/> Sept 28, 2004

XML Naming and Design Rules. Draft 1.1, 14 January 2005

Fourth Cycle Validation Report

Government of Ontario IT Standard (GO ITS) GO-ITS Number 56.3 Information Modeling Standard

XML Naming and Design Rules

Chapter 8: Enhanced ER Model

21. Document Component Design

Teiid Designer User Guide 7.5.0

STANDARD ST.66 DECEMBER 2007 CHANGES

Government of Ontario IT Standard (GO ITS)

NISO STS (Standards Tag Suite) Differences Between ISO STS 1.1 and NISO STS 1.0. Version 1 October 2017

DCMI Abstract Model - DRAFT Update

A Core Component-based Modelling Approach for Achieving e-business Semantics Interoperability

Information Technology Metadata registries (MDR) Part 5: Naming and identification principles

Implementation Issues in the ebxml CPA formation process - the Referencing Problem

11. Documents and Document Models

ISO INTERNATIONAL STANDARD. Language resource management Feature structures Part 1: Feature structure representation

CASE TOOLS LAB VIVA QUESTION

RIM Document Editorial Tasks

UBL NDR 2.0 Checklist

UBL Guidelines for Customization Version 1.0

Information Technology Document Schema Definition Languages (DSDL) Part 1: Overview

UBL Guidelines for Customization Version 1.0

ISO/TS TECHNICAL SPECIFICATION

XML Naming and Design Rules Draft 1.2, 8 September 2005

Step: 9 Conduct Data Standardization

SDMX self-learning package No. 3 Student book. SDMX-ML Messages

UBL 2 Guidelines for Customization, First Edition

S1000D - An Overview. Background, Benefits, and Overview of S1000D Data Module Structures

Metadata Workshop 3 March 2006 Part 1

Enhancing Business Processes Using Semantic Reasoning. Monica. J. Martin Sun Java Web Services. 26 May

Sandvik Coromant Technical White Paper GTC Guidelines Introduction to Generic Tool Classification

ISO INTERNATIONAL STANDARD. Information and documentation Managing metadata for records Part 2: Conceptual and implementation issues

GJXDM Information Exchange Package Methodology Naming & Design Rules (MNDR) Presented by

Universal Business Language (UBL) Naming and Design Rules

Administrative Guideline. SMPTE Metadata Registers Maintenance and Publication SMPTE AG 18:2017. Table of Contents

Business Process and Business. Information Analysis Overview

Department of the Navy XML Naming and Design Rules. Office of the DON Chief Information Officer

CimConteXtor User Guide

Management of Metadata and XML Schemas for e-justice. Pim Keizer Pim van der Eijk

Universal Business Language (UBL) Naming and Design Rules 2.0

Federal XML Naming and Design Rules and Guidelines. Mark Crawford

DTD MIGRATION TO W3C SCHEMA

ebxml CC Dictionary Entry Naming Conventions ebxml Core Components

Business Object Type Library Draft Technical Specification

ISA Action 1.17: A Reusable INSPIRE Reference Platform (ARE3NA)

Lecture 5 STRUCTURED ANALYSIS. PB007 So(ware Engineering I Faculty of Informa:cs, Masaryk University Fall Bühnová, Sochor, Ráček

Background. Recommendations. SAC13-ANN/11/Rev. SAC/RDA Subcommittee/2013/1 March 8, 2013; rev. July 11, 2013 page 1 of 7

21 February 2009 AUDIT REPORT Page: 1/32 AUDIT REPORT OF THE. D08A ACC and BIE CCL Directories and All associated RSMs and schemas

DDI Manual. Instructions for Developing and Extending the DDI Specification

Global Data Type (GDT) Design

Data Compliance Guidelines Version 1.2

Webinar May 13, 2010

Opus: University of Bath Online Publication Store

ESRI stylesheet selects a subset of the entire body of the metadata and presents it as if it was in a tabbed dialog.

Introduction to Global Data Types in SAP NetWeaver PI 7.1 (preview)

Creating and Maintaining Vocabularies

CISC 3140 (CIS 20.2) Design & Implementation of Software Application II

Chapter 8 The Enhanced Entity- Relationship (EER) Model

Promoting semantic interoperability between public administrations in Europe

Teiid Designer User Guide 7.7.0

Universal Business Language (UBL) Naming and Design Rules

Practical Database Design Methodology and Use of UML Diagrams Design & Analysis of Database Systems

Conceptual Data Modeling for the Functional Decomposition of Mission Capabilities

UN/CEFACT XML Naming and Design Rules Version st Public Review 7 August 2008

Stylus Studio Case Study: FIXML Working with Complex Message Sets Defined Using XML Schema

DATA MODELS FOR SEMISTRUCTURED DATA

Purpose: Use this document to Update a Letter Template and Add Merge Fields to a letter template.

Draft Technical Note: FpML Validation Language Requirements

Anchovy User Guide. Copyright Maxprograms

Transcription:

UBL Library Content Methodology The purpose of this document is two-fold: 1. To explain how we got to where we are with the UBL vocabulary, we felt it necessary to provide a background to the rationale and framework in which we conducted our work. 2. This document will eventually become a guide for those wishing to maintain or extend the UBL Library. An initial analysis has been completed for the Order structure used in xcbl3.0. From this base we will seek to extend and refine our model to accommodate other business documents and constructs from other e-business vocabularies. We have deliberately chosen to adapt an existing XML vocabulary (xcbl 3.0), not because we wish to promote the xcbl view, we simply decided that it was better than starting with a blank page. (Lisa put your xcbl overview here) We have attempted to identify all the Basic Information Entities 1 involved in this document following the guidelines of the ebxml Core Component Technical Specification (CCTS) 2. Much of our terminology is taken from this specification. We intend our library and its document definitions to be compliant with the ebxml Core Component Technical Specification. These BIEs were captured as a logical model in both XML Schema (XSD) and spreadsheet 3 (Excel) form. The XML Schema logical model was then encoded as an XML Schema following the UBL Naming and Design Rules. This schema was then used to assemble the components into a UBL Order in XML Schema (XSD) form. However, in theory, the model could also be used to generate other XML schema languages (e.g. DTD, RELAX, etc.). Our current library now contains the structure for an Order document. It also contains a core library of structural components (known as re-usable types) and their content components (Basic BIEs). Both of these reference the ebxml Core Component Types for the data types of their Basic BIEs. Process Steps 1. We analyzed the xcbl constructs to identify the Basic Information Entities. The practices we adopted were: a. Remove redundant nesting, i.e. one element contains only one element which contains only one element. i. Listof structures are a form of redundant nesting in that only the object itself needs be defined, the Listof is described by using the cardinality of 0..n or 1..n. ii. Nesting may be necessary to allow for the correct cardinality. That is two objects may need to be repeated in pairs. We need to define a container(aggregate) to contain the pair and this aggregate has a cardinality of 0..n. b. Implementation features such as CodedOther elements do not form part of the BIE library. c. Elements with names ending in Number or Name or ID may not actually be numeric, actual names or true identifiers. We were guided by the logical use of the object, not its name. 1 A Basic Information Entity is defined by the CCTS as A piece of business data or a group of pieces of business data with a unique business semantic definition. A Business Information Entity can be either a Basic Business Information Entity (BBIE) or an Aggregate Business Information Entity (ABIE). 2 Available from http://www.ebtwg.org/news/040402.html. 3 Because of limitations with current XML Schema design tools we found it easier to manipulate the model using a two-dimensional matrix, i.e. a spreadsheet. We then automated the construction of the XML Schema from this matrix. UBL Library Content subcommittee Draft Page 1 of 5

d. Check to see this BIE is not already defined as a Re-usable Type. This may mean defined in another context. For example BuyerDetails and SellerDetails are instances of Party in two different contexts. If it is possible to associate the BIE with an existing Re-usable Type, then skip the next step. e. Define a new Re-usable Type. Every Aggregate BIE is an instance of a Re-usable Type. The Re-usable Type defines the structure of the Aggregate BIE. 2. Gave the BIE a name a. Each BIE has both a UBL Name and a BIE Dictionary Entry Name. Rules for deriving these names are given in Step 6. b. Validate the use of name components A proper analysis of name components should allow us to say A [Representation Term] represents the [Property Qualifier, Property Term] of the Object Class. e.g. 'an Identifier represents the Identifier of the Party', or 'a Contact represents the Shipping Contact of the Party', or 'a Code represents the Identification of a Language' 3. Checked the occurrences rules, based initially on xcbl 3.0, but with UBL interpretation. 4. Identified new BIEs There were cases where we found missing pieces of information. We then created a new BIE. 5. Identified candidate Core Components A UBL BIE without context is a Core Component as defined by the CCTS. In the cases where we have not identified an existing Core Component, these become Candidate Core Components. We intend to submit these candidates to the appropriate UN/CEFACT group in the near future. 6. Establish the UBL Library Our UBL Library metamodel contains: UBL UID xcbl Name UBL Name This is a 9-character string, unique across the entire UBL library, starting with the characters "UBL", followed by a six-digit number. The name of the element as given in xcbl 3.0. For Basic BIEs, these are constructed from 'property qualifier' + 'property term'+ 'representation term'. For Aggregate BIEs, these are constructed from 'property qualifier' + 'property term'+ 'reusable type' There are also some refinements: UBL Library Content subcommittee Draft Page 2 of 5

Property Term is removed if it is the same as the Representation Term. Identifier as a representation term is abbreviated to Id, except where it is the only component used. Text as a representation term is not used in the name. Embedded spaces in components are removed. This name is used for the XML tag name (ref: Naming and Design Rules). BIE Dictionary Entry Name Object Class These are constructed from 'object class' + 'property qualifier' + 'property term'+ 'representation term' with a ". " separator. Property Term is removed if it is the same as the Representation Term. Object Class is a 'logically related group of properties', i.e. a collection that makes business sense. We also refer to these things as Re-usable Types, but they are also known as Classes (to the OO and UML world) or Entities (to database designers). For components of a Re-usable Type, the value of the Object Class should always be the name of the Re-usable Type. This may be subject to 'de-normalizing' for design reasons (eg. The OrderHeader and OrderSummary components belong to Order Object Class. OrderHeader and OrderSummary are structural containers only.) Property Qualifier Property Term Property Qualifier is only used for Aggregate BIEs. It is the 'context' of the relationship with another Re-usable Type. That is, it is the role this object plays within its association with the 'parent' type. This does not apply to Basic BIEs. If it appears that a Basic BIE needs a property qualifier then it is either: (a) an inadequate property name, (b) two distinct Basic BIEs, or (c) a candidate group of Basic BIEs that may be another Aggregate (ie Re-usable Type). A Property Term identifies the specific item within its Object Class. This represents the distinguishing characteristic or property of the dominant area of interest and shall occur naturally in the definition. It may also be known as an attribute (to database designers). The combination of Object Class, Property Qualifier (if appropriate) and its Property Term, should give the basic semantic meaning of the item. Representation Term Defines the structure of valid values for BIEs. Basic BIEs use one of the Core Component Representation Terms as defined by CCTS. Aggregate BIEs use the Representation Term of Details as defined by CCTS. NB. The property of 'unique identification' may be provided by any of the three Representation Terms. 'Identifier' - when the set of values is informally defined, defined by an unofficial source or for private use. This Representation allows us to associate an agency that will ensure uniqueness within their own code sets. Only one occurrence of the word Identifier need be in the UBL Name or the BIE Dictionary Entry Name. UBL Library Content subcommittee Draft Page 3 of 5

Type Occurrence Basic/Aggregate UBL Definition 'Code' - when the set of values is formally defined by an officially recognized agency (e.g. ISO). This would add a Identifier. Code to the UBL Name and the BIE Dictionary Entry Name. 'Name' - when the set of values is an informal text string. This is relatively rare situation, but would add a Identifier. Name to the UBL Name and the BIE Dictionary Entry Name. For Basic BIEs this should be an appropriate Core Component Type as defined in CCTS. For Aggregates BIEs this should be the name of the associated UBL re-useable type. This type will be defined elsewhere in the model. You may want to envisage this as being a forward pointer to other structures. Based on our interpretation of the xcbl schema we defined the optionality (whether a component is mandatory or not) and its cardinality (how many times it may appear in a given instance). We denoted this using an occurrence notation, where 0..1, means it may occur once only or not at all. 1..1, means it must occur once only 0..n, means it may occur many times or not at all. 1..n, means it must occur once and may occur many times. Either Basic (does not contain further BIEs) or Aggregate (does contain further BIEs). All Basic BIEs are instances of Core Component Types. All Aggregate BIEs are instances of re-usable Types. Originally derived from the xcbl definition (or Core Component catalogue definition if available) and supplemented by the UBL team. Code Lists/Standards Analyst Notes In those cases where the BIE is a Code. Type, and its value is to be described in an external standard, then the particular code-list or standard should be identified here. There is currently a position paper within UBL on how these code sets will be applied. This is a list of comments, queries and notes made as the work is done. Core Component UID This is the UID of the related core component, in those cases where a direct correlation exists. This information is based on the current Core Component Catalog and is still immature. Context Business Process Context Region (Geopolitical) Context Official Contraints Context Product Context Industry Context Role The handling of Contexts is the vehicle by which UBL will extend its BIEs to allow for customization and extension. UBL Library Content subcommittee Draft Page 4 of 5

Editor's Notes At this stage we have assumed a general context for all our BIEs as being the Business Process of Procurement. These will be refined and defined in the next release. (ref: Context Methodology and Context Drivers team within UBL) Where editorial comments need to be applied to an entry s definition. 7. Assemble the Order Document Document assembly involves establishing the structural components required for an Order document. These are encoded as an XML Schema (XSD). We chose to view the document definitions as context-driven extensions to our core library of Re-usable Types. This meant the same metadata structures would apply to both models. Because our metamodel is an XML Schema, the resultant document structures are already suitable as a valid XML Schema. We determined that the Order required three substructures, OrderHeader, LineItem and OrderSummary. Of these, LineItem, was considered a Re-usable Type. That is, it may be re-used in other contexts (e.g. Ship Notice, Invoice, etc.). So in the Order document we re-used the LineItem from our core library in the context of Order. All this means that to assemble an Order we only need to define the overarching three part structure and then the substructures specific to Order documents, that is, OrderHeader and Order Summary. This explains why the Order schema document itself is relatively small and the majority of component definitions reside in the core library of Re-usable Types. Assembling other document types should require undertaking similar high-level structural definitions and then referencing Re-usable Types from our core library using the required context to achieve customization. 8. Ongoing Maintenance The UBL Library can expand both in its core library (of Re-usable Types) and in context-specific document definitions. Each requires similar refinements and improvements in both the content definitions and in the methodology outlined here. UBL Library Content subcommittee Draft Page 5 of 5