{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gsma/json-schema/gsma-qos-on-demand-update-schema.json",
  "title": "QosOnDemandUpdate",
  "description": "Payload to change the QoS behaviour associated to a home device.",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gsma-home-devices-qod-api-openapi.yml#/components/schemas/QosOnDemandUpdate",
  "type": "object",
  "required": [
    "serviceClass",
    "ipAddress"
  ],
  "properties": {
    "serviceClass": {
      "type": "string",
      "description": "The name of the service class requested by the API client. It is associated with QoS behaviours optimised for a particular application type. Each service class is mapped to a DSCP value according to [RFC4594](https://datatracker.ietf.org/doc/html/rfc4594) guidelines. The DSCP value is used to classify the target home device's traffic so that it can be treated accordingly (i.e. to meet its QoS needs).\n\nThe following service classes are supported:\n\n| Service Class Name    | DSCP Name | DSCP value (decimal) | DCSP value (binary) | Application Examples                          |\n|-----------------------|-----------|----------------------|---------------------|-----------------------------------------------|\n| Real-Time Interactive |    CS4    |          32          |        100000       | Video conferencing and Interactive gaming     |\n| Multimedia Streaming  |    AF31   |          26          |        011010       | Streaming video and audio on demand           |\n| Broadcast Video       |    CS3    |          24          |        011000       | Broadcast TV & live events                    |\n| Low-Latency Data      |    AF21   |          18          |        010010       | Client/server transactions Web-based ordering |\n| High-Throughput Data  |    AF11   |          10          |        001010       | Store and forward applications                |\n| Low-Priority Data     |    CS1    |           8          |        001000       | Any flow that has no BW assurance             |\n| Standard              |  DF(CS0)  |           0          |        000000       | Undifferentiated applications                 |\n",
      "enum": [
        "real_time_interactive",
        "multimedia_streaming",
        "broadcast_video",
        "low_latency_data",
        "high_throughput_data",
        "low_priority_data",
        "standard"
      ]
    },
    "ipAddress": {
      "type": "string",
      "format": "ipv4",
      "description": "Internal IP address of the connected device in the LAN."
    }
  }
}