Skip to content

Commit

Permalink
Add Content Block Postal Address type
Browse files Browse the repository at this point in the history
The Content Modelling Team are working on a spike to add the ability to publishing reusable pieces of content (“Content Blocks”) via Whitehall. This adds a simple initial schema to help us work with a type of postal address.

There is an existing `post_addresses` object in the `contact` schema which is shaped slightly differently - I thought it better to go with the shape that GDS currently suggestions in their docs https://design-system.service.gov.uk/patterns/addresses/ to make it easier for our creation forms to comply with GDS standards.

We could add/change these fields in the future.
  • Loading branch information
Harriethw committed Jul 18, 2024
1 parent cdef619 commit 62883be
Show file tree
Hide file tree
Showing 12 changed files with 1,170 additions and 0 deletions.
1 change: 1 addition & 0 deletions content_schemas/allowed_document_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- closed_consultation
- cma_case
- content_block_email_address
- content_block_postal_address
- complaints_procedure
- completed_transaction
- consultation
Expand Down
Loading

0 comments on commit 62883be

Please sign in to comment.