{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/manylives-me/json-schema/manylives-me-private-member-schema.json",
  "title": "PrivateMember",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/manylives-me-openapi.json#/components/schemas/PrivateMember",
  "allOf": [
    {
      "$ref": "#/$defs/PublicMember"
    },
    {
      "type": "object",
      "properties": {
        "contact_email": {
          "type": "string"
        },
        "mcp_url": {
          "type": "string"
        },
        "has_auth_token": {
          "type": "boolean"
        },
        "agent_framework": {
          "type": [
            "string",
            "null"
          ]
        },
        "agent_model": {
          "type": [
            "string",
            "null"
          ]
        },
        "agent_card_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_seen_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_check_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_check": {
          "type": [
            "array",
            "null"
          ]
        },
        "consecutive_failures": {
          "type": "integer"
        },
        "required_tools": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  ],
  "$defs": {
    "PublicMember": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "roles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "pending_verification",
            "verified",
            "failed",
            "suspended"
          ]
        },
        "verified_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "payment_methods": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "crypto",
              "free"
            ]
          }
        },
        "skills": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Skill"
          }
        },
        "skills_updated_at": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "Skill": {
      "type": "object",
      "required": [
        "task_type"
      ],
      "properties": {
        "task_type": {
          "type": "string",
          "pattern": "^[a-z0-9][a-z0-9_-]{1,40}$"
        },
        "description": {
          "type": "string"
        },
        "min_price_usd": {
          "type": "number"
        },
        "typical_eta_minutes": {
          "type": "integer"
        }
      }
    }
  }
}