{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-license-plesk-plesk-schema.json",
  "title": "license.plesk.Plesk",
  "description": "Your Plesk license",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-license-plesk-openapi.yml#/components/schemas/license.plesk.Plesk",
  "type": "object",
  "properties": {
    "creation": {
      "type": "string",
      "description": "This license creation date",
      "format": "date-time",
      "readOnly": true
    },
    "deleteAtExpiration": {
      "type": "boolean",
      "description": "Shall we delete this on expiration ?"
    },
    "domain": {
      "type": "string",
      "description": "The internal name of your license",
      "readOnly": true
    },
    "domainNumber": {
      "allOf": [
        {
          "$ref": "#/$defs/license.DomainNumberEnum"
        }
      ],
      "description": "The amount of domain this license can manage",
      "nullable": true,
      "readOnly": true
    },
    "informationKey": {
      "type": [
        "string",
        "null"
      ],
      "description": "This license Information key",
      "readOnly": true
    },
    "ip": {
      "allOf": [
        {
          "$ref": "#/$defs/ipv4"
        }
      ],
      "description": "The ip on which this license is attached",
      "readOnly": true
    },
    "key": {
      "type": "string",
      "description": "This license key",
      "readOnly": true
    },
    "licenseId": {
      "type": "string",
      "description": "The license id on license provider side",
      "readOnly": true
    },
    "productKey": {
      "type": [
        "string",
        "null"
      ],
      "description": "This license product key",
      "readOnly": true
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/$defs/license.StateEnum"
        }
      ],
      "description": "This license state",
      "readOnly": true
    },
    "version": {
      "allOf": [
        {
          "$ref": "#/$defs/license.PleskVersionEnum"
        }
      ],
      "description": "This license version",
      "readOnly": true
    }
  },
  "$defs": {
    "ipv4": {
      "type": "string",
      "description": "IPv4 address (e.g., 192.0.2.0)",
      "format": "ipv4"
    },
    "license.DomainNumberEnum": {
      "type": "string",
      "description": "All quantities of domain available for a license",
      "enum": [
        "0",
        "1",
        "10",
        "100",
        "30",
        "300",
        "unlimited"
      ]
    },
    "license.PleskVersionEnum": {
      "type": "string",
      "description": "All versions available for Plesk products",
      "enum": [
        "PLESK_10_AND_LATER",
        "PLESK_10_AND_LATER_FOR_KVM",
        "PLESK_10_AND_LATER_FOR_VMWARE",
        "PLESK_10_AND_LATER_FOR_VZ",
        "PLESK_10_AND_LATER_FOR_WIN",
        "PLESK_10_AND_LATER_FOR_WIN_FOR_VMWARE",
        "PLESK_10_AND_LATER_FOR_WIN_FOR_VZ",
        "PLESK_10_AND_LATER_FOR_WIN_FOR_XEN",
        "PLESK_10_AND_LATER_FOR_XEN",
        "PLESK_12_VPS_WEB_ADMIN",
        "PLESK_12_VPS_WEB_APP",
        "PLESK_12_VPS_WEB_HOST",
        "PLESK_12_VPS_WEB_HOST_CLNX",
        "PLESK_12_VPS_WEB_PRO",
        "PLESK_12_VPS_WEB_PRO_CLNX",
        "PLESK_12_WEB_ADMIN",
        "PLESK_12_WEB_APP",
        "PLESK_12_WEB_HOST",
        "PLESK_12_WEB_HOST_CLNX",
        "PLESK_12_WEB_PRO",
        "PLESK_12_WEB_PRO_CLNX",
        "PLESK_75_RELOADED",
        "PLESK_80",
        "PLESK_80_FOR_VZ",
        "PLESK_81_FOR_WIN",
        "PLESK_9",
        "PLESK_95",
        "PLESK_95_FOR_VZ",
        "PLESK_95_FOR_WIN",
        "PLESK_9_FOR_VZ",
        "PLESK_9_FOR_WIN",
        "PLESK_ONYX_VPS_WEB_ADMIN",
        "PLESK_ONYX_VPS_WEB_APP",
        "PLESK_ONYX_VPS_WEB_HOST",
        "PLESK_ONYX_VPS_WEB_HOST_CLNX",
        "PLESK_ONYX_VPS_WEB_PRO",
        "PLESK_ONYX_VPS_WEB_PRO_CLNX",
        "PLESK_ONYX_WEB_ADMIN",
        "PLESK_ONYX_WEB_APP",
        "PLESK_ONYX_WEB_HOST",
        "PLESK_ONYX_WEB_HOST_CLNX",
        "PLESK_ONYX_WEB_PRO",
        "PLESK_ONYX_WEB_PRO_CLNX",
        "PLESK_VPS_WEB_ADMIN",
        "PLESK_VPS_WEB_HOST",
        "PLESK_VPS_WEB_PRO",
        "PLESK_WEB_ADMIN",
        "PLESK_WEB_HOST",
        "PLESK_WEB_PRO",
        "plesk-12-webadmin",
        "plesk-12-webadmin-for-vps",
        "plesk-12-webhost",
        "plesk-12-webhost-for-vps",
        "plesk-12-webpro",
        "plesk-12-webpro-for-vps",
        "plesk-webadmin",
        "plesk-webadmin-for-vps",
        "plesk-webhost",
        "plesk-webhost-for-vps",
        "plesk-webpro",
        "plesk-webpro-for-vps"
      ]
    },
    "license.StateEnum": {
      "type": "string",
      "description": "All states a license can be in",
      "enum": [
        "ok",
        "released",
        "terminated",
        "toDeliver"
      ]
    }
  }
}