{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DectNetwork",
  "title": "DectNetwork",
  "type": "object",
  "required": [
    "id",
    "name",
    "primaryEnabled",
    "numberOfHandsetsAssigned",
    "location"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VybjpURUFNOnVzLWVhc3QtMl9hL0RFVklDRS9hNmYwYjhkMi01ZjdkLTQzZDItODAyNi0zM2JkNDg3NjYzMTg=",
      "description": "Unique identifier for a DECT network."
    },
    "name": {
      "type": "string",
      "example": "Dect Network1",
      "description": "Identifier for device DECT network."
    },
    "primaryEnabled": {
      "type": "boolean",
      "description": "Indicates whether the virtual profile is the primary line."
    },
    "numberOfHandsetsAssigned": {
      "type": "number",
      "example": 1,
      "description": "Number of DECT handsets assigned to the virtual profile."
    },
    "location": {
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "properties": {
        "id": {
          "type": "string",
          "example": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzMxMTYx",
          "description": "ID of location associated with virtual line."
        },
        "name": {
          "type": "string",
          "example": "Main Location Test",
          "description": "Name of location associated with virtual line."
        }
      },
      "description": "Location details of virtual line."
    }
  }
}