{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-ip-destinations-schema.json",
  "title": "ip.Destinations",
  "description": "A structure given all services allowed as a destination for this ip",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-ip-openapi.yml#/components/schemas/ip.Destinations",
  "type": "object",
  "properties": {
    "cloudProject": {
      "type": [
        "array",
        "null"
      ],
      "description": "list of public cloud projects",
      "items": {
        "$ref": "#/$defs/ip.Destination"
      }
    },
    "dedicatedCloud": {
      "type": [
        "array",
        "null"
      ],
      "description": "list of dedicated clouds",
      "items": {
        "$ref": "#/$defs/ip.Destination"
      }
    },
    "dedicatedServer": {
      "type": [
        "array",
        "null"
      ],
      "description": "list of dedicated servers",
      "items": {
        "$ref": "#/$defs/ip.Destination"
      }
    },
    "hostingReseller": {
      "type": [
        "array",
        "null"
      ],
      "description": "list of hosting reseller services",
      "items": {
        "$ref": "#/$defs/ip.Destination"
      }
    },
    "ipLoadbalancing": {
      "type": [
        "array",
        "null"
      ],
      "description": "list of load balancing services",
      "items": {
        "$ref": "#/$defs/ip.Destination"
      }
    },
    "sncCloudPlatform": {
      "type": [
        "array",
        "null"
      ],
      "description": "list of SNC Cloud Platform projects",
      "items": {
        "$ref": "#/$defs/ip.Destination"
      }
    },
    "vmwareCloudDirector": {
      "type": [
        "array",
        "null"
      ],
      "description": "list of VMware Cloud Director organization services",
      "items": {
        "$ref": "#/$defs/ip.Destination"
      }
    },
    "vps": {
      "type": [
        "array",
        "null"
      ],
      "description": "list of vps",
      "items": {
        "$ref": "#/$defs/ip.Destination"
      }
    },
    "vrackServicesBgp": {
      "type": [
        "array",
        "null"
      ],
      "description": "list of BGP vrack services services",
      "items": {
        "$ref": "#/$defs/ip.Destination"
      }
    }
  },
  "$defs": {
    "ip.Destination": {
      "type": "object",
      "description": "A structure given service and its nexthops as a destination for failover ips",
      "properties": {
        "nexthop": {
          "type": [
            "array",
            "null"
          ],
          "description": "Nexthops available on this service",
          "items": {
            "type": "string"
          }
        },
        "service": {
          "type": "string",
          "description": "Service destination"
        }
      }
    }
  }
}