"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.relationTypes = exports.config2 = exports.config = void 0;
exports.config = {
    id: 'relationView1',
    content: {
        inRelations: [
            {
                label: '{Role}',
                uri: 'configuration/relationTypes/knowledge'
            }
        ],
        outRelations: ['configuration/relationTypes/AccountTeam', 'configuration/relationTypes/NotExisting']
    }
};
exports.config2 = {
    id: 'relationView2',
    content: {
        inRelations: [
            {
                label: '{HCP to HCA}',
                uri: 'configuration/relationTypes/HCPtoHCA'
            }
        ]
    }
};
exports.relationTypes = [
    {
        uri: 'configuration/relationTypes/AccountTeam',
        label: 'supported by',
        startObject: {
            uri: 'configuration/relationTypes/AccountTeam/startObject',
            directionalContext: [
                {
                    uri: 'configuration/relationTypes/AccountTeam/startObject/directionalContext',
                    labelPattern: 'supported by'
                }
            ],
            objectTypeURI: 'configuration/entityTypes/Organization'
        },
        endObject: {
            uri: 'configuration/relationTypes/AccountTeam/endObject',
            directionalContext: [
                {
                    uri: 'configuration/relationTypes/AccountTeam/endObject/directionalContext',
                    labelPattern: 'supports'
                }
            ],
            objectTypeURI: 'configuration/entityTypes/Employee'
        },
        attributes: [
            {
                label: 'Role',
                name: 'Role',
                type: 'String',
                hidden: false,
                important: false,
                system: false,
                required: false,
                attributeOrdering: {
                    orderType: 'ASC',
                    orderingStrategy: 'LUD'
                },
                uri: 'configuration/relationTypes/AccountTeam/attributes/Role'
            }
        ],
        direction: 'directed'
    },
    {
        uri: 'configuration/relationTypes/knowledge',
        label: 'knowledge',
        startObject: {
            uri: 'configuration/relationTypes/knowledge/startObject',
            directionalContext: [
                {
                    uri: 'configuration/relationTypes/knowledge/startObject/directionalContext',
                    labelPattern: ''
                }
            ],
            objectTypeURI: 'configuration/entityTypes/Topic'
        },
        endObject: {
            uri: 'configuration/relationTypes/knowledge/endObject',
            directionalContext: [
                {
                    uri: 'configuration/relationTypes/knowledge/endObject/directionalContext',
                    labelPattern: ''
                }
            ],
            objectTypeURI: 'configuration/entityTypes/Employee'
        },
        attributes: [
            {
                label: 'Role',
                name: 'Role',
                type: 'String',
                hidden: false,
                important: false,
                system: false,
                required: false,
                attributeOrdering: {
                    orderType: 'ASC',
                    orderingStrategy: 'LUD'
                },
                uri: 'configuration/relationTypes/knowledge/attributes/Role'
            }
        ],
        direction: 'directed'
    },
    {
        uri: 'configuration/relationTypes/HCPtoHCA',
        label: 'Affiliated with',
        startObject: {
            uri: 'configuration/relationTypes/HCPtoHCA/startObject',
            directionalContext: [
                {
                    uri: 'configuration/relationTypes/HCPtoHCA/startObject/directionalContext',
                    labelPattern: ''
                }
            ],
            objectTypeURI: 'configuration/entityTypes/Topic'
        },
        endObject: {
            uri: 'configuration/relationTypes/HCPtoHCA/endObject',
            directionalContext: [
                {
                    uri: 'configuration/relationTypes/HCPtoHCA/endObject/directionalContext',
                    labelPattern: ''
                }
            ],
            objectTypeURI: 'configuration/entityTypes/Employee'
        },
        attributes: [
            {
                label: 'Role',
                name: 'Role',
                type: 'String',
                hidden: false,
                important: false,
                system: false,
                required: true,
                attributeOrdering: {
                    orderType: 'ASC',
                    orderingStrategy: 'LUD'
                },
                uri: 'configuration/relationTypes/HCPtoHCA/attributes/Role'
            }
        ],
        direction: 'directed'
    }
];
