{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/starsphera-com/json-schema/starsphera-com-register-provider-agent-request-schema.json",
  "title": "RegisterProviderAgentRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/starsphera-com-openapi.json#/components/schemas/RegisterProviderAgentRequest",
  "properties": {
    "gpu_spec": {
      "$ref": "#/$defs/GPUSpecRequest"
    },
    "price_per_hour_usdc": {
      "type": "number",
      "title": "Price Per Hour Usdc"
    },
    "contact": {
      "type": "string",
      "maxLength": 254,
      "minLength": 3,
      "title": "Contact"
    },
    "withdrawal_address": {
      "type": "string",
      "title": "Withdrawal Address"
    },
    "mode": {
      "type": "string",
      "enum": [
        "physical",
        "datacenter"
      ],
      "title": "Mode",
      "default": "physical"
    },
    "agent_version": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "title": "Agent Version"
    },
    "capabilities": {
      "additionalProperties": true,
      "type": "object",
      "title": "Capabilities"
    }
  },
  "type": "object",
  "required": [
    "gpu_spec",
    "price_per_hour_usdc",
    "contact",
    "withdrawal_address",
    "agent_version"
  ],
  "$defs": {
    "GPUSpecRequest": {
      "properties": {
        "model": {
          "type": "string",
          "maxLength": 160,
          "minLength": 2,
          "title": "Model"
        },
        "vram_gb": {
          "type": "integer",
          "maximum": 2048.0,
          "minimum": 1.0,
          "title": "Vram Gb"
        },
        "bandwidth_mbps": {
          "type": "integer",
          "maximum": 10000000.0,
          "minimum": 1.0,
          "title": "Bandwidth Mbps"
        }
      },
      "type": "object",
      "required": [
        "model",
        "vram_gb",
        "bandwidth_mbps"
      ],
      "title": "GPUSpecRequest"
    }
  }
}