Modern Treasury · Schema

address

FintechPaymentsACHWiresTreasury

Properties

Name Type Description
id string
object string
live_mode boolean This field will be true if this object exists in the live environment or false if it exists in the test environment.
created_at string
updated_at string
line1 string
line2 string
locality string Locality or City.
region string Region or State.
postal_code string The postal code of the address.
country string Country code conforms to [ISO 3166-1 alpha-2]
View JSON Schema on GitHub

JSON Schema

modern-treasury-address-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/address",
  "title": "address",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "object": {
      "type": "string"
    },
    "live_mode": {
      "type": "boolean",
      "description": "This field will be true if this object exists in the live environment or false if it exists in the test environment."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "line1": {
      "type": "string",
      "nullable": true
    },
    "line2": {
      "type": "string",
      "nullable": true
    },
    "locality": {
      "type": "string",
      "nullable": true,
      "description": "Locality or City."
    },
    "region": {
      "type": "string",
      "nullable": true,
      "description": "Region or State."
    },
    "postal_code": {
      "type": "string",
      "description": "The postal code of the address.",
      "nullable": true
    },
    "country": {
      "type": "string",
      "description": "Country code conforms to [ISO 3166-1 alpha-2]",
      "nullable": true
    }
  },
  "nullable": true,
  "additionalProperties": false,
  "minProperties": 11,
  "required": [
    "id",
    "object",
    "live_mode",
    "created_at",
    "updated_at",
    "line1",
    "line2",
    "locality",
    "region",
    "postal_code",
    "country"
  ]
}