Sample for Repository Schema
A sample repository metadata XML format based on the RepositorySchema.xsd schema is listed below:
<?xml version="1.0" encoding="UTF-8"?> <CIMMetaData xmlns="http://www.tibco.com/mdm/repository" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tibco.com/mdm/repository metaDataSchema/RepositorySchema.xsd" MetaDataVersion="8.0"> <Repositories> <Repository> <RepositoryInfo DBID="34497"> <Name>SUBSET</Name> <Description>subset</Description> <TableName>SUBSET</TableName> </RepositoryInfo> <AttributeGroups> <AttributeGroup> <AttributeGroupInfo> <Name>UNASSIGNED</Name> <Description>UNASSIGNED</Description> <Predefined>Y</Predefined> <ExpandByDefault>Y</ExpandByDefault> </AttributeGroupInfo> <Attributes> <Attribute DBID="32298"> <Name>PRODUCTID</Name> <Description>Unique identifier for current entity.</Description> <Predefined>Y</Predefined> <DisplayName>Record ID</DisplayName> <Required>N</Required> <Help/> <Searchable>N</Searchable> <Length>255</Length> <Position>1</Position> <DataType>STRING</DataType> <DisplayInRecordList>Y</DisplayInRecordList> <QuickViewable>Y</QuickViewable> <ColumnName>CPRODUCTID</ColumnName> <MultiValued>N</MultiValued> </Attribute> <Attribute DBID="32299"> <Name>PRODUCTIDEXT</Name> <Description>Auxiliary identifier for current entity.</Description> <Predefined>Y</Predefined> <DisplayName>Record ID Extension</DisplayName> <Required>N</Required> <Help/> <Searchable>N</Searchable> <Length>255</Length> <Position>2</Position> <DataType>STRING</DataType> <DisplayInRecordList>N</DisplayInRecordList> <QuickViewable>N</QuickViewable> <ColumnName>CPRODUCTIDEXT</ColumnName> <MultiValued>N</MultiValued> </Attribute> <Attribute DBID="32300"> <Name>CONTAINS</Name> <Description>Contains</Description> <Predefined>Y</Predefined> <DisplayName>Related Records</DisplayName> <Required>N</Required> <Help/> <Searchable>N</Searchable> <Length>4000</Length> <Position>3</Position> <DataType>STRING</DataType> <DisplayInRecordList>N</DisplayInRecordList> <QuickViewable>N</QuickViewable> <ColumnName>CCONTAINS</ColumnName> <MultiValued>N</MultiValued> </Attribute> <Attribute DBID="32301"> <Name>aa</Name> <Description>aa</Description> <Predefined>N</Predefined> <DisplayName>aa</DisplayName> <Required>N</Required> <Help>aa</Help> <Searchable>Y</Searchable> <Length>256</Length> <Position>4</Position> <DataType>STRING</DataType> <DisplayInRecordList>Y</DisplayInRecordList> <QuickViewable>Y</QuickViewable> <ColumnName>AA</ColumnName> <MultiValued>Y</MultiValued> </Attribute> </Attributes> </AttributeGroup> <AttributeGroup> <AttributeGroupInfo> <Name>SYSTEM</Name> <Description>SYSTEM</Description> <Predefined>Y</Predefined> <ExpandByDefault>Y</ExpandByDefault> </AttributeGroupInfo> <Attributes/> </AttributeGroup> </AttributeGroups> <Relationships> <Relationship> <RelationshipDefinition DBID="-1"> <Name>Contains</Name> <Description>Contains</Description> <Type>11111</Type> <ReverseName>ContainedBy</ReverseName> <ReverseDescription>ContainedBy</ReverseDescription> <TargetRepositoryName>SUBSET</TargetRepositoryName> </RelationshipDefinition> </Relationship> </Relationships> </Repository> </Repositories> </CIMMetaData>
Copyright © Cloud Software Group, Inc. All rights reserved.