{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Account",
  "title": "Account",
  "type": "object",
  "properties": {
    "company": {
      "type": "string",
      "description": "The company name associated with this account."
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "The email address associated with this account."
    },
    "first_name": {
      "type": "string",
      "description": "The first name of the account holder."
    },
    "last_name": {
      "type": "string",
      "description": "The last name of the account holder."
    },
    "address_1": {
      "type": "string",
      "description": "The first line of the account's address."
    },
    "address_2": {
      "type": "string",
      "description": "The second line of the account's address."
    },
    "city": {
      "type": "string",
      "description": "The city of the account's address."
    },
    "state": {
      "type": "string",
      "description": "The state or province of the account's address."
    },
    "zip": {
      "type": "string",
      "description": "The postal code of the account's address."
    },
    "country": {
      "type": "string",
      "description": "The two-letter ISO 3166-1 country code."
    },
    "phone": {
      "type": "string",
      "description": "The phone number for the account."
    },
    "balance": {
      "type": "number",
      "format": "float",
      "description": "The current account balance in US dollars."
    },
    "active_since": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the account was activated."
    },
    "capabilities": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of capabilities enabled on this account."
    }
  }
}