{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "BASEURL/accountInfo.json",
"title": "accountInfo",
"description": "Customer Account Information",
"type": "object",
"properties": {
"accountIdentifier": {
"type": "string",
"maxLength": 64
},
"authenticationInformation": {
"type": "object",
"properties": {
"authenticationData": {
"type": "string",
"maxLength": 20000
},
"authenticationMethod": {
"type": "string",
"enum": ["guest", "merchantCredentials", "federatedID", "issuerCredentials", "thirdPartyAuthentication", "FIDO", "signedFIDO", "SRCassuranceData"]
},
"authenticationTimestamp": {
"type": "string",
"format": "date-time"
}
},
"required": ["authenticationMethod", "authenticationTimestamp"],
"additionalProperties": false
},
"accountAgeIndicator": {
"type": "string",
"enum": ["guestCheckout", "thisTransaction", "lessThan30Days", "from30To60Days", "moreThan60Days"],
"description": "Length of time that the customer has had the account with the merchant."
},
"accountChangeDate": {
"type": "string",
"format": "full-date",
"description": "YYYY-MM-DD"
},
"accountChangeIndicator": {
"type": "string",
"enum": ["thisTransaction", "lessThan30Days", "from30To60Days", "moreThan60Days"],
"description": "Length of time since the customer account information was last changed."
},
"accountCreationDate": {
"type": "string",
"format": "full-date",
"description": "YYYY-MM-DD"
},
"passwordChangeDate": {
"type": "string",
"format": "full-date",
"description": "YYYY-MM-DD"
},
"passwordChangeDateIndicator": {
"type": "string",
"enum": ["noChange", "thisTransaction", "lessThan30Days", "from30To60Days", "moreThan60Days"],
"description": "Indicates the length of time since the customer account had a password change or account reset."
},
"nbrOfPurchases": {
"type": "integer",
"maximum": 9999,
"description": "Number of purchases in the last 6 months."
},
"addCardAttemptsDay": {
"type": "integer",
"maximum": 999,
"description": "Number of Add Card attempts in the last 24 hours."
},
"nbrTransactionsDay": {
"type": "integer",
"maximum": 999,
"description": "Number of transactions (successful and abandoned) in the previous 24 hours."
},
"nbrTransactionsYear": {
"type": "integer",
"maximum": 999,
"description": "Number of transactions (successful and abandoned) in the previous year."
},
"paymentAccountAge": {
"type": "string",
"format": "full-date",
"description": "Date that the payment account was enrolled in the customer account in format YYYY-MM-DD."
},
"paymentAccountAgeIndicator": {
"type": "string",
"enum": ["guestCheckout", "thisTransaction", "lessThan30Days", "from30To60Days", "moreThan60Days"],
"description": "Indicates the length of time that the payment account was enrolled in the customer account."
},
"shipAddressUsageDate": {
"type": "string",
"format": "full-date",
"description": "Date when the shipping address used for this transaction was first used in format YYYY-MM-DD."
},
"shipAddressUsageIndicator": {
"type": "string",
"enum": ["thisTransaction", "lessThan30Days", "from30To60Days", "moreThan60Days"],
"description": "Indicates when the shipping address used for this transaction was first used."
},
"suspiciousAccActivity": {
"type": "boolean",
"description": "Indicates whether the merchant has experienced suspicious activity (including previous fraud) on the customer account."
}
},
"additionalProperties": false
} |