Type: credit-card
Properties:
Property | Description | Type | Reference |
---|---|---|---|
card-number |
credit card number | string |
/credit-card/card-number |
card-type |
credit card type | /definitions/credit-card-type | |
cvc |
credit card verification code | string |
/credit-card/cvc |
expiration-month |
expiration month of credit card (1-12) | integer |
/credit-card/expiration-month |
expiration-year |
expiration year of credit card | /definitions/year | |
card-holder |
credit card holder | /person |
Schema:
{
"$id": "https://ontology.riskine.com/credit-card.json",
"type": "object",
"properties": {
"card-number": {
"type": "string",
"description": "credit card number"
},
"card-type": {
"description": "credit card type",
"$ref": "definitions.json#/credit-card-type"
},
"cvc": {
"type": "string",
"description": "credit card verification code"
},
"expiration-month": {
"type": "integer",
"description": "expiration month of credit card (1-12)"
},
"expiration-year": {
"description": "expiration year of credit card",
"$ref": "definitions.json#/year"
},
"card-holder": {
"description": "credit card holder",
"$ref": "person.json"
}
}
}