{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-fraud-detector/json-schema/amazon-fraud-detector-batch-create-variable-request-schema.json",
  "title": "BatchCreateVariableRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-fraud-detector-variable-api-openapi.yml#/components/schemas/BatchCreateVariableRequest",
  "type": "object",
  "properties": {
    "variableEntries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/VariableEntry"
      },
      "description": "The list of variables for the batch create variable request."
    },
    "tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A collection of key and value pairs."
    }
  },
  "required": [
    "variableEntries"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "A tag key."
        },
        "value": {
          "type": "string",
          "description": "A value assigned to a tag key."
        }
      },
      "required": [
        "key",
        "value"
      ]
    },
    "VariableEntry": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the variable."
        },
        "dataType": {
          "type": "string",
          "description": "The data type of the variable."
        },
        "dataSource": {
          "type": "string",
          "description": "The data source of the variable."
        },
        "defaultValue": {
          "type": "string",
          "description": "The default value of the variable."
        },
        "description": {
          "type": "string",
          "description": "The description of the variable."
        },
        "variableType": {
          "type": "string",
          "description": "The type of the variable. For more information see Variable types. Valid Values: 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"
        }
      }
    }
  }
}