pyocf.types.phone

Type representation of a phone number

pydantic model pyocf.types.phone.Phone

Type representation of a phone number

field phone_number: str [Required]

A valid phone number string in ITU E.123 international notation (e.g. +123 123456 7890)

Constraints:
  • pattern = ^+d{1,3}sd{2,3}sd{2,3}sd{4}$

field phone_type: PhoneType [Required]

Type of phone number (e.g. mobile, home or business)