Download presentation
Presentation is loading. Please wait.
Published byLynette Bell Modified over 9 years ago
1
oneM2M-MP-2013-0197-Data_Model_Repository Establishing Data Model Repository for oneM2M Group Name: Method and Procedure Sub-commitee Source: WG3 chair Meeting Date: 2013-12-03 Agenda Item: Data Repository
2
oneM2M-MP-2013-0197-Data_Model_Repository Introduction During technical discussion in WG3(PRO), there are need for having a registry for data model descriptions (eg. XML Schema or JSON Schema) for data types and structures defined in oneM2M. There are not any rules for handing ‘machine- readable document’ in by ‘Method of Work’ We would like to raise the issue, and also suggest to add the new rule for it. 2
3
oneM2M-MP-2013-0197-Data_Model_Repository What is a data model registry? A data model registry is a system to manage the definitions of data types and structures, such as W3C compliant XML Schemas. XML Schema Registry allows TSs to export data structure syntaxes in machine-readable way. XSD files enable XML parsers to validate given compliance of XML document with XML schema definitions. 3
4
oneM2M-MP-2013-0197-Data_Model_Repository Usage of XML/JSON Schemas TS XSD Files XSD Files XSD / JSD Files oneM2M Protocol Implementation + Protocol Message with namespace Detailed explanation of behaviors and namespaces Syntax Rules Refer data type in XSD / JSD by namespace Validation Get XSD / JSD files on the fly (Optional) 4
5
oneM2M-MP-2013-0197-Data_Model_Repository Management Policy Options Option-A: Manage URN Namespaces – Register top level URN (Uniform Resource Name) for oneM2M in IANA registry (with free of charge) Ex) urn:onem2m – Assign child URN as namespace for each data types within oneM2M Option-B: Manage XSD/JSD files – Manage XSD/JSD files with unique names – (Optionally) publish XSD/JSD files at oneM2M site Option-C: Both A & B 5
6
oneM2M-MP-2013-0197-Data_Model_Repository Issues Determine management policy for oneM2M XML Schema Repository. Change oneM2M portal to manage XSD/JSD files (if necessary). Modify the ‘Method of Work’ to reflect determined management policy for ‘oneM2M Data Model Repository’. 6
7
oneM2M-MP-2013-0197-Data_Model_Repository [FYI]References XML Schema Part 0: Primer Second Edition http://www.w3.org/TR/xmlschema-0/ JSON Schema: http://en.wikipedia.org/wiki/JSON_Schema#JSON_Schema http://tools.ietf.org/html/draft-zyp-json-schema-04 URIs, URLs, and URNs: Clarifications and Recommendations 1.0 http://www.w3.org/TR/uri-clarification/ 7
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.