6.1. Schema Definition for an EKM Server

Engineering Knowledge Manager

Administration Guide | Chapter 6: Configuring EKM Server Settings |

Chapter 6: Configuring EKM Server Settings |  | 6.2. Specifying General Server Settings
Prev |  | Next

## 6.1. Schema Definition for an EKM Server

Figure 6.1: Partial Listing of ekm.xsd Schema File shows a partial listing for ekm.xsd, the XML schema definition (XSD) used to define custom EKM server settings. The complete listing is provided in the `EKM_HOME/schema` folder.

The schema definition listing shows that ekm.xml should consist of one root element named `ekm` that contains child elements for various settings. These settings are discussed in Specifying General Server Settings and Optional Settings.

Figure 6.1: Partial Listing of ekm.xsd Schema File

    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://www.ansys.com/ekm"
        xmlns:ekm="http://www.ansys.com/ekm">

        <xsd:complexType name="Repository">
            <xsd:sequence>
                <xsd:element name="name" type="xsd:string" />
                <xsd:element name="context" type="xsd:string" />
                <xsd:element name="providerUrl" type="xsd:string" />
                <xsd:element name="location" type="xsd:string" />
                <xsd:element name="configurationFile" type="xsd:string" />
                <xsd:element name="retentionPolicy"
                    type="ekm:SystemRetentionPolicy" />
            </xsd:sequence>
        </xsd:complexType>

        <xsd:complexType name="SuperUser">
            <xsd:sequence>
                <xsd:element name="name" type="xsd:string" />
                <xsd:element name="password" type="xsd:string" />
            </xsd:sequence>
        </xsd:complexType>

        <xsd:complexType name="CustomRetentionPolicy">
            <xsd:sequence>
                <xsd:element name="objectType" type="xsd:string" />
                <xsd:element name="expiration" type="xsd:int" />
            </xsd:sequence>
        </xsd:complexType>

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

Release 18.2 - © ANSYS, Inc. All rights reserved.