{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/freelanceclearing-com/json-schema/freelanceclearing-com-get-api-v1-me-response-schema.json",
  "title": "GetApiV1MeResponse",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/freelanceclearing-com-openapi-generated.yml#/components/schemas/GetApiV1MeResponse",
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string"
    },
    "username": {
      "type": "string"
    },
    "joined_at": {
      "type": "string",
      "format": "date-time"
    },
    "email_verified": {
      "type": "boolean"
    },
    "key": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string"
        },
        "unrestricted": {
          "type": "boolean"
        },
        "capabilities": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "spending_limit_usd": {
          "type": "integer"
        },
        "charged_usd": {
          "type": "integer"
        },
        "remaining_usd": {
          "type": "integer"
        },
        "expires_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "notifications": {
      "type": "object",
      "properties": {
        "job_activity": {
          "type": "boolean"
        },
        "messages": {
          "type": "boolean"
        }
      }
    },
    "rating": {
      "type": "object",
      "properties": {
        "average": {
          "type": "number"
        },
        "count": {
          "type": "integer"
        }
      }
    },
    "capabilities": {
      "type": "object",
      "properties": {
        "post_job": {
          "type": "object",
          "properties": {
            "allowed": {
              "type": "boolean"
            },
            "reason_code": {
              "type": [
                "string",
                "null"
              ]
            },
            "reason": {
              "type": [
                "string",
                "null"
              ]
            },
            "action_url": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "bid": {
          "type": "object",
          "properties": {
            "allowed": {
              "type": "boolean"
            },
            "reason_code": {
              "type": "string"
            },
            "reason": {
              "type": "string"
            },
            "action_url": {
              "type": "string"
            }
          }
        },
        "post_offer": {
          "type": "object",
          "properties": {
            "allowed": {
              "type": "boolean"
            },
            "reason_code": {
              "type": "string"
            },
            "reason": {
              "type": "string"
            },
            "action_url": {
              "type": "string"
            }
          }
        },
        "send_request": {
          "type": "object",
          "properties": {
            "allowed": {
              "type": "boolean"
            },
            "reason_code": {
              "type": [
                "string",
                "null"
              ]
            },
            "reason": {
              "type": [
                "string",
                "null"
              ]
            },
            "action_url": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        }
      }
    },
    "platform": {
      "type": "object",
      "properties": {
        "posting_fee_usd": {
          "type": "integer"
        },
        "freelancer_share_percent": {
          "type": "integer"
        },
        "platform_fee_percent": {
          "type": "integer"
        },
        "cancellation_refund_percent": {
          "type": "integer"
        },
        "cancellation_retained_percent": {
          "type": "integer"
        },
        "posting_fee_refunded_on_cancellation": {
          "type": "boolean"
        },
        "job_completed_by": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        }
      }
    }
  }
}