import { sharedSchemaReferences } from '../../types.js';
const sharedProperties = {
    fpsKeyType: { type: 'string', enum: ['mobile', 'email', 'id'] }
};
const hkFpsSchema = {
    type: 'bank-account',
    includeFields: {
        accountOwner: true
    },
    additionalProperties: {
        resolved: {
            type: 'object',
            properties: {
                ...sharedProperties,
                fpsKey: { type: 'string' },
                accountAddress: sharedSchemaReferences.PhysicalAddress
            },
            required: []
        },
        obfuscated: {
            type: 'object',
            properties: {
                ...sharedProperties,
                fpsKeyEnding: { type: 'string' },
                accountAddress: {
                    oneOf: [
                        { type: 'string' },
                        sharedSchemaReferences.PhysicalAddress
                    ]
                }
            }
        }
    }
};
export default hkFpsSchema;
//# sourceMappingURL=hk-fps.js.map