{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ipwhois-net/json-schema/ipwhois-net-blacklist-batch-schema.json",
  "title": "BlacklistBatch",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/ipwhois-net-api-openapi.json#/components/schemas/BlacklistBatch",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BlacklistResult"
      }
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "$defs": {
    "BlacklistResult": {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean"
        },
        "ip": {
          "type": "string"
        },
        "listed": {
          "type": "boolean"
        },
        "meta": {
          "$ref": "#/$defs/Meta"
        }
      },
      "additionalProperties": true,
      "description": "Paid plans add the per-list detail."
    },
    "Meta": {
      "type": "object",
      "description": "Plan and quota of the key that made the call.",
      "properties": {
        "plan": {
          "type": "string"
        },
        "fields": {
          "type": "string",
          "enum": [
            "basic",
            "full"
          ]
        },
        "quota": {
          "type": "object",
          "properties": {
            "limit": {
              "type": "integer"
            },
            "used": {
              "type": "integer"
            },
            "remaining": {
              "type": "integer"
            },
            "period": {
              "type": "string",
              "enum": [
                "day",
                "month"
              ]
            },
            "resets_at": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      }
    }
  }
}