export var referenceAttrType = {
    label: 'Affiliated with',
    name: 'affiliatedwith',
    type: 'Reference',
    uri: 'configuration/entityTypes/Contact/attributes/affiliatedwith',
    referencedAttributeURIs: [
        'configuration/entityTypes/Organization/attributes/Nick',
        'configuration/entityTypes/Organization/attributes/Name',
        'configuration/relationTypes/affiliatedwith/attributes/Title',
        'configuration/relationTypes/affiliatedwith/attributes/Status'
    ],
    referencedEntityTypeURI: 'configuration/entityTypes/Organization',
    relationshipTypeURI: 'configuration/relationTypes/affiliatedwith'
};
export var metadata = {
    entityTypes: [
        {
            uri: 'configuration/entityTypes/Contact',
            label: 'Contact',
            attributes: [referenceAttrType]
        },
        {
            uri: 'configuration/entityTypes/Organization',
            label: 'Organization',
            dataLabelPattern: '{Name}!',
            attributes: [
                {
                    label: 'Name',
                    name: 'Name',
                    type: 'String',
                    uri: 'configuration/entityTypes/Organization/attributes/Name'
                },
                {
                    label: 'oAuth Customer name',
                    name: 'oAuthAccount',
                    type: 'String',
                    uri: 'configuration/entityTypes/Organization/attributes/oAuthAccount'
                },
                {
                    label: 'Nickname',
                    name: 'Nick',
                    type: 'String',
                    uri: 'configuration/entityTypes/Organization/attributes/Nick'
                }
            ]
        }
    ],
    relationTypes: [
        {
            uri: 'configuration/relationTypes/affiliatedwith',
            label: 'Affiliated with',
            attributes: [
                {
                    label: 'Contact Type',
                    name: 'ContactType',
                    type: 'String',
                    uri: 'configuration/relationTypes/affiliatedwith/attributes/ContactType',
                    lookupCode: 'rdm/lookupTypes/ContactType_affiliatedwith'
                },
                {
                    label: 'Title',
                    name: 'Title',
                    type: 'String',
                    uri: 'configuration/relationTypes/affiliatedwith/attributes/Title'
                },
                {
                    label: 'Status',
                    name: 'Status',
                    type: 'String',
                    uri: 'configuration/relationTypes/affiliatedwith/attributes/Status',
                    lookupCode: 'rdm/lookupTypes/Status_affiliatedwith'
                }
            ]
        }
    ]
};
