{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-email-mxplan-server-schema.json",
  "title": "email.mxplan.Server",
  "description": "Server",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-email-mxplan-openapi.yml#/components/schemas/email.mxplan.Server",
  "type": "object",
  "properties": {
    "currentDiskUsage": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Current disk usage in MB",
      "readOnly": true
    },
    "diskSize": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Total disk size in MB",
      "readOnly": true
    },
    "ip": {
      "allOf": [
        {
          "$ref": "#/$defs/ipv4"
        }
      ],
      "description": "ipV4",
      "readOnly": true
    },
    "ipV6": {
      "allOf": [
        {
          "$ref": "#/$defs/ipv6"
        }
      ],
      "description": "ipV6",
      "nullable": true,
      "readOnly": true
    },
    "isAValid": {
      "type": "boolean",
      "description": "If true your dns A record is valid",
      "readOnly": true
    },
    "isAaaaValid": {
      "type": "boolean",
      "description": "If true your dns AAAA record is valid",
      "readOnly": true
    },
    "isPtrV6Valid": {
      "type": "boolean",
      "description": "If true your dns ptrV6 record is valid",
      "readOnly": true
    },
    "isPtrValid": {
      "type": "boolean",
      "description": "If true your dns ptr record is valid",
      "readOnly": true
    },
    "state": {
      "allOf": [
        {
          "$ref": "#/$defs/email.pro.ServerStateEnum"
        }
      ],
      "description": "Server state",
      "readOnly": true
    },
    "taskPendingId": {
      "type": "integer",
      "description": "Task pending id",
      "readOnly": true
    },
    "version": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Server version",
      "readOnly": true
    }
  },
  "$defs": {
    "email.pro.ServerStateEnum": {
      "type": "string",
      "description": "Server State",
      "enum": [
        "configurationPending",
        "notConfigured",
        "ok"
      ]
    },
    "ipv4": {
      "type": "string",
      "description": "IPv4 address (e.g., 192.0.2.0)",
      "format": "ipv4"
    },
    "ipv6": {
      "type": "string",
      "description": "IPv6 address (e.g., 2001:41d0:1:1994::1)",
      "format": "ipv6"
    }
  }
}