{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/delinea/main/json-schema/delinea-dual-control-model-schema.json",
  "title": "DualControlModel",
  "description": "Dual control",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/delinea-dualcontrols-api-openapi.yml#/components/schemas/DualControlModel",
  "properties": {
    "active": {
      "description": "Whether this dual control is active",
      "type": "boolean"
    },
    "dualControlApprovalGroups": {
      "description": "Dual control approval groups",
      "items": {
        "$ref": "#/$defs/IDualControlApprovalGroup"
      },
      "type": "array"
    },
    "dualControlTypeId": {
      "description": "Dual control type ID",
      "type": "integer",
      "format": "int32"
    },
    "dualControlTypeName": {
      "description": "Dual control type name",
      "type": "string"
    },
    "id": {
      "description": "Dual control ID",
      "type": "integer",
      "format": "int32"
    },
    "itemId": {
      "description": "Dual control item ID",
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "itemName": {
      "description": "Dual control item name",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "IDualControlApprovalGroup": {
      "description": "Dual control approval groups",
      "properties": {
        "dualControlId": {
          "description": "DualControlId",
          "type": "integer",
          "format": "int32"
        },
        "enabled": {
          "description": "Enabled",
          "type": "boolean"
        },
        "groupId": {
          "description": "GroupId",
          "type": "integer",
          "format": "int32"
        },
        "groupName": {
          "description": "GroupName",
          "type": "string"
        },
        "id": {
          "description": "Id",
          "type": "integer",
          "format": "int32"
        }
      },
      "type": "object"
    }
  }
}