Address
acme.user.v1.Address
Postal or billing address nested on a user.
Fields
| Field | Number | Type | Cardinality | Validation | Description |
|---|---|---|---|---|---|
| line1 | 1 | string | implicit | string.min_len=1 | —Details
(buf.validate.field) = {
string: {
min_len: 1
}
}
|
| line2 | 2 | string | implicit | — | —Details
|
| city | 3 | string | implicit | — | —Details
|
| region | 4 | string | implicit | — | —Details
|
| postal_code | 5 | string | implicit | — | —Details
|
| country_code | 6 | string | implicit | string.min_len=2string.max_len=2 | —Details
(buf.validate.field) = {
string: {
min_len: 2
max_len: 2
}
}
|
Example JSON
{
"line1": "string",
"line2": "string",
"city": "string",
"region": "string",
"postalCode": "string",
"countryCode": "string"
}Effective features
- json_format: ALLOWinherited from acme/user/v1/user
Used by
What will be affected if this symbol changes.