{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stripe/main/json-schema/stripe-post-terminal-locations-request-schema.json",
  "title": "PostTerminalLocationsRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stripe-terminal-api-openapi.yml#/components/schemas/PostTerminalLocationsRequest",
  "type": "object",
  "required": [
    "address",
    "display_name"
  ],
  "properties": {
    "address": {
      "description": "The full address of the location.",
      "properties": {
        "city": {
          "maxLength": 5000,
          "type": "string"
        },
        "country": {
          "maxLength": 5000,
          "type": "string"
        },
        "line1": {
          "maxLength": 5000,
          "type": "string"
        },
        "line2": {
          "maxLength": 5000,
          "type": "string"
        },
        "postal_code": {
          "maxLength": 5000,
          "type": "string"
        },
        "state": {
          "maxLength": 5000,
          "type": "string"
        }
      },
      "required": [
        "country"
      ],
      "title": "create_location_address_param",
      "type": "object"
    },
    "configuration_overrides": {
      "description": "The ID of a configuration that will be used to customize all readers in this location.",
      "maxLength": 1000,
      "type": "string"
    },
    "display_name": {
      "description": "A name for the location.",
      "maxLength": 1000,
      "type": "string"
    },
    "expand": {
      "description": "Specifies which fields in the response should be expanded.",
      "items": {
        "maxLength": 5000,
        "type": "string"
      },
      "type": "array"
    },
    "metadata": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        }
      ],
      "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
    }
  }
}