{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IPAddress",
  "title": "IPAddress",
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "The IP address."
    },
    "gateway": {
      "type": "string",
      "description": "The default gateway."
    },
    "subnet_mask": {
      "type": "string",
      "description": "The subnet mask."
    },
    "prefix": {
      "type": "integer",
      "description": "The network prefix length."
    },
    "type": {
      "type": "string",
      "enum": [
        "ipv4",
        "ipv6"
      ],
      "description": "The type of IP address."
    },
    "public": {
      "type": "boolean",
      "description": "Whether this is a public IP address."
    },
    "rdns": {
      "type": "string",
      "description": "The reverse DNS entry for this address."
    },
    "linode_id": {
      "type": "integer",
      "description": "The ID of the Linode this IP is assigned to."
    },
    "region": {
      "type": "string",
      "description": "The region for this IP address."
    }
  }
}