Address schemas
How each country's addresses are asked for and written out, setting up a schema's fields and lines, linking fields to the parts other features read, and what changing a schema does to saved addresses.
Where: Engage, Admin, Mail, Address Schemas
- If you can't see it
- Your role doesn't include managing postal settings. Your administrator can add it to your role: it's called Manage Postal Settings.
Pas encore traduite
Addresses in Ireland and the United States don't have the same fields, so each country's addresses follow an address schema: the fields staff fill in, which of them must be filled in, and how the address is written on a letter or in a list. One schema is the default, for every country without one of its own, so add a schema when a country's addresses don't fit it.
Adding a schema
- Select Add Address Schema.
- Under Start From, choose a schema to copy. Its fields and the way it writes addresses are copied in, and you can change any of them before you create the new one.
- Under Name and Countries, name the schema and add the countries it's for.
- Check its fields and how addresses are written, as the sections below explain.
- Select Create.
Fields
Select Add Field to add a field, or a field's pencil to change it:
- Label is what staff see beside the field.
- Field ID is the name imports and other systems use for it. It's made of letters and digits, and starts with a lowercase letter. It can't change once the schema is saved.
- Type is a single line of text, several lines, or a dropdown. A dropdown needs its choices, each with a code and a name, and an import can give either one.
- Mandatory means staff can't save an address without it.
- Maximum Length caps how long a value can be.
- Address Part links the field to one of the parts every address shares, such as Line 1, Locality or Postal Code, as the next section explains.
Address parts
Every address shares the same parts: Line 1 to Line 4, Locality, Administrative Area and Postal Code. Imports, exports, Insights and postal regions read every address by these parts, however its country lays it out. Link each field to the part it holds, so a schema's addresses can be read alongside every other country's. Postal regions match against the field linked to Postal Code. So a schema with no field linked to it gives its addresses no postal region, as Postal regions explains. Supporters giving online see only the fields linked to a part.
How addresses are written
Under How Addresses Are Written, a schema writes each address two ways: On several lines, for letters and labels, and On one line, for lists, exports and search results. For each way, choose:
- The fields, in order.
- What goes before each field, such as a comma or a new line.
- Whether to write each field as entered or changed, such as in capitals.
An address in your organization's main country is written without the country. The main country is set on Organization details.
Before you save, Preview lets you enter an address and see the checks it passes, how it's written, the postal region it gets and which fields supporters see when they give online.
Changing a schema
Saving a change doesn't change any address already saved. The next time an address is edited, it has to fit the schema. Anything with no place in the schema is dropped, and anything that breaks a rule has to be fixed first. Each address is written the new way when it's next saved. Once a field has been saved, it can't be removed and its Field ID can't change, because saved addresses and imports use it.