{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/main/json-schema/adyen-create-test-card-ranges-result-schema.json",
  "title": "CreateTestCardRangesResult",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adyen-createtestcardranges-api-openapi.yml#/components/schemas/CreateTestCardRangesResult",
  "properties": {
    "rangeCreationResults": {
      "description": "The results of the test card creation.",
      "items": {
        "$ref": "#/$defs/TestCardRangeCreationResult"
      },
      "type": "array"
    }
  },
  "required": [
    "rangeCreationResults"
  ],
  "$defs": {
    "TestCardRangeCreationResult": {
      "properties": {
        "cardNumberRangeEnd": {
          "description": "The last test card number in the generated test card range.\n\nExample: 5432 1234 1234 4321",
          "type": "string"
        },
        "cardNumberRangeStart": {
          "description": "The first test card number in the generated test card range.\n\nExample: 5432 1234 1234 1234",
          "type": "string"
        },
        "creationResultCode": {
          "description": "Notification message. It informs about the outcome of the operation. Possible values:\n* CREATED\n* ALREADY_EXISTS\n* ERROR",
          "enum": [
            "ALREADY_EXISTS",
            "CREATED",
            "ERROR"
          ],
          "type": "string"
        },
        "message": {
          "description": "An optional information message about the result.",
          "type": "string"
        }
      },
      "required": [
        "cardNumberRangeStart",
        "cardNumberRangeEnd",
        "creationResultCode"
      ]
    }
  }
}