duck-creek · Schema

Address

Properties

Name Type Description
street1 string
street2 string
city string
state string
zipCode string
country string
View JSON Schema on GitHub

JSON Schema

duck-creek-address-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Address",
  "title": "Address",
  "type": "object",
  "properties": {
    "street1": {
      "type": "string"
    },
    "street2": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string",
      "pattern": "^[A-Z]{2}$"
    },
    "zipCode": {
      "type": "string"
    },
    "country": {
      "type": "string",
      "default": "US"
    }
  }
}