{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crunchtime-information-systems/json-schema/crunchtime-information-systems-customer-batch-response-dto-schema.json",
  "title": "CustomerBatchResponseDto",
  "description": "CustomerBatchResponseDto description",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crunchtime-information-systems-customer-service-api-openapi.yml#/components/schemas/CustomerBatchResponseDto",
  "type": "object",
  "properties": {
    "customerDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CustomerDetailsRes"
      }
    },
    "hasNext": {
      "type": "boolean"
    },
    "totalPages": {
      "type": "integer",
      "format": "int32"
    }
  },
  "$defs": {
    "CustomerDetailsDtoRes": {
      "type": "object",
      "required": [
        "address1",
        "city",
        "country",
        "customerCode",
        "customerName",
        "locationCode",
        "supplyPricing"
      ],
      "properties": {
        "activeFlag": {
          "type": "string",
          "description": "\"activeFlag\" from Customer"
        },
        "address1": {
          "type": "string",
          "description": "\"address1\" from Customer"
        },
        "address2": {
          "type": "string",
          "description": "\"address2\" from Customer"
        },
        "city": {
          "type": "string",
          "description": "\"city\" from Customer"
        },
        "country": {
          "type": "string",
          "description": "\"country\" from Customer"
        },
        "customerAccountNumber": {
          "type": "string",
          "description": "\"customerAccountNumber\" from Customer"
        },
        "customerCode": {
          "type": "string",
          "description": "\"customerCode\" from Customer"
        },
        "customerName": {
          "type": "string",
          "description": "\"customerName\" from Customer"
        },
        "exportCode": {
          "type": "string",
          "description": "\"exportCode\" from Customer"
        },
        "importCode": {
          "type": "string",
          "description": "\"importCode\" from Customer"
        },
        "locationCode": {
          "type": "string",
          "description": "\"locationCode\" from Customer"
        },
        "retailPricing": {
          "type": "string",
          "description": "\"retailPricing\" from Customer"
        },
        "state": {
          "type": "string",
          "description": "\"state\" from Customer"
        },
        "supplyPricing": {
          "type": "string",
          "description": "\"supplyPricing\" from Customer"
        },
        "zipcode": {
          "type": "string",
          "description": "\"zipcode\" from Customer"
        }
      },
      "title": "CustomerDetailsDtoRes",
      "description": "CustomerDetailsDto description"
    },
    "CustomerDetailsRes": {
      "type": "object",
      "properties": {
        "customerDetailDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CustomerDetailsDtoRes"
          }
        }
      },
      "title": "CustomerDetailsRes",
      "description": "CustomerDetails description"
    }
  }
}