{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-cluster-hadoop-node-schema.json",
  "title": "cluster.hadoop.Node",
  "description": "Physical or Virtual Node",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-cluster-hadoop-openapi.yml#/components/schemas/cluster.hadoop.Node",
  "type": "object",
  "properties": {
    "billingProfileName": {
      "allOf": [
        {
          "$ref": "#/$defs/cluster.hadoop.BillingNameEnum"
        }
      ],
      "description": "Name of the billing profile attached to the node",
      "readOnly": true
    },
    "hostname": {
      "type": "string",
      "description": "Hostname of the node",
      "readOnly": true
    },
    "ip": {
      "allOf": [
        {
          "$ref": "#/$defs/ip"
        }
      ],
      "description": "IP of the Node",
      "readOnly": true
    },
    "isRemovable": {
      "type": "boolean",
      "description": "Whether or not the Node is removable",
      "readOnly": true
    },
    "softwareProfile": {
      "allOf": [
        {
          "$ref": "#/$defs/cluster.hadoop.NodeProfileEnum"
        }
      ],
      "description": "Profile of the Node",
      "readOnly": true
    },
    "state": {
      "allOf": [
        {
          "$ref": "#/$defs/cluster.hadoop.NodeStateEnum"
        }
      ],
      "description": "State of the Node",
      "readOnly": true
    }
  },
  "$defs": {
    "cluster.hadoop.BillingNameEnum": {
      "type": "string",
      "description": "All billing profile names",
      "enum": [
        "100-small",
        "200-cpu-1",
        "220-cpu-3",
        "300-disk-1",
        "310-disk-3",
        "900-vm-1"
      ]
    },
    "cluster.hadoop.NodeProfileEnum": {
      "type": "string",
      "description": "All profiles a Hadoop Cluster Node can be",
      "enum": [
        "ApplicationServer",
        "BasicNode",
        "ClouderaManager",
        "MasterServer",
        "SecondaryServer"
      ]
    },
    "cluster.hadoop.NodeStateEnum": {
      "type": "string",
      "description": "All states a Hadoop Cluster Node can be in",
      "enum": [
        "available",
        "delivered",
        "toDeploy",
        "unavailable"
      ]
    },
    "ip": {
      "type": "string",
      "description": "IP address (e.g., 192.0.2.0)",
      "format": "ipv4"
    }
  }
}