LogoLogo
Give FeedbackGovStack Home
1.0
1.0
  • Messaging
  • 1 Version History
  • 2 Description
  • 3 Terminology
  • 4 Key Digital Functionalities
  • 5 Cross-Cutting Requirements
  • 6 Functional Requirements
  • 7 Data Structures
  • 8 Service APIs
  • 9 Internal Workflows
  • 10 Other Resources
Powered by GitBook

Copyright © 2024

On this page
  • 7.1 Resource Model
  • 7.2 Data Structures
  • 7.2.1 Data Elements (Generic Example)
  • Standards
  • Model Schemas

Was this helpful?

Export as PDF

7 Data Structures

This section provides information on the core data structures/data models that are used by this Building Block.

Last updated 2 years ago

Was this helpful?

7.1 Resource Model

The resource model shows the relationship between data objects that are used by this Building Block.

7.2 Data Structures

7.2.1 Data Elements (Generic Example)

7.2.1.1 Person

Name
Type
Description
Notes

Name

Type

Description

Notes

Surname

String

Family name

First Name

String

First name

Birth Date

Date

DOB

Mobile Number

String

Phone number (mobile) of user

Government ID number

Integer

Government issued ID number

Used when linking to global ID Building Block.

Standards

The following standards are applicable to data structures in the Messaging Building Block:

  • all services are provided as REST API requests;

  • only Transport Layer Security (TLS) Server Name Indication (SNI) extension-compatible requests are allowed;

  • REST calls and responses use JSON as the only allowed data format.

Model Schemas

. Should include country code.

Using on dates and times is a MUST;

on text input is a MUST.

Each model schema MUST have a corresponding JSON Schema ().

ISO 8601
UTF-8 character encoding
API definition file
ISO 8601
E.164 Mobile number standard
Note: Recommend using to create the resource model and store in Building Block repository ()
https://app.diagrams.net/
https://github.com/GovStackWorkingGroup/bb-messaging/tree/1.0-QA/api