{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-communication-services/json-schema/microsoft-azure-communication-services-update-room-request-schema.json",
  "title": "UpdateRoomRequest",
  "description": "Request payload for updating a room.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-communication-services-rooms-api-openapi.yml#/components/schemas/UpdateRoomRequest",
  "type": "object",
  "properties": {
    "validFrom": {
      "format": "date-time",
      "description": "(Optional) The timestamp from when the room is open for joining. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.",
      "type": "string"
    },
    "validUntil": {
      "format": "date-time",
      "description": "(Optional) The timestamp from when the room can no longer be joined. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.",
      "type": "string"
    },
    "pstnDialOutEnabled": {
      "description": "(Optional) Set this flag to true if, at the time of the call, dial out to a PSTN number is enabled in a particular room. By default, this flag is set to false.",
      "type": "boolean"
    }
  }
}