Standardized product ontology register and transfer by data parcels - Part 8: Web service interface for data parcels (IEC 62656-8:2020)

This part of IEC 62656 specifies a web service interface to exchange data parcel(s)
conformant to IEC 62656-1, between a parcel server and a parcel client or between parcel
servers. This interface comprises three basic services: a registration service, resolution
service and subscription service.
This document includes the following:
– holistic use scenario;
– detailed specification of the three basic services;
– JSON [1] and XML [5] notation schemas for data parcel(s).
The following items are outside the scope of this document:
– user identification and authorization;
– query language for a data parcel;
– transportation protocol;
– data and communication security techniques.

Standardisierte Übertragung und Registrierung von Ontologien für Produkte mittels Datenpaketen - Teil 8: Webservice-Schnittstelle für Datenpakete (IEC 62656-8:2020)

Enregistrement d'ontologie de produits normalisés et transfert par paquets de données - Partie 8: Interface de service Web pour les paquets de données (IEC 62656-8:2020)

L'IEC 62656-8:2020 spécifie une interface de service Web d’échange de paquet(s) de données conformes à l'IEC 62656-1 entre un serveur de paquets et un client de paquets ou entre des serveurs de paquets. Cette interface est composée de trois services de base: un service d'enregistrement, un service de résolution et un service d'abonnement.
Le présent document inclut:
– un scénario d’utilisation holistique;
– la spécification détaillée des trois services de base;
– les schémas de notation JSON et XML correspondant à un ou des paquets de données.
L'IEC 62656-8:202 ne s'applique pas:
– à l'identification et l'autorisation des utilisateurs;
– au langage d'interrogation pour un paquet de données;
– au protocole de transport;
– aux données et techniques de sécurité de communication.

Register ontologije standardiziranih izdelkov in prenos po podatkovnih enotah - 8. del: Vmesnik spletne storitve za podatkovne enote (IEC 62656-8:2020)

General Information

Status
Published
Public Enquiry End Date
29-Nov-2018
Publication Date
10-Nov-2020
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
24-Aug-2020
Due Date
29-Oct-2020
Completion Date
11-Nov-2020

Buy Standard

Standard
EN IEC 62656-8:2020 - BARVE
English language
79 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day
Draft
prEN IEC 62656-8:2018 - BARVE
English language
73 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST EN IEC 62656-8:2020
01-december-2020
Register ontologije standardiziranih izdelkov in prenos po podatkovnih enotah - 8.
del: Vmesnik spletne storitve za podatkovne enote (IEC 62656-8:2020)
Standardized product ontology register and transfer by data parcels - Part 8: Web
service interface for data parcels (IEC 62656-8:2020)
Standardisierte Übertragung und Registrierung von Ontologien für Produkte mittels
Datenpaketen - Teil 8: Webservice-Schnittstelle für Datenpakete (IEC 62656-8:2020)
Enregistrement d'ontologie de produits normalisés et transfert par paquets de données -
Partie 8: Interface de service Web pour les paquets de données (IEC 62656-8:2020)
Ta slovenski standard je istoveten z: EN IEC 62656-8:2020
ICS:
01.110 Tehnična dokumentacija za Technical product
izdelke documentation
35.200 Vmesniška in povezovalna Interface and interconnection
oprema equipment
SIST EN IEC 62656-8:2020 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
SIST EN IEC 62656-8:2020

---------------------- Page: 2 ----------------------
SIST EN IEC 62656-8:2020


EUROPEAN STANDARD EN IEC 62656-8

NORME EUROPÉENNE

EUROPÄISCHE NORM
August 2020
ICS 01.040.01; 01.110

English Version
Standardized product ontology register and transfer by data
parcels - Part 8: Web service interface for data parcels
(IEC 62656-8:2020)
Enregistrement d'ontologie de produits normalisés et Standardisierte Übertragung und Registrierung von
transfert par paquets de données - Partie 8: Interface de Ontologien für Produkte mittels Datenpaketen - Teil 8:
service Web pour les paquets de données Webservice-Schnittstelle für Datenpakete
(IEC 62656-8:2020) (IEC 62656-8:2020)
This European Standard was approved by CENELEC on 2020-07-29. CENELEC members are bound to comply with the CEN/CENELEC
Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration.
Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC
Management Centre or to any CENELEC member.
This European Standard exists in three official versions (English, French, German). A version in any other language made by translation
under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the
same status as the official versions.
CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic,
Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the
Netherlands, Norway, Poland, Portugal, Republic of North Macedonia, Romania, Serbia, Slovakia, Slovenia, Spain, Sweden, Switzerland,
Turkey and the United Kingdom.


European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique
Europäisches Komitee für Elektrotechnische Normung
CEN-CENELEC Management Centre: Rue de la Science 23, B-1040 Brussels
© 2020 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
 Ref. No. EN IEC 62656-8:2020 E

---------------------- Page: 3 ----------------------
SIST EN IEC 62656-8:2020
EN IEC 62656-8:2020 (E)
European foreword
The text of document 3D/342/FDIS, future edition 1 of IEC 62656-8, prepared by SC 3D "Classes,
Properties and Identification of products - Common Data Dictionary (CDD)" of IEC/TC 3
"Documentation, graphical symbols and representations of technical information" was submitted to the
IEC-CENELEC parallel vote and approved by CENELEC as EN IEC 62656-8:2020.
The following dates are fixed:
• latest date by which the document has to be implemented at national (dop) 2021-04-29
level by publication of an identical national standard or by endorsement
• latest date by which the national standards conflicting with the (dow) 2023-07-29
document have to be withdrawn

Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. CENELEC shall not be held responsible for identifying any or all such patent rights.

Endorsement notice
The text of the International Standard IEC 62656-8:2020 was approved by CENELEC as a European
Standard without any modification.
In the official version, for Bibliography, the following note has to be added for the standard indicated:
IEC 61360-2:2012 NOTE Harmonized as EN 61360-2:2013 (not modified)


2

---------------------- Page: 4 ----------------------
SIST EN IEC 62656-8:2020
EN IEC 62656-8:2020 (E)
Annex ZA
(normative)

Normative references to international publications
with their corresponding European publications
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments)
applies.
NOTE 1  Where an International Publication has been modified by common modifications, indicated by (mod), the relevant
EN/HD applies.
NOTE 2  Up-to-date information on the latest versions of the European Standards listed in this annex is available here:
www.cenelec.eu.
Publication Year Title EN/HD Year
IEC 62656-1 2014 Standardized product ontology register and EN 62656-1 2015
transfer by spreadsheets - Part 1: Logical
structure for data parcels
ISO/IEC 21778 - Information technology - The JSON data - -
interchange syntax
ISO 639-1 - Codes for the representation of names of - -
languages - Part 1: Alpha-2 code
ISO 3166-1 - Codes for the representation of names of - -
countries and their subdivisions - Part 1:
Country codes
ISO 8601-1 - Date and time - Representations for - -
information interchange - Part 1: Basic rules
ISO 8601-2 - Date and time - Representations for - -
information interchange - Part 2: Extensions
ISO 13584-32 - Industrial automation systems and - -
integration - Parts library - Part 32:
Implementation resources: OntoML: Product
ontology markup language



3

---------------------- Page: 5 ----------------------
SIST EN IEC 62656-8:2020

---------------------- Page: 6 ----------------------
SIST EN IEC 62656-8:2020




IEC 62656-8

®


Edition 1.0 2020-06




INTERNATIONAL



STANDARD




NORME


INTERNATIONALE
colour

inside










Standardized product ontology register and transfer by data parcels –

Part 8: Web service interface for data parcels



Enregistrement d'ontologie de produits normalises et transfert par paquets

de données –

Partie 8: Interface de service Web pour les paquets de données















INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE


INTERNATIONALE




ICS 01.040.01; 01.110 ISBN 978-2-8322-8469-8




Warning! Make sure that you obtained this publication from an authorized distributor.

Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale

---------------------- Page: 7 ----------------------
SIST EN IEC 62656-8:2020
– 2 – IEC 62656-8:2020 © IEC 2020
CONTENTS
FOREWORD . 6
INTRODUCTION . 8
1 Scope . 10
2 Normative references . 10
3 Terms, definitions and abbreviated terms . 11
3.1 Terms and definitions . 11
3.2 Abbreviated terms . 13
4 Use scenarios . 13
4.1 Holistic use scenario . 13
4.2 Use scenario between server and client . 14
4.3 Use scenario between servers . 15
5 Parcel web service specification . 16
5.1 General . 16
5.2 Exception . 16
5.2.1 General . 16
5.2.2 Naming convention for an exception . 17
5.2.3 Standard-defined exceptions . 17
5.3 Search scope . 18
5.4 Parcel registration service . 20
5.4.1 General . 20
5.4.2 Request message . 20
5.4.3 Response message . 22
5.4.4 Exception . 23
5.5 Parcel resolution service . 23
5.5.1 General . 23
5.5.2 Request message . 24
5.5.3 Response message . 27
5.5.4 Exception . 27
5.6 Parcel subscription service . 28
5.6.1 General . 28
5.6.2 Request message . 28
5.6.3 Response message . 29
5.6.4 Exception . 29
5.6.5 Specification of change notification . 29
6 Specification of parcel data representation in a web service message . 30
6.1 General . 30
6.2 Basic data representation . 30
6.3 Reserved keywords . 31
6.3.1 Keyword indicating conjunctive parcels . 31
6.3.2 Keyword indicating parcel ontology layer of a set of data parcels . 31
6.3.3 Keyword indicating header section . 31
6.3.4 Keyword indicating class header section . 31
6.3.5 Keyword indicating schema header section . 32
6.3.6 Keyword indicating data section . 32
6.3.7 Keyword indicating default supplier in data section . 32
6.3.8 Keyword indicating default version in data section . 32

---------------------- Page: 8 ----------------------
SIST EN IEC 62656-8:2020
IEC 62656-8:2020 © IEC 2020 – 3 –
6.4 Additional instructions to data parcels for parcel web services . 32
6.4.1 Codification mode . 32
6.4.2 Intended language . 33
6.4.3 Default value . 33
6.5 Description of instructions . 34
7 Data representation in JSON . 35
7.1 Basic structure of data representation in JSON . 35
7.2 Reserved JSON name indicating an array of data parcels . 37
7.3 JSON names for class header section . 37
7.3.1 JSON name indicating the instruction "#CLASS_ID" . 37
7.3.2 JSON name indicating the instruction "#PARCEL_MODE" . 37
7.3.3 JSON name indicating the instruction "#PARCEL_ID" . 37
7.3.4 JSON name indicating the instruction "#DEFAULT_SUPPLIER" . 37
7.3.5 JSON name indicating the instruction "#DEFAULT_VERSION" . 38
7.3.6 JSON name indicating the instruction "#OBJECT_ID_NAME" . 38
7.3.7 JSON name indicating the instruction "#ID_ENCODE" . 38
7.3.8 JSON name indicating the instruction "#PWS_CODIFICATION_MODE" . 38
7.3.9 JSON name indicating the instruction "#INTENDED_LANGUAGE" . 38
7.4 JSON names for schema header section . 38
7.4.1 Basic structure of data representation for schema header section in
JSON . 38
7.4.2 JSON names for the schema header section . 39
7.5 Data representation for data section in JSON . 40
7.5.1 Vertical JSON notation for data section . 40
7.5.2 Lateral JSON notation for data section . 40
7.6 Character encode . 40
8 Data representation in XML . 41
8.1 Basic structure of data representation in XML . 41
8.2 Reserved keyword indicating data parcel . 42
8.3 XML elements for class header section . 42
8.3.1 XML element indicating the instruction "#CLASS_ID" . 42
8.3.2 XML element indicating the instruction "#PARCEL_MODE" . 42
8.3.3 XML element indicating the instruction "#PARCEL_ID" . 42
8.3.4 XML element indicating the instruction "#DEFAULT_SUPPLIER" . 42
8.3.5 XML element indicating the instruction "#DEFAULT_VERSION" . 42
8.3.6 XML element indicating the instruction "#OBJECT_ID_NAME" . 43
8.3.7 XML element indicating the instruction "#ID_ENCODE" . 43
8.3.8 XML element indicating the instruction "#PWS_CODIFICATION_MODE" . 43
8.3.9 XML element indicating the instruction "#INTENDED_LANGUAGE" . 43
8.4 XML elements for schema header section . 43
8.4.1 Basic structure of data representation for schema header section in
XML . 43
8.4.2 XML elements of schema header section . 44
8.5 XML elements and attributes for data section . 45
8.5.1 Vertical XML notation of data section . 45
8.5.2 Lateral XML notation of data section . 46
8.6 Character encode . 48
Annex A (normative) Schema . 49
A.1 JSON schema . 49

---------------------- Page: 9 ----------------------
SIST EN IEC 62656-8:2020
– 4 – IEC 62656-8:2020 © IEC 2020
A.1.1 Vertical JSON schema . 49
A.1.2 Lateral JSON schema . 51
A.1.3 Exception JSON schema . 53
A.2 XML schema . 54
A.2.1 Vertical XML schema . 54
A.2.2 Lateral XML schema . 57
A.2.3 Exception XML schema . 59
Annex B (normative)  Web service representation . 60
B.1 Web service representation in WADL . 60
B.2 Web service representation in WSDL . 64
Annex C (informative) Examples of data representation . 68
C.1 Example data parcel . 68
C.2 Example of data representation in JSON notation . 69
C.2.1 Example of data representation in vertical JSON notation . 69
C.2.2 Example of data representation in lateral JSON notation . 70
C.3 Example of data representation in XML notation . 71
C.3.1 Example of data representation in vertical XML notation . 71
C.3.2 Example of data representation in lateral XML notation . 73
Annex D (informative) Descriptions of the instructions of "optional – informative" . 75
Bibliography . 76

Figure 1 – Holistic use scenario of parcel web services . 14
Figure 2 – Parcel resolution and registration services between a server and a client . 15
Figure 3 – Parcel subscription service between registries . 16
Figure 4 – Tree structure of exceptions . 17
Figure 5 – Example of structural view of the use of search scope modifiers . 19
Figure 6 – Example of a parcel sheet view of the use of search scope modifiers . 20
Figure 7 – Overview of parcel resolution service . 24
Figure 8 – Basic structure of a data representation for a conjunctive set of data parcels . 31
Figure 9 – Example of the use of default values . 34
Figure 10 – Basic structure of data representation in JSON . 36
Figure 11 – Basic structure of data representation for schema header section in JSON . 39
Figure 12 – Basic structure of data representation in XML . 41
Figure 13 – Basic structure of data representation for schema header section in XML . 44
Figure 14 – Structure of data representation for data section in the vertical XML

notation . 45
Figure 15 – Structure of data representation for data section in lateral XML notation . 47
Figure A.1 – Vertical JSON schema . 49
Figure A.2 – Lateral JSON schema . 51
Figure A.3 – Exception JSON schema . 53
Figure A.4 – Vertical XML schema . 54
Figure A.5 – Lateral XML schema . 57
Figure A.6 – Exception XML schema . 59
Figure B.1 – Web service representation in WADL . 60
Figure B.2 – Web service representation in WSDL . 64

---------------------- Page: 10 ----------------------
SIST EN IEC 62656-8:2020
IEC 62656-8:2020 © IEC 2020 – 5 –
Figure C.1 – Example of data representation in vertical JSON notation . 69
Figure C.2 – Example of data representation in lateral JSON notation . 70
Figure C.3 – Example of data representation in vertical XML notation . 71
Figure C.4 – Example of data representation in lateral XML notation . 73

Table 1 – Standard-defined exceptions for parcel web services . 18
Table 2 – Specification of search scope modifiers . 19
Table 3 – Structure of a request message of the parcel registration service . 20
Table 4 – Structure of a response message of the parcel registration service . 22
Table 5 – Structure of a request message of the parcel resolution service . 25
Table 6 – Structure of a response message of the parcel resolution service. 27
Table 7 – Structure of a request message of the parcel subscription service . 28
Table 8 – Structure of a response message of the parcel subscription service . 29
Table 9 – Specification of a notification . 30
Table 10 – Description of the instructions specified in IEC 62656-1 . 35
Table 11 – Description of the instructions specified in this document . 35
Table C.1 – Example data parcel . 68
Table D.1 – Descriptions of the instructions of "optional – informative" . 75

---------------------- Page: 11 ----------------------
SIST EN IEC 62656-8:2020
– 6 – IEC 62656-8:2020 © IEC 2020
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________

STANDARDIZED PRODUCT ONTOLOGY REGISTER
AND TRANSFER BY DATA PARCELS –

Part 8: Web service interface for data parcels

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as "IEC
Publication(s)"). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
International Standard IEC 62656-8 has been prepared by subcommittee 3D: Classes,
Properties and Identification of products – Common Data Dictionary (CDD), of IEC technical
committee 3: Documentation, graphical symbols and representations of technical information.
The text of this International Standard is based on the following documents:
FDIS Report on voting
3D/342/FDIS 3D/346/RVD

Full information on the voting for the approval of this International Standard can be found in
the report on voting indicated in the above table.
This document has been drafted in accordance with the ISO/IEC Directives, Part 2.

---------------------- Page: 12 ----------------------
SIST EN IEC 62656-8:2020
IEC 62656-8:2020 © IEC 2020 – 7 –
A list of all parts in the IEC 62656 series, published under the general title Standardized
product ontology register and transfer by data parcels, can be found on the IEC website.
Future standards in this series will carry the new general title as cited above. Tit
...

SLOVENSKI STANDARD
oSIST prEN IEC 62656-8:2018
01-november-2018
Register ontologije standardiziranih izdelkov in prenos po podatkovnih enotah - 8.
del: Vmesnik spletne storitve za podatkovne enote
Standardized product ontology register and transfer by data parcels – Part 8: Web
service interface for data parcels
Ta slovenski standard je istoveten z: prEN IEC 62656-8:2018
ICS:
01.110 7HKQLþQDGRNXPHQWDFLMD]D Technical product
L]GHONH documentation
35.200 Vmesniška in povezovalna Interface and interconnection
oprema equipment
oSIST prEN IEC 62656-8:2018 en,fr,de
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------
oSIST prEN IEC 62656-8:2018

---------------------- Page: 2 ----------------------
oSIST prEN IEC 62656-8:2018
3D/317/CDV

COMMITTEE DRAFT FOR VOTE (CDV)
PROJECT NUMBER:
IEC 62656-8 ED1
DATE OF CIRCULATION: CLOSING DATE FOR VOTING:
2018-09-07 2018-11-30
SUPERSEDES DOCUMENTS:
3D/302/CD, 3D/316/CC

IEC SC 3D : PRODUCT PROPERTIES AND CLASSES AND THEIR IDENTIFICATION
SECRETARIAT: SECRETARY:
Germany Mr Gernot Rossi
OF INTEREST TO THE FOLLOWING COMMITTEES: PROPOSED HORIZONTAL STANDARD:

SC 65E, SC 121A
Other TC/SCs are requested to indicate their interest, if any, in
this CDV to the secretary.
FUNCTIONS CONCERNED:
EMC ENVIRONMENT QUALITY ASSURANCE SAFETY

SUBMITTED FOR CENELEC PARALLEL VOTING NOT SUBMITTED FOR CENELEC PARALLEL VOTING
Attention IEC-CENELEC parallel voting
The attention of IEC National Committees, members of
CENELEC, is drawn to the fact that this Committee Draft for
Vote (CDV) is submitted for parallel voting.
The CENELEC members are invited to vote through the
CENELEC online voting system.

This document is still under study and subject to change. It should not be used for reference purposes.
Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of which they are
aware and to provide supporting documentation.

TITLE:
Standardized product ontology register and transfer by data parcels – Part 8: Web service interface for data
parcels

PROPOSED STABILITY DATE: 2024

NOTE FROM TC/SC OFFICERS:


Copyright © 2018 International Electrotechnical Commission, IEC. All rights reserved. It is permitted to download this
electronic file, to make a copy and to print out the content for the sole purpose of preparing National Committee positions.
You may not copy or "mirror" the file or printed version of the document, or any part of it, for any other purpose without
permission in writing from IEC.

---------------------- Page: 3 ----------------------
oSIST prEN IEC 62656-8:2018
– 2 – IEC CDV 62656-8  IEC 2018
CONTENTS

FOREWORD . 6
INTRODUCTION . 7
1 Scope . 9
2 Normative references . 9
3 Terms, definitions and abbreviations . 10
3.1 Terms and definitions. 10
3.2 Abbreviations . 11
4 Use scenarios . 12
4.1 Holistic use scenario . 12
4.2 Use scenario between server and client . 13
4.3 Use scenario between servers . 14
5 Parcel web service specification . 15
5.1 General . 15
5.2 Exception . 16
5.2.1 General . 16
5.2.2 Naming convention for giving a name of an exception. 16
5.2.3 Standard-defined exceptions . 16
5.3 Search scope . 17
5.4 Parcel registration service. 19
5.4.1 General . 19
5.4.2 Request message . 19
5.4.3 Response message . 21
5.4.4 Exception . 21
5.5 Parcel resolution service . 22
5.5.1 General . 22
5.5.2 Request message . 23
5.5.3 Response message . 25
5.5.4 Exception . 25
5.6 Parcel subscription service . 25
5.6.1 General . 25
5.6.2 Request message . 26
5.6.3 Response message . 26
5.6.4 Exception . 27
5.6.5 Specification of change notification . 27
6 Specification of parcel data representation in a web service message . 27
6.1 General . 27
6.2 Basic data representation . 28
6.3 Reserved keywords . 28
6.3.1 Keyword indicating conjunctive parcels . 28
6.3.2 Keyword indicating parcel ontology layer of a set of data parcels . 29
6.3.3 Keyword indicating header section. 29
6.3.4 Keyword indicating class header section . 29
6.3.5 Keyword indicating schema header section . 29
6.3.6 Keyword indicating data section . 29
6.3.7 Keyword indicating default supplier in data section . 29

---------------------- Page: 4 ----------------------
oSIST prEN IEC 62656-8:2018
IEC CDV 62656-8  IEC 2018 – 3 –
6.3.8 Keyword indicating default version in data section . 29
6.4 Additional instructions to data parcels for parcel web services . 29
6.4.1 Codification mode . 29
6.4.2 Intended language . 30
6.4.3 Default value . 30
6.5 Description of instructions . 31
7 Data representation in JSON . 32
7.1 Basic structure of data representation in JSON . 32
7.2 Reserved JSON name indicating an array of data parcels . 34
7.3 JSON names for class header section . 34
7.3.1 JSON name indicating the instruction "#CLASS_ID" . 34
7.3.2 JSON name indicating the instruction "#PARCEL_MODE" . 34
7.3.3 JSON name indicating the instruction "#PARCEL_ID" . 34
7.3.4 JSON name indicating the instruction "#DEFAULT_SUPPLIER". 34
7.3.5 JSON name indicating the instruction "#DEFAULT_VERSION" . 34
7.3.6 JSON name indicating the instruction "#OBJECT_ID_NAME" . 34
7.3.7 JSON name indicating the instruction "#ID_ENCODE" . 35
7.3.8 JSON name indicating the instruction "#PWS_CODIFICATION_MODE" . 35
7.3.9 JSON name indicating the instruction "#INTENDED_LANGUAGE" . 35
7.4 JSON names for schema header section. 35
7.4.1 Basic structure of data representation for schema header section in
JSON. 35
7.4.2 JSON names for schema header section . 35
7.5 Data representation for data section in JSON . 36
7.5.1 Vertical JSON notation for data section . 36
7.5.2 Lateral JSON notation for data section . 36
7.6 Character encode . 37
8 Data representation in XML . 37
8.1 Basic structure of data representation in XML . 37
8.2 Reserved keyword indicating data parcel . 38
8.3 XML elements for class header section . 38
8.3.1 XML element indicating the instruction "#CLASS_ID" . 38
8.3.2 XML element indicating the instruction "#PARCEL_MODE" . 38
8.3.3 XML element indicating the instruction "#PARCEL_ID" . 38
8.3.4 XML element indicating the instruction "#DEFAULT_SUPPLIER" . 39
8.3.5 XML element indicating the instruction "#DEFAULT_VERSION" . 39
8.3.6 XML element indicating the instruction "#OBJECT_ID_NAME" . 39
8.3.7 XML element indicating the instruction "#ID_ENCODE" . 39
8.3.8 XML element indicating the instruction "#PWS_CODIFICATION_MODE" . 39
8.3.9 XML element indicating the instruction "#INTENDED_LANGUAGE" . 39
8.4 XML elements for schema header section . 39
8.4.1 Basic structure of data representation for schema header section in
XML . 39
8.4.2 XML elements of schema header section . 40
8.5 XML elements and attirbute for data section . 41
8.5.1 Vertical XML notation of data section . 41
8.5.2 Lateral XML notation of data section . 42
8.6 Character encode . 43
Annex A (normative)  Information object registration . 44

---------------------- Page: 5 ----------------------
oSIST prEN IEC 62656-8:2018
– 4 – IEC CDV 62656-8  IEC 2018
Annex B (normative)  Schema . 45
B.1 JSON schema . 45
B.1.1 Vertical JSON schema . 45
B.1.2 Lateral JSON schema . 47
B.1.3 Exception JSON schema . 49
B.2 XML schema . 50
B.2.1 Vertical XML schema . 50
B.2.2 Lateral XML schema . 53
B.2.3 Exception XML Schema . 56
Annex C (normative)  Web service representation . 57
C.1 Web service representation in WADL . 57
C.2 Web service represenatation in WSDL . 61
Annex D (informative)  Examples of data representation . 65
D.1 Data parcel as example . 65
D.2 Example of data representation in JSON notation . 66
D.2.1 Example of data representation in vertical JSON notation . 66
D.2.2 Example of data representation in lateral JSON notation . 67
D.3 Example of data representation in XML notation . 68
D.3.1 Example of data representation in vertical XML notation . 68
D.3.2 Example of data representation in lateral XML notation . 70
Annex E (informative)  Descriptions of the instructions of "optional – informative" . 72
Bibliography . 73
Figure 1 – Holistic use scenario of parcel web services . 13
Figure 2 – Parcel resolution and registration services between a server and a client . 14
Figure 3 – Parcel subscription service between registries . 15
Figure 7 – Overview of parcel resolution service . 23
Figure 8 – Basic structure of a data representation for a conjunctive set of data parcels . 28
Figure 10 – Basic structure of data representation in JSON . 33
Figure 11 – Basic structure of data representation for schema header section in JSON . 35
Figure 12 – Basic structure of data representation in XML . 38
Figure 13 – Basic structure of data representation for schema header section in XML . 40
Figure 14 – Structure of data representation for data section in the vertical XML
notation . 41
Figure 15 – Structure of data representation for data section in lateral XML notation . 43
Figure B.1 – Vertical JSON schema (1 of 2) . 45
Figure B.2 – Lateral JSON schema (1 of 2) . 47
Figure B.3 – Exception JSON schema . 49
Figure B.4 – Vertical XML schema (1 of 3) . 50
Figure B.5 – Lateral XML schema (1 of 3) . 53
Figure B.6 – Exception XML schema. 56
Figure C.1 – Web service representation in WADL (1 of 4) . 57
Figure C.2 – Web service representation in WSDL (1 of 4) . 61
Figure D.1 – Example of data representation in vertical JSON notation . 66
Figure D.2 – Example of data representation in lateral JSON notation . 67
Figure D.3 – Example of data representation in vertical XML notation (1 of 2) . 68

---------------------- Page: 6 ----------------------
oSIST prEN IEC 62656-8:2018
IEC CDV 62656-8  IEC 2018 – 5 –
Figure D.4 – Example of data representation in lateral XML notation (1 of 2) . 70
Table 1 – Standard-defined exceptions for parcel web services . 17
Table 3 – The structure of a request message of parcel registration service . 20
Table 4 – The structure of a response message of parcel registration service . 21
Table 5 – The structure of a request message of parcel resolution service . 23
Table 6 – The structure of a response message of parcel resolution service . 25
Table 7 – The structure of a request message of parcel subscription service . 26
Table 8 – The structure of a response message of parcel subscription service . 27
Table 9 – The specification of a notification . 27
Table 10 – Description of the instructions specified in IEC 62656-1 . 32
Table 11 – Description of the instructions specified in this document . 32
Table D.1 – data parcel as example . 65
Table E.1 – Descriptions of the instructions of "optional – informative" . 72

---------------------- Page: 7 ----------------------
oSIST prEN IEC 62656-8:2018
– 6 – IEC CDV 62656-8  IEC 2018
1 INTERNATIONAL ELECTROTECHNICAL COMMISSION
2 ____________
3
4 STANDARDIZED PRODUCT ONTOLOGY REGISTER AND TRANSFER
5 BY DATA PARCELS –
6
7 Part 8: Web service interface for data parcels
8
9 FOREWORD
10 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
11 all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
12 international co-operation on all questions concerning standardization in the electrical and electronic fields. To
13 this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
14 Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as "IEC
15 Publication(s)"). Their preparation is entrusted to technical committees; any IEC National Committee interested
16 in the subject dealt with may participate in this preparatory work. International, governmental and non-
17 governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
18 with the International Organization for Standardization (ISO) in accordance with conditions determined by
19 agreement between the two organizations.
20 2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
21 consensus of opinion on the relevant subjects since each technical committee has representation from all
22 interested IEC National Committees.
23 3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
24 Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
25 Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
26 misinterpretation by any end user.
27 4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
28 transparently to the maximum extent possible in their national and regional publications. Any divergence
29 between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
30 the latter.
31 5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
32 assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
33 services carried out by independent certification bodies.
34 6) All users should ensure that they have the latest edition of this publication.
35 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
36 members of its technical committees and IEC National Committees for any personal injury, property damage or
37 other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
38 expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
39 Publications.
40 8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
41 indispensable for the correct application of this publication.
42 9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
43 patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
44 International Standard IEC 62656-8 has been prepared by subcommittee 3D: Product
45 properties and classes and their identification, of IEC technical committee 3: Information
46 structures and elements, identification and marking principles, documentation and graphical
47 symbols.
48 The National Committees are requested to note that for this document the stability date
49 is 20XX.
50 THIS TEXT IS INCLUDED FOR THE INFORMATION OF THE NATIONAL COMMITTEES AND WILL BE
51 DELETED AT THE PUBLICATION STAGE.

---------------------- Page: 8 ----------------------
oSIST prEN IEC 62656-8:2018
IEC CDV 62656-8  IEC 2018 – 7 –
52 INTRODUCTION
53 For description of products and services throughout their lifecycle, an enhanced data
54 interoperability with reduced human interventions is an ultimate goal of developing
55 international standards for intelligent production systems. In attaining this goal, an industrial
56 ontology is expected to play a significant role by allowing components of systems to talk each
57 other, namely machine-machine understanding, about their functions, capabilities, structures
58 and their configurations.
59 The parcellized ontology model defined in IEC 62656-1 also known by its acronym "POM" is a
60 generic ontology model with quadruple layers to capture different types of ontology models by
61 sorting things into categories of homogeneous collection of ontological entities, such as
62 classes (concepts), properties, relations, enumerations, terms (constants), data types, and etc.
63 At the second layer from the top, named Meta-Ontology (MO) layer, eleven types of
64 categories are defined. Each layer is a collection of categories whilst each category is
65 represented by a relational table-like matrix called "data parcel" of which meta data (attributes)
66 are embodied as a selection of instances of the immediate upper layer. The top layer of the
67 POM, named Axiomatic Ontology (AO) layer, just comprises two data parcels which define
68 conjointly the "concept of concepts" by classes and properties, which is an information
69 technology (IT) embodiment of the math-logical notion of the class (i.e., "concept") itself.
70 Subsequent parts of the IEC 62656 standards, which as a whole is collectively known as
71 "Parcel standards", are for specialization of the POM for a specific purpose:
72 IEC 62656-2 is a guide for domain experts to apply the POM for capturing a data dictionary
73 from definitions available from product standards in a form conformant to IEC 61360-2/ISO
74 13584-42 dictionary schema (i.e., common data dictionary model, or CDDM for short) and
75 using the specification of the part as an official data interface for IEC 61360-4 DB known as
76 IEC CDD (Common Data Dictionary), by enabling uploading and downloading of the dictionary
77 to and from the IEC CDD. A referential implementation of this part is available as a tool, free
78 of charge for standardization purposes.
79 IEC 62656-3 is intended as a mapping specification between a standard data model of the
80 "Smart-Grid" domain acronymed as CIM (Common Information Model) and an extended or
81 rather generalized data model of the IEC CDD, namely the POM. The CIM comprises IEC
82 61968/61970/62325 series of standards. Thus, the IEC CDD can accommodate the CIM,
83 provided the IEC CDD sufficiently implements POM as data interface or database.
84 Alternatively, this mapping inevitably entails a small but significant extension of the IEC CDD,
85 without which the accommodation of the CIM into the IEC CDD is infeasible. Nevertheless,
86 there is nothing to add to or subtract from the tool which is currently used as a data interface
87 for the IEC CDD and which fully embodies IEC 62656-1.
88 IEC 62656-5 is intended as an interface for description of activities as an ontology conformant
89 to IEC 62656-1, thus opening a way to store definitions available from activity-centric
90 international standards, for instance IEC 62224-3, as an ontology. This part can also be
91 applied to the description of non-manufacturing use-scenarios, such as, for the description of
92 activities of natural hazard management or electronic tourist guidance or navigation, with a
93 harmonious integration of activities with related products and services.
94 This means a common ontology repository (say, “COR” for short, herein) based on the POM
95 can store both the IEC CDD and the CIM types of data dictionaries or ontologies. Furthermore
96 it can smoothly bridge the differences and fill the gaps covering ontologies of different
97 provenances.
98 The remaining parts of IEC 62656 series are expected to shed a light on a new spectrum of
99 applications for the COR based on the POM.
100 Amongst all, IEC 62656-8 is intended for the description of basic web-services for semantic
101 repositories based on the POM, whilst an advanced type of web-interface including complex

---------------------- Page: 9 ----------------------
oSIST prEN IEC 62656-8:2018
– 8 – IEC CDV 62656-8  IEC 2018
102 enquiry about product as well as query forwarding to another repository is left to a future Part
103 of the series to be developed.

---------------------- Page: 10 ----------------------
oSIST prEN IEC 62656-8:2018
IEC CDV 62656-8  IEC 2018 – 9 –
104 STANDARDIZED PRODUCT ONTOLOGY REGISTER AND TRANSFER
105 BY DATA PARCELS –
106
107 Part 8: Web service interface for data parcels
108
109
110
111 1 Scope
112 This document specifies a web service interface based on JSON [1] and XML [2] for
113 transporting over the Internet or an extranet network a set of ontological data conformant to
114 IEC 62656-1. This web service allows an exchange of data parcel(s) between a parcel server
115 and a parcel client or between parcel servers. The data parcel(s) used therein comprises one
116 of the parcel ontology layers, i.e., Axiomatic Ontology layer (AO), Meta-ontology layer (MO),
117 Domain Ontology layer (DO) or Domain Library layer (DL), the detail of which is defined in
118 IEC 62656-1. This interface comprises three basic services, registration service, resolution
119 service and subscription service. With respect to
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.