Skip to content

UserProfile

All wire models

Model aliases: UserProfile.

Type: object.

Fields

Required means the key must be present. Nullable means its value may be null; it does not make a required key optional. “Not specified” means the schema declares no default.

Field Type Required Default
preferences_initialized boolean No true
subject string Yes Not specified
display_name string Yes Not specified
locale string Yes Not specified
time_zone string Yes Not specified
response_language string Yes Not specified
avatar_url string or null No null
avatar_version string or null No null

Model constraints

  • Additional properties: permitted

Exact JSON Schema

This is a schema definition, not an example request. It preserves all declared keywords, including constraints not summarized above.

Complete JSON Schema
JSON
{
  "additionalProperties": true,
  "properties": {
    "preferences_initialized": {
      "default": true,
      "title": "Preferences Initialized",
      "type": "boolean"
    },
    "subject": {
      "title": "Subject",
      "type": "string"
    },
    "display_name": {
      "title": "Display Name",
      "type": "string"
    },
    "locale": {
      "title": "Locale",
      "type": "string"
    },
    "time_zone": {
      "title": "Time Zone",
      "type": "string"
    },
    "response_language": {
      "title": "Response Language",
      "type": "string"
    },
    "avatar_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Avatar Url"
    },
    "avatar_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Avatar Version"
    }
  },
  "required": [
    "subject",
    "display_name",
    "locale",
    "time_zone",
    "response_language"
  ],
  "title": "UserProfile",
  "type": "object"
}