{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-license-virtuozzo-virtuozzo-schema.json",
  "title": "license.virtuozzo.Virtuozzo",
  "description": "Your Virtuozzo license",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-license-virtuozzo-openapi.yml#/components/schemas/license.virtuozzo.Virtuozzo",
  "type": "object",
  "properties": {
    "containerNumber": {
      "allOf": [
        {
          "$ref": "#/$defs/license.VirtuozzoContainerNumberEnum"
        }
      ],
      "description": "The amount of containers this license can manage",
      "readOnly": true
    },
    "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
    },
    "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
    },
    "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.VirtuozzoVersionEnum"
        }
      ],
      "description": "This license version",
      "readOnly": true
    }
  },
  "$defs": {
    "ipv4": {
      "type": "string",
      "description": "IPv4 address (e.g., 192.0.2.0)",
      "format": "ipv4"
    },
    "license.StateEnum": {
      "type": "string",
      "description": "All states a license can be in",
      "enum": [
        "ok",
        "released",
        "terminated",
        "toDeliver"
      ]
    },
    "license.VirtuozzoContainerNumberEnum": {
      "type": "string",
      "description": "All quantities of container available for a Virtuozzo license",
      "enum": [
        "2_CPU_001_CONTAINER",
        "2_CPU_003_CONTAINER",
        "2_CPU_010_CONTAINER",
        "2_CPU_030_CONTAINER",
        "2_CPU_060_CONTAINER",
        "2_CPU_100_CONTAINER"
      ]
    },
    "license.VirtuozzoVersionEnum": {
      "type": "string",
      "description": "All versions available for Virtuozzo products",
      "enum": [
        "VIRTUOZZO_CONTAINERS_4_FOR_LINUX",
        "VIRTUOZZO_CONTAINERS_4_FOR_WINDOWS"
      ]
    }
  }
}