Skip to content

CorporateProfileFieldCapability

All wire models

Model aliases: CorporateProfileFieldCapability.

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
field string Yes Not specified
source string Yes Not specified
supported boolean Yes Not specified
required_permissions Array of string No Not specified
code string or null No null

Model constraints

  • Additional properties: permitted

Field constraints

field

  • Allowed values: "display_name", "avatar", "job_title", "department", "manager"

source

  • Allowed values: "directory", "verified_claims", "local", "personal"

required_permissions

  • Maximum items: 4

code

  • anyOf branch 1 (string): Maximum length: 64

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": {
    "field": {
      "enum": [
        "display_name",
        "avatar",
        "job_title",
        "department",
        "manager"
      ],
      "title": "Field",
      "type": "string"
    },
    "source": {
      "enum": [
        "directory",
        "verified_claims",
        "local",
        "personal"
      ],
      "title": "Source",
      "type": "string"
    },
    "supported": {
      "title": "Supported",
      "type": "boolean"
    },
    "required_permissions": {
      "items": {
        "type": "string"
      },
      "maxItems": 4,
      "title": "Required Permissions",
      "type": "array"
    },
    "code": {
      "anyOf": [
        {
          "maxLength": 64,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Code"
    }
  },
  "required": [
    "field",
    "source",
    "supported"
  ],
  "title": "CorporateProfileFieldCapability",
  "type": "object"
}