{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/curbwaste/json-schema/curbwaste-update-public-location-dto-schema.json",
  "title": "UpdatePublicLocationDto",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/curbwaste-locations-api-openapi.yml#/components/schemas/UpdatePublicLocationDto",
  "type": "object",
  "properties": {
    "name": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 255
        }
      ]
    },
    "locationNote": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "string",
          "maxLength": 2000
        }
      ]
    },
    "purchaseOrderNumber": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "type": "string",
          "maxLength": 255
        }
      ]
    },
    "address": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "title": "Street address to re-geocode. When set, replaces the stored address JSON",
      "description": "Street address to re-geocode. When set, replaces the stored address JSON."
    },
    "status": {
      "title": "Set to \"ACTIVE\" to reactivate an inactive location",
      "description": "Set to \"ACTIVE\" to reactivate an inactive location.",
      "type": "string",
      "enum": [
        "ACTIVE",
        "INACTIVE"
      ]
    }
  },
  "required": []
}