Moov · Schema

Phone

Phone number with country code.

BankingEmbedded FinanceFinancial InfrastructureMoney MovementPaymentsTransfers

Properties

Name Type Description
number string Phone number digits without formatting.
countryCode string International country calling code (e.g., "1" for US).
View JSON Schema on GitHub

JSON Schema

moov-phone-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Phone",
  "title": "Phone",
  "type": "object",
  "description": "Phone number with country code.",
  "properties": {
    "number": {
      "type": "string",
      "description": "Phone number digits without formatting.",
      "pattern": "^\\d{10,15}$"
    },
    "countryCode": {
      "type": "string",
      "description": "International country calling code (e.g., \"1\" for US)."
    }
  }
}