Home Schema Example JSON Schema

Identifiable Information


A simple data structure to store identifiable information.

No Additional Properties

Type: object

The following properties are required:

  • type
  • value
Type: object

The following properties are required:

  • phone
Type: object

The following properties are required:

  • email
Type: object

The following properties are required:

  • whatsapp
Type: object

The following properties are required:

  • governess_user_uid
Type: object

The following properties are required:

  • hospital_profile_uid

Type

Type: enum (of string)

The identifiable information type.

Must be one of:

  • "phone"
  • "email"
  • "whatsapp"
  • "governess_user_uid"
  • "hospital_profile_uid"

Value

Type: string

The identifiable information value.

Must be at least 1 characters long

Phone

Type: string

Phone number in E.164 format.

Must match regular expression: ^\+\d{5,}$

Email


Email address.

Type: objectFormat: email
Type: objectFormat: idn-email

WhatsApp

Type: string

WhatsApp phone number in E.164 format.

Must match regular expression: ^\+\d{5,}$

Governess User UID

Type: string

UID of Governess user.

Must match regular expression: ^[a-zA-Z0-9]{16,}$

Hospital Profile UID

Type: string

UID of Hospital profile.

Must match regular expression: ^[a-zA-Z0-9]{16,}$