{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cayra-io/json-schema/cayra-io-activation-request-schema.json",
  "title": "ActivationRequest",
  "description": "Request model for license activation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cayra-io-client-api-openapi.yml#/components/schemas/ActivationRequest",
  "properties": {
    "license_key": {
      "type": "string",
      "title": "License Key",
      "description": "License key"
    },
    "machine_id": {
      "type": "string",
      "title": "Machine Id",
      "description": "Unique machine identifier"
    },
    "machine_hostname": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Machine Hostname",
      "description": "Machine hostname"
    },
    "machine_ip": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Machine Ip",
      "description": "Machine IP address"
    },
    "system_info": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "System Info",
      "description": "System information (OS, RAM, CPU)"
    },
    "installation_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Installation Path",
      "description": "Installation directory path"
    }
  },
  "type": "object",
  "required": [
    "license_key",
    "machine_id"
  ]
}