Cloud Software Group, Inc. EBX®
Documentation > Developer Guide > Data model
Navigation modeDocumentation > Developer Guide > Data model

Introduction

A data model is a structural definition of the data to be managed in the TIBCO EBX® repository. Data models contribute to EBX®'s ability to guarantee the highest level of data consistency and to facilitate data management.

Specifically, the data model is a document that conforms to the XML Schema standard (W3C recommendation). Its main features are as follows:

EBX® also uses the extensibility features of XML Schema for other useful information, such as:

Note

EBX® supports a subset of the W3C recommendations, as some features are not relevant to Master Data Management.

Editing the data model

There are two different ways to define a data model:

References

For an introduction to XML Schema, see the W3Schools XML Schema Tutorial.

Relationship between datasets and data models

Each root dataset is associated with a single data model. At the dataspace creation, an associated data model is selected, on which to base the dataset.

Pre-requisite for XML Schemas

In order for an XML Schema to be accepted by EBX®, it must include a global element declaration that includes the attribute osd:access="--".

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
		xmlns:osd="urn:ebx-schemas:common_1.0" xmlns:fmt="urn:ebx-schemas:format_1.0">
   <xs:import namespace="urn:ebx-schemas:common_1.0"
   		schemaLocation="https://schema.orchestranetworks.com/common_1.0.xsd"/>
   <xs:element name="root" osd:access="--">
		...
  </xs:element>
</xs:schema>

Conventions

By convention, namespaces are always defined as follows:

Prefix

Namespace

xs:

http://www.w3.org/2001/XMLSchema

osd:

urn:ebx-schemas:common_1.0

fmt:

urn:ebx-schemas:format_1.0

usd:

urn:ebx-schemas:userServices_1.0

emd:

urn:ebx-schemas:entityMappings_1.0

Schemas with reserved names

Several data models in EBX® have reserved names.

All references to other data models (using the attribute schemaLocation for an import, include or redefine) that end with one of the following strings are reserved:

These XSD files correspond to the schemas provided for the module ebx-root-1.0, at the path /WEB-INF/ebx/schemas. The attribute schemaLocation can reference the files at this location or a copy, if the file names are identical. This is useful if you want to avoid a module dependency on ebx-root-1.0.

For security reasons, EBX® uses an internal definition for these schemas to prevent any modification.

Documentation > Developer Guide > Data model