{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nacelle/main/json-schema/nacelle-address-create-schema.json",
  "title": "AddressCreate",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nacelle-order-management-api-experimental-openapi.yml#/components/schemas/AddressCreate",
  "properties": {
    "address1": {
      "description": "The first line of the address.",
      "maximum": 500,
      "minimum": 1,
      "type": "string",
      "x-go-name": "Address1"
    },
    "address2": {
      "description": "The second line of the address.",
      "maximum": 500,
      "minimum": 1,
      "type": "string",
      "x-go-name": "Address2"
    },
    "city": {
      "description": "The city of the address.",
      "maximum": 100,
      "minimum": 1,
      "type": "string",
      "x-go-name": "City"
    },
    "comment": {
      "description": "Additional comments about the address.",
      "maximum": 1000,
      "minimum": 1,
      "type": "string",
      "x-go-name": "Comment"
    },
    "country_iso2": {
      "description": "The ISO 2-letter country code.",
      "type": "string",
      "x-go-name": "CountryIso2"
    },
    "first_name": {
      "description": "First name",
      "maximum": 100,
      "minimum": 1,
      "type": "string",
      "x-go-name": "FirstName"
    },
    "id": {
      "description": "Unique identifier for the address.",
      "format": "uuid",
      "type": "string",
      "x-go-name": "ID"
    },
    "last_name": {
      "description": "Last name",
      "maximum": 100,
      "minimum": 1,
      "type": "string",
      "x-go-name": "LastName"
    },
    "merchant_created_at": {
      "description": "Merchant Specified Timestamp of when the Address was created.\nDiffers from CreatedAt which is autogenerated.",
      "format": "date-time",
      "type": "string",
      "x-go-name": "MerchantCreatedAt"
    },
    "merchant_modified_at": {
      "description": "Merchant Specified Timestamp of the last modification to the Address.\nDiffers from ModifiedAt which is autogenerated.",
      "format": "date-time",
      "type": "string",
      "x-go-name": "MerchantModifiedAt"
    },
    "postal_code": {
      "description": "The postal code.",
      "maximum": 20,
      "minimum": 4,
      "type": "string",
      "x-go-name": "PostalCode"
    },
    "province": {
      "description": "The province of the address.",
      "maximum": 100,
      "minimum": 1,
      "type": "string",
      "x-go-name": "Province"
    },
    "state": {
      "description": "The state of the address.",
      "maximum": 100,
      "minimum": 1,
      "type": "string",
      "x-go-name": "State"
    }
  },
  "required": [
    "state",
    "address1",
    "country_iso2",
    "postal_code",
    "city"
  ],
  "type": "object",
  "x-go-package": "github.com/getnacelle/noms/docs"
}