message

Preferences

acme.user.v1.User.Preferences

Nested profile preferences.

Example choices

Field Example Purpose
marketing_opt_in false Marketing preference.
locale en-GB Language and regional formatting.
time_zone Europe/London Local time presentation.

These strings have no validation rules in this example schema.

Nested in acme.user.v1.User

Fields

FieldNumberTypeCardinalityValidationDescription
marketing_opt_in1boolimplicit——
Details
  • JSON name: marketingOptIn
  • Presence: IMPLICIT
locale2stringimplicit——
Details
  • JSON name: locale
  • Presence: IMPLICIT
time_zone3stringimplicit——
Details
  • JSON name: timeZone
  • Presence: IMPLICIT

Example JSON

{
  "marketingOptIn": true,
  "locale": "string",
  "timeZone": "string"
}

Effective features

  • json_format: ALLOW
    inherited from acme/user/v1/user

Used by

What will be affected if this symbol changes.