{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ayoconnect/main/json-schema/ayoconnect-inquiry-response-schema.json",
  "title": "InquiryResponse",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ayoconnect-bill-api-openapi.yml#/components/schemas/InquiryResponse",
  "properties": {
    "responseCode": {
      "type": "integer"
    },
    "success": {
      "type": "boolean"
    },
    "message": {
      "properties": {
        "ID": {
          "type": "string"
        },
        "EN": {
          "type": "string"
        }
      }
    },
    "data": {
      "properties": {
        "inquiryId": {
          "type": "integer"
        },
        "accountNumber": {
          "type": "string"
        },
        "customerName": {
          "type": "string"
        },
        "productName": {
          "type": "string"
        },
        "productCode": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "amount": {
          "type": "integer"
        },
        "totalAdmin": {
          "type": "integer"
        },
        "processingFee": {
          "type": "integer"
        },
        "validity": {
          "type": "string"
        },
        "customerDetail": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "billDetails": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "productDetails": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "extraFields": {
          "type": "array",
          "items": {
            "type": "object"
          }
        }
      }
    }
  }
}