address.schema.yml 3.06 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
zone_territory:
  type: mapping
  label: 'Zone territory'
  mapping:
    country_code:
      type: string
      label: 'Country'
    administrative_area:
      type: string
      label: 'Administrative area'
    locality:
      type: string
      label: 'Locality'
    dependent_locality:
      type: string
      label: 'Dependent locality'
    included_postal_codes:
      type: string
      label: 'Included postal codes'
    excluded_postal_codes:
      type: string
      label: 'Excluded postal codes'

24 25 26 27
field.value.address:
  type: mapping
  label: 'Default value'
  mapping:
28 29 30
    langcode:
      type: string
      label: 'Language code'
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
    country_code:
      type: string
      label: 'Country code'
    administrative_area:
      type: string
      label: 'Administrative area'
    locality:
      type: string
      label: 'Locality'
    dependent_locality:
      type: string
      label: 'Dependent locality'
    postal_code:
      type: string
      label: 'Postal code'
    sorting_code:
      type: string
      label: 'Sorting code'
    address_line1:
      type: string
      label: 'First line of the address block'
    address_line2:
      type: string
      label: 'Second line of the address block'
    organization:
      type: string
      label: 'Organization'
58
    given_name:
59
      type: string
60 61 62 63 64 65 66
      label: 'Given name'
    additional_name:
      type: string
      label: 'Additional name'
    family_name:
      type: string
      label: 'Family name'
67

68 69 70 71
field.field_settings.address:
  type: mapping
  label: 'Address field settings'
  mapping:
72 73 74 75 76
    available_countries:
      type: sequence
      label: 'Available countries'
      sequence:
        - type: string
77 78 79 80 81
    fields:
      type: sequence
      label: 'Used fields'
      sequence:
        - type: string
82 83 84
    langcode_override:
      type: string
      label: 'Language override'
85 86 87

field.widget.settings.address_default:
  type: mapping
88
  label: 'Default address widget settings'
89
  mapping:
90 91 92
    default_country:
      type: string
      label: 'Default country'
93

94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
field.value.address_country:
  type: mapping
  label: 'Default value'
  mapping:
    value:
      type: string
      label: 'Country code'

field.field_settings.address_country:
  type: mapping
  label: 'Country field settings'
  mapping:
    available_countries:
      type: sequence
      label: 'Available countries'
      sequence:
        - type: string

112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
field.value.address_zone:
  type: mapping
  label: 'Default value'
  mapping:
    label:
      type: label
      label: 'Label'
    territories:
      type: sequence
      label: 'Territories'
      sequence:
        - type: zone_territory

field.field_settings.address_zone:
  type: mapping
  label: 'Zone field settings'
  mapping:
    available_countries:
      type: sequence
      label: 'Available countries'
      sequence:
        - type: string

field.widget.settings.address_zone_default:
  type: mapping
  label: 'Default zone widget settings'
  mapping:
    show_label_field:
      type: boolean
      label: 'Show the zone label field'

143 144 145
views.filter.country_code:
  type: views.filter.in_operator
  label: 'Country'