Salesforce · JSON Structure

Salesforce Successful Id Token Structure

Type: object Properties: 30 Required: 30
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

SuccessfulIDToken is a JSON Structure definition published by Salesforce, describing 30 properties, of which 30 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

id asserted_user user_id organization_id username nick_name display_name email email_verified first_name last_name timezone photos addr_street addr_city addr_state addr_country addr_zip mobile_phone mobile_phone_verified is_lightning_login_user status urls active user_type language locale utcOffset last_modified_date is_app_installed

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "SuccessfulIDToken",
  "properties": {
    "id": {
      "type": "string"
    },
    "asserted_user": {
      "type": "boolean"
    },
    "user_id": {
      "type": "string"
    },
    "organization_id": {
      "type": "string"
    },
    "username": {
      "type": "string"
    },
    "nick_name": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "email_verified": {
      "type": "boolean"
    },
    "first_name": {
      "type": "string"
    },
    "last_name": {
      "type": "string"
    },
    "timezone": {
      "type": "string"
    },
    "photos": {
      "type": "object",
      "properties": {
        "picture": {
          "type": "string"
        },
        "thumbnail": {
          "type": "string"
        }
      },
      "required": [
        "picture",
        "thumbnail"
      ]
    },
    "addr_street": {
      "type": "['string', 'null']"
    },
    "addr_city": {
      "type": "['string', 'null']"
    },
    "addr_state": {
      "type": "['string', 'null']"
    },
    "addr_country": {
      "type": "string"
    },
    "addr_zip": {
      "type": "['string', 'null']"
    },
    "mobile_phone": {
      "type": "['string', 'null']"
    },
    "mobile_phone_verified": {
      "type": "boolean"
    },
    "is_lightning_login_user": {
      "type": "boolean"
    },
    "status": {
      "type": "object",
      "properties": {
        "created_date": {
          "type": "['string', 'null']"
        },
        "body": {
          "type": "['string', 'null']"
        }
      },
      "required": [
        "created_date",
        "body"
      ]
    },
    "urls": {
      "type": "object",
      "properties": {
        "enterprise": {
          "type": "string"
        },
        "metadata": {
          "type": "string"
        },
        "partner": {
          "type": "string"
        },
        "rest": {
          "type": "string"
        },
        "sobjects": {
          "type": "string"
        },
        "search": {
          "type": "string"
        },
        "query": {
          "type": "string"
        },
        "recent": {
          "type": "string"
        },
        "tooling_soap": {
          "type": "string"
        },
        "tooling_rest": {
          "type": "string"
        },
        "profile": {
          "type": "string"
        },
        "feeds": {
          "type": "string"
        },
        "groups": {
          "type": "string"
        },
        "users": {
          "type": "string"
        },
        "feed_items": {
          "type": "string"
        },
        "feed_elements": {
          "type": "string"
        },
        "custom_domain": {
          "type": "string"
        }
      },
      "required": [
        "enterprise",
        "metadata",
        "partner",
        "rest",
        "sobjects",
        "search",
        "query",
        "recent",
        "tooling_soap",
        "tooling_rest",
        "profile",
        "feeds",
        "groups",
        "users",
        "feed_items",
        "feed_elements",
        "custom_domain"
      ]
    },
    "active": {
      "type": "boolean"
    },
    "user_type": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "locale": {
      "type": "string"
    },
    "utcOffset": {
      "type": "integer"
    },
    "last_modified_date": {
      "type": "string"
    },
    "is_app_installed": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "asserted_user",
    "user_id",
    "organization_id",
    "username",
    "nick_name",
    "display_name",
    "email",
    "email_verified",
    "first_name",
    "last_name",
    "timezone",
    "photos",
    "addr_street",
    "addr_city",
    "addr_state",
    "addr_country",
    "addr_zip",
    "mobile_phone",
    "mobile_phone_verified",
    "is_lightning_login_user",
    "status",
    "urls",
    "active",
    "user_type",
    "language",
    "locale",
    "utcOffset",
    "last_modified_date",
    "is_app_installed"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}