{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-location-update-request-schema.json",
  "title": "LocationUpdateRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-locations-api-openapi.yml#/components/schemas/LocationUpdateRequest",
  "type": "object",
  "required": [
    "locationId",
    "tenantGroupLocationId"
  ],
  "properties": {
    "locationId": {
      "type": "string"
    },
    "crosswalkId": {
      "type": "string"
    },
    "entityAddressId": {
      "type": "string"
    },
    "groupLocationId": {
      "type": "string"
    },
    "tenantGroupLocationId": {
      "type": "string"
    },
    "networkId": {
      "type": "string"
    },
    "networkEffectiveDate": {
      "type": "string"
    },
    "effectiveDate": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "locationType": {
      "type": "string"
    },
    "acceptNewPatients": {
      "type": "string"
    },
    "suppressSiteFromDirectory": {
      "type": "boolean"
    },
    "contacts": {
      "type": "array",
      "items": {}
    },
    "serviceAddress": {
      "type": "object"
    },
    "officeHours": {
      "type": "array",
      "items": {}
    },
    "practiceLimitations": {
      "type": "array",
      "items": {}
    },
    "accessibility": {
      "type": "array",
      "items": {}
    },
    "networkSelection": {
      "type": "string"
    },
    "networks": {
      "type": "array",
      "items": {}
    },
    "locationSpecialities": {
      "type": "array",
      "items": {}
    },
    "userDefinedFields": {
      "type": "object"
    },
    "groupLocationUserDefinedFields": {
      "type": "object",
      "description": "Free-form key/value map persisted to GroupLocation.data.userDefinedFields (CP-31476). Deep-merged into existing data; omitted/null keys preserve their prior value."
    }
  }
}