{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nullcone-ai/json-schema/nullcone-ai-agent-register-request-schema.json",
  "title": "AgentRegisterRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nullcone-ai-openapi.json#/components/schemas/AgentRegisterRequest",
  "properties": {
    "agent_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Agent Id"
    },
    "hostname": {
      "type": "string",
      "maxLength": 256,
      "title": "Hostname",
      "default": "unknown"
    },
    "os_type": {
      "type": "string",
      "maxLength": 64,
      "title": "Os Type",
      "default": "unknown"
    },
    "ei_proof": {
      "$ref": "#/$defs/EIProof"
    },
    "ei_signals": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 5,
      "minItems": 5,
      "title": "Ei Signals"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "ei_proof",
    "ei_signals"
  ],
  "$defs": {
    "EIProof": {
      "properties": {
        "pi_a": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Pi A"
        },
        "pi_b": {
          "items": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "type": "array",
          "title": "Pi B"
        },
        "pi_c": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Pi C"
        }
      },
      "type": "object",
      "required": [
        "pi_a",
        "pi_b",
        "pi_c"
      ],
      "title": "EIProof"
    }
  }
}