Facebook · Schema

User

A Facebook user profile.

Fortune 500AdvertisingContent PublishingMessagingSocial MediaSocial Networking

Properties

Name Type Description
id string The user ID.
name string The user's full name.
email string The user's email address.
picture object Profile picture data.
first_name string First name.
last_name string Last name.
View JSON Schema on GitHub

JSON Schema

facebook-user-schema.json Raw ↑
{
  "$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"
    }
  }
}