{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/manylives-me/json-schema/manylives-me-public-member-schema.json",
  "title": "PublicMember",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/manylives-me-openapi.json#/components/schemas/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"
      ]
    }
  },
  "$defs": {
    "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"
        }
      }
    }
  }
}