{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-license-worklight-work-light-schema.json",
  "title": "license.worklight.WorkLight",
  "description": "Your WorkLight license",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-license-worklight-openapi.yml#/components/schemas/license.worklight.WorkLight",
  "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
    },
    "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
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/$defs/license.StateEnum"
        }
      ],
      "description": "This license state",
      "readOnly": true
    },
    "version": {
      "allOf": [
        {
          "$ref": "#/$defs/license.WorkLightVersionEnum"
        }
      ],
      "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.WorkLightVersionEnum": {
      "type": "string",
      "description": "All versions for WorkLight product",
      "enum": [
        "VERSION-6.1U.1CPU",
        "VERSION-6.1U.2CPU",
        "VERSION-6.2U.1CPU",
        "VERSION-6.2U.2CPU",
        "VERSION-6.EVALUATION",
        "worklight-license-version-6-1cpu-1u",
        "worklight-license-version-6-1cpu-2u",
        "worklight-license-version-6-2cpu-1u",
        "worklight-license-version-6-2cpu-2u"
      ]
    }
  }
}