{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name"
 ],
 "definitions": {
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$",
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "CreatedTime": {
   "type": "string"
  },
  "DataSource": {
   "enum": [
    "EVENT",
    "EXTERNAL_MODEL_SCORE"
   ],
   "type": "string"
  },
  "DataType": {
   "enum": [
    "STRING",
    "INTEGER",
    "FLOAT",
    "BOOLEAN"
   ],
   "type": "string"
  },
  "DefaultValue": {
   "type": "string"
  },
  "Description": {
   "maxLength": 256,
   "minLength": 1,
   "type": "string"
  },
  "LastUpdatedTime": {
   "type": "string"
  },
  "Name": {
   "pattern": "^[a-z_][a-z0-9_]{0,99}?$",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 200,
   "type": "array",
   "uniqueItems": false
  },
  "VariableType": {
   "enum": [
    "AUTH_CODE",
    "AVS",
    "BILLING_ADDRESS_L1",
    "BILLING_ADDRESS_L2",
    "BILLING_CITY",
    "BILLING_COUNTRY",
    "BILLING_NAME",
    "BILLING_PHONE",
    "BILLING_STATE",
    "BILLING_ZIP",
    "CARD_BIN",
    "CATEGORICAL",
    "CURRENCY_CODE",
    "EMAIL_ADDRESS",
    "FINGERPRINT",
    "FRAUD_LABEL",
    "FREE_FORM_TEXT",
    "IP_ADDRESS",
    "NUMERIC",
    "ORDER_ID",
    "PAYMENT_TYPE",
    "PHONE_NUMBER",
    "PRICE",
    "PRODUCT_CATEGORY",
    "SHIPPING_ADDRESS_L1",
    "SHIPPING_ADDRESS_L2",
    "SHIPPING_CITY",
    "SHIPPING_COUNTRY",
    "SHIPPING_NAME",
    "SHIPPING_PHONE",
    "SHIPPING_STATE",
    "SHIPPING_ZIP",
    "USERAGENT"
   ],
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/CreatedTime",
  "/properties/LastUpdatedTime"
 ],
 "required": [
  "DataType",
  "DataSource",
  "DefaultValue",
  "Name"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::FraudDetector::Variable"
}
