{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/User",
  "title": "User",
  "type": "object",
  "description": "A Facebook user profile.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The user ID.",
      "example": "100001234567890"
    },
    "name": {
      "type": "string",
      "description": "The user's full name.",
      "example": "Jane Smith"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "The user's email address.",
      "example": "jsmith@example.com"
    },
    "picture": {
      "type": "object",
      "description": "Profile picture data.",
      "properties": {
        "data": {
          "type": "object",
          "properties": {
            "url": {
              "type": "string",
              "format": "uri",
              "description": "URL of the profile picture."
            }
          }
        }
      }
    },
    "first_name": {
      "type": "string",
      "description": "First name.",
      "example": "Jane"
    },
    "last_name": {
      "type": "string",
      "description": "Last name.",
      "example": "Smith"
    }
  }
}