File size: 1,203 Bytes
1477a90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import "./properties.tsp";

namespace Shared;

/**
 * Address
 */
@friendlyName("Address")
model Address {
  /**
   * Country code in [ISO 3166-1](https://www.iso.org/iso-3166-country-codes.html)
   * alpha-2 format.
   */
  @visibility(Lifecycle.Create, Lifecycle.Read, Lifecycle.Update)
  @summary("Country")
  country?: CountryCode;

  /**
   * Postal code.
   */
  @visibility(Lifecycle.Create, Lifecycle.Read, Lifecycle.Update)
  @summary("Postal Code")
  postal_code?: string;

  /**
   * State or province.
   */
  @visibility(Lifecycle.Create, Lifecycle.Read, Lifecycle.Update)
  @summary("State")
  state?: string;

  /**
   * City.
   */
  @visibility(Lifecycle.Create, Lifecycle.Read, Lifecycle.Update)
  @summary("City")
  city?: string;

  /**
   * First line of the address.
   */
  @visibility(Lifecycle.Create, Lifecycle.Read, Lifecycle.Update)
  @summary("Line 1")
  line1?: string;

  /**
   * Second line of the address.
   */
  @visibility(Lifecycle.Create, Lifecycle.Read, Lifecycle.Update)
  @summary("Line 2")
  line2?: string;

  /**
   * Phone number.
   */
  @visibility(Lifecycle.Create, Lifecycle.Read, Lifecycle.Update)
  @summary("Phone Number")
  phone_number?: string;
}