{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/curbwaste/json-schema/curbwaste-create-public-location-dto-schema.json",
  "title": "CreatePublicLocationDto",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/curbwaste-locations-api-openapi.yml#/components/schemas/CreatePublicLocationDto",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "format": "uuid"
    },
    "address": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "Street address to geocode. Coordinates must not be supplied by the client —\nthe public API geocodes this string server-side."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "locationNote": {
      "type": "string",
      "maxLength": 2000
    },
    "purchaseOrderNumber": {
      "type": "string",
      "maxLength": 255
    },
    "reactivateIfInactive": {
      "type": "boolean",
      "title": "When true, reactivate an inactive match at this address+name instead of failing",
      "description": "When true, reactivate an inactive match at this address+name instead of failing."
    }
  },
  "required": [
    "customerId",
    "address"
  ]
}