SuccessfulUserInfo is a JSON Structure definition published by Salesforce, describing 24 properties, of which 24 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
{
"type": "object",
"name": "SuccessfulUserInfo",
"properties": {
"sub": {
"type": "string"
},
"user_id": {
"type": "string"
},
"organization_id": {
"type": "string"
},
"preferred_username": {
"type": "string"
},
"nickname": {
"type": "string"
},
"name": {
"type": "string"
},
"email": {
"type": "string"
},
"email_verified": {
"type": "boolean"
},
"given_name": {
"type": "string"
},
"family_name": {
"type": "string"
},
"zoneinfo": {
"type": "string"
},
"photos": {
"type": "object",
"properties": {
"picture": {
"type": "string"
},
"thumbnail": {
"type": "string"
}
},
"required": [
"picture",
"thumbnail"
]
},
"profile": {
"type": "string"
},
"picture": {
"type": "string"
},
"address": {
"type": "object",
"properties": {
"country": {
"type": "string"
}
},
"required": [
"country"
]
},
"is_salesforce_integration_user": {
"type": "boolean"
},
"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"
},
"updated_at": {
"type": "string"
},
"is_app_installed": {
"type": "boolean"
}
},
"required": [
"sub",
"user_id",
"organization_id",
"preferred_username",
"nickname",
"name",
"email",
"email_verified",
"given_name",
"family_name",
"zoneinfo",
"photos",
"profile",
"picture",
"address",
"is_salesforce_integration_user",
"urls",
"active",
"user_type",
"language",
"locale",
"utcOffset",
"updated_at",
"is_app_installed"
],
"$schema": "https://json-structure.org/draft/2020-12/schema"
}