{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aifu-asia/json-schema/aifu-asia-register-request-schema.json",
  "title": "RegisterRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bazaar-openapi.json#/components/schemas/RegisterRequest",
  "properties": {
    "node_id": {
      "type": "string",
      "maxLength": 100,
      "minLength": 3,
      "pattern": "^[a-z0-9][a-z0-9\\-_.]+$",
      "title": "Node Id"
    },
    "owner_display": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "title": "Owner Display"
    },
    "node_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Node Url"
    },
    "agent_card_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Agent Card Url"
    },
    "mcp_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Mcp Url"
    },
    "headline": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "Headline"
    },
    "capabilities": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ],
      "title": "Capabilities"
    },
    "bio": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ],
      "title": "Bio"
    },
    "coverage": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Coverage"
    },
    "contact": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "title": "Contact"
    },
    "service_kind": {
      "type": "string",
      "enum": [
        "agent",
        "human"
      ],
      "title": "Service Kind",
      "default": "agent"
    },
    "list_price": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 1000000.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "List Price"
    },
    "node_secret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Node Secret"
    }
  },
  "type": "object",
  "required": [
    "node_id",
    "owner_display"
  ]
}