export var createEntity = function () {
    return {
        uri: 'entities/01L2n5z',
        type: 'configuration/entityTypes/HCP',
        label: 'entity label',
        attributes: {
            Boolean: [
                {
                    ov: true,
                    type: 'configuration/entityTypes/HCP/attributes/Boolean',
                    uri: 'entities/01L2n5z/attributes/Boolean/5nmc3Cp',
                    value: 'true'
                }
            ],
            TextField: [
                {
                    ov: true,
                    type: 'configuration/entityTypes/HCP/attributes/TextField',
                    uri: 'entities/01L2n5z/attributes/TextField/5noU1aB',
                    value: 'text field value'
                },
                {
                    ov: false,
                    type: 'configuration/entityTypes/HCP/attributes/TextField',
                    uri: 'entities/01L2n5z/attributes/TextField/5noU1aB',
                    value: 'another text value',
                    ignored: true
                }
            ],
            DeepNested: [
                {
                    label: 'Nested Label',
                    value: {
                        FirstLevelNestedSub1: [
                            {
                                type: 'configuration/entityTypes/HCP/attributes/DeepNested/attributes/FirstLevelNestedSub1',
                                ov: true,
                                value: '123',
                                uri: 'entities/01L2n5z/attributes/DeepNested/1ZAtO4T6/FirstLevelNestedSub1/1ZAtO8jM'
                            }
                        ]
                    },
                    ov: true,
                    uri: 'entities/01L2n5z/attributes/DeepNested/1ZAtO4T6'
                }
            ],
            Address: [
                {
                    label: 'Reference Address',
                    relationshipLabel: 'new address',
                    refEntity: {
                        objectURI: 'entities/2EpaVt0k',
                        type: 'configuration/entityTypes/Location',
                        crosswalks: []
                    },
                    refRelation: {
                        objectURI: 'relations/1GrMXM4O',
                        type: 'configuration/relationTypes/HasAddress',
                        crosswalks: []
                    },
                    uri: 'entities/2Vek4DnE/attributes/Address/1GrMXM4O',
                    value: {
                        AddressLine1: [
                            {
                                ov: true,
                                type: 'configuration/entityTypes/Location/attributes/AddressLine1',
                                uri: 'entities/2Vek4DnE/attributes/Address/1GrMXM4O/AddressLine1/2GcBL4K00',
                                value: 'address line 1 value'
                            }
                        ]
                    },
                    startObjectCrosswalks: []
                }
            ],
            ImageGallery: [
                {
                    label: '',
                    value: {
                        UrlThumbnail: [
                            {
                                type: 'configuration/entityTypes/HCP/attributes/ImageGallery/attributes/UrlThumbnail',
                                ov: true,
                                value: 'https://s3.amazonaws.com/reltio.qa.ih/thumbnailInew/5iWrjreLxiT2avDKoX3fQmqCu.png',
                                uri: 'entities/01L2n5z/attributes/ImageGallery/1IozCV9I/UrlThumbnail/1IozCdfo'
                            }
                        ]
                    },
                    ov: true,
                    uri: 'entities/01L2n5z/attributes/ImageGallery/1IozCV9I'
                }
            ]
        },
        crosswalks: [
            {
                attributes: [
                    'entities/01L2n5z/attributes/TextField/5noU1aB',
                    'entities/01L2n5z/attributes/Boolean/5nmc3Cp'
                ],
                type: 'configuration/sources/Reltio',
                uri: 'entities/01L2n5z/crosswalks/7F10sMx',
                value: '01L2n5z'
            }
        ]
    };
};
export var createMetadata = function () {
    return {
        entityTypes: [
            {
                uri: 'configuration/entityTypes/HCP',
                label: 'HCP',
                attributes: [
                    {
                        label: 'Boolean',
                        name: 'Boolean',
                        type: 'Boolean',
                        uri: 'configuration/entityTypes/HCP/attributes/Boolean'
                    },
                    {
                        label: 'String Label',
                        name: 'TextField',
                        type: 'String',
                        uri: 'configuration/entityTypes/HCP/attributes/TextField'
                    },
                    {
                        label: 'Affiliated with',
                        name: 'affiliatedwith',
                        type: 'String',
                        uri: 'configuration/entityTypes/HCP/attributes/affiliatedwith',
                        hidden: true
                    },
                    {
                        label: 'String Label 2',
                        name: 'TextField 2',
                        type: 'String',
                        uri: 'configuration/entityTypes/HCP/attributes/TextField2'
                    },
                    {
                        label: 'Hidden',
                        name: 'Hidden',
                        type: 'String',
                        uri: 'configuration/entityTypes/HCP/attributes/Hidden',
                        hidden: true
                    },
                    {
                        label: 'Nested',
                        name: 'Nested',
                        type: 'Nested',
                        uri: 'configuration/entityTypes/HCP/attributes/Nested'
                    },
                    {
                        label: 'Nested attribute',
                        name: 'DeepNested',
                        type: 'Nested',
                        uri: 'configuration/entityTypes/HCP/attributes/DeepNested'
                    },
                    {
                        label: 'Reference',
                        name: 'Reference',
                        type: 'Reference',
                        uri: 'configuration/entityTypes/HCP/attributes/Reference'
                    },
                    {
                        label: 'Image',
                        name: 'Image',
                        type: 'Image',
                        uri: 'configuration/entityTypes/HCP/attributes/Image'
                    }
                ],
                survivorshipGroups: [
                    {
                        uri: 'configuration/entityTypes/HCP/survivorshipGroups/default',
                        default: true,
                        mapping: [
                            {
                                attribute: 'configuration/entityTypes/HCP/attributes/TextField',
                                survivorshipStrategy: 'LUD'
                            },
                            {
                                attribute: 'configuration/entityTypes/HCP/attributes/Boolean',
                                survivorshipStrategy: 'Frequency'
                            },
                            {
                                attribute: 'configuration/entityTypes/HCP/attributes/DeepNested',
                                survivorshipStrategy: 'SRC_SYS'
                            },
                            {
                                attribute: 'configuration/entityTypes/HCP/attributes/ImageGallery',
                                primaryAttributeUri: 'configuration/entityTypes/HCP/attributes/OtherAttributeWinner',
                                survivorshipStrategy: 'OtherAttributeWinnerCrosswalk'
                            },
                            {
                                attribute: 'configuration/entityTypes/Location/attributes/Address',
                                comparisonAttributeUri: 'configuration/relationTypes/HasAddress/attributes/Status',
                                survivorshipStrategy: 'MinValue'
                            }
                        ]
                    }
                ]
            }
        ],
        survivorshipStrategies: [
            {
                uri: 'configuration/survivorshipStrategies/LUD',
                label: 'Recency'
            },
            {
                uri: 'configuration/survivorshipStrategies/Frequency',
                label: 'Frequency'
            },
            {
                uri: 'configuration/survivorshipStrategies/SRC_SYS',
                label: 'Source system'
            },
            {
                uri: 'configuration/survivorshipStrategies/OtherAttributeWinnerCrosswalk',
                label: 'Other Attribute Winner Crosswalk'
            },
            {
                uri: 'configuration/survivorshipStrategies/MinValue',
                label: 'Minimum value'
            }
        ],
        sources: [
            {
                uri: 'configuration/sources/Reltio',
                label: 'Reltio'
            }
        ]
    };
};
export var selectedAttributeTypes = [
    {
        description: 'String Attribute',
        label: 'String Label',
        name: 'TextField',
        type: 'String',
        uri: 'configuration/entityTypes/HCP/attributes/TextField'
    },
    {
        description: 'Yes or No',
        label: 'Boolean',
        name: 'Boolean',
        type: 'Boolean',
        uri: 'configuration/entityTypes/HCP/attributes/Boolean'
    },
    {
        label: 'Nested attribute',
        name: 'DeepNested',
        type: 'Nested',
        uri: 'configuration/entityTypes/HCP/attributes/DeepNested',
        attributes: [
            {
                label: 'Int_HCP',
                name: 'FirstLevelNestedSub1',
                type: 'Int',
                uri: 'configuration/entityTypes/HCP/attributes/DeepNested/attributes/FirstLevelNestedSub1'
            }
        ]
    },
    {
        label: 'Address',
        name: 'Address',
        access: ['READ'],
        type: 'Reference',
        referencedAttributeURIs: ['configuration/entityTypes/Location/attributes/AddressLine1'],
        uri: 'configuration/entityTypes/Location/attributes/Address'
    },
    {
        label: 'Image Gallery',
        name: 'ImageGallery',
        type: 'Image',
        uri: 'configuration/entityTypes/HCP/attributes/ImageGallery',
        attributes: [
            {
                label: 'Small image url (S3)',
                name: 'UrlThumbnail',
                type: 'String',
                uri: 'configuration/entityTypes/HCP/attributes/ImageGallery/attributes/UrlThumbnail'
            }
        ]
    }
];
