/**
 * PayPal Server SDKLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */
import { array, lazy, object, optional, string } from '../schema';
import { linkDescriptionSchema } from './linkDescription';
export const errorDetailsSchema = object({
    field: ['field', optional(string())],
    value: ['value', optional(string())],
    location: ['location', optional(string())],
    issue: ['issue', string()],
    links: ['links', optional(array(lazy(() => linkDescriptionSchema)))],
    description: ['description', optional(string())],
});
//# sourceMappingURL=errorDetails.js.map