{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://nao1215.github.io/jsonize/schemas/nslookup/query.json",
  "title": "nslookup/query",
  "description": "nslookup HOST, the resolver used and the addresses it answered with",
  "x-jsonize": {
    "definition": "nslookup/query",
    "version": 1
  },
  "type": "object",
  "properties": {
    "server": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "address": {
          "type": "string"
        },
        "port": {
          "type": "integer"
        }
      },
      "required": [
        "name",
        "address",
        "port"
      ]
    },
    "answers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "address"
        ]
      }
    }
  },
  "required": [
    "server",
    "answers"
  ]
}
