{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/barclays/main/json-schema/barclays-prequal-request-schema.json", "title": "PrequalRequest", "description": "Prequal decision request for the customer", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/barclays-applyproductexternalapi-oas-api-openapi.yml#/components/schemas/PrequalRequest", "type": "object", "additionalProperties": false, "deprecated": false, "properties": { "data": { "$ref": "#/$defs/PrequalRequestAttributes" } }, "required": [ "data" ], "nullable": false, "$defs": { "Address": { "type": "object", "additionalProperties": false, "deprecated": false, "description": "Permanent address Info", "properties": { "zip": { "type": "string", "description": "Applicant’s Address Zip", "maxLength": 9, "minLength": 5, "pattern": "^[0-9]{5,9}$" }, "state": { "$ref": "#/$defs/StateEnums" }, "city": { "type": "string", "description": "Applicant's City", "maxLength": 32, "minLength": 1, "pattern": "^(?!\\s)[a-zA-Z'\\s]{1,32}(? pair", "maxLength": 100, "minLength": 1, "pattern": "^[a-zA-Z0-9_]{1,100}$" }, "value": { "type": "string", "description": "value of key in pair", "maxLength": 200, "minLength": 1, "pattern": "^[\\w\\!\\@\\#\\$\\&\\*\\(\\)\\+\\=\\'\\\"\\.\\,\\s\\/\\-]{1,200}$" } }, "required": [ "name", "value" ], "nullable": false }, "PartnerDataAttributes_1": { "type": "array", "description": "List of partner data attributes", "items": { "$ref": "#/$defs/NameValueAttributePair" }, "maxItems": 100, "minItems": 0 }, "PrequalRequestAttributes": { "type": "object", "additionalProperties": false, "deprecated": false, "description": "PrequalRequestAttributes object", "properties": { "applicationRequest": { "$ref": "#/$defs/ApplicationRequest" }, "trackingInfo": { "$ref": "#/$defs/TrackingInfo" }, "partnerDataAttributes": { "$ref": "#/$defs/PartnerDataAttributes_1" }, "deviceProfiling": { "$ref": "#/$defs/DeviceProfiling" } } }, "StateEnums": { "type": "string", "description": "Applicant's State", "enum": [ "AL", "AK", "AA", "AE", "AP", "AZ", "AR", "CA", "CO", "CT", "DE", "DC", "FL", "GA", "HI", "ID", "IL", "IN", "IA", "KS", "KY", "LA", "ME", "MD", "MA", "MI", "MN", "MS", "MO", "MT", "NE", "NV", "NH", "NJ", "NM", "NY", "NC", "ND", "OH", "OK", "OR", "PA", "PR", "RI", "SC", "SD", "TN", "TX", "UT", "VT", "VA", "VI", "WA", "WV", "WI", "WY" ] }, "TrackingInfo": { "type": "array", "description": "List of tracking information", "items": { "$ref": "#/$defs/NameValueAttributePair" }, "maxItems": 100, "minItems": 0 } } }