{
  "openapi": "3.0.0",
  "info": {
    "version": "v1",
    "title": "Access Risk Management Rulebook Services"
  },
  "tags":[{"name":"BusinessFunction"},{"name":"MitigatingControls"},{"name":"MultiSystemMitigations"},{"name":"MultiSystemRulebook"},{"name":"Portability"},{"name":"Rule"},{"name":"Rulebook"},{"name":"RulebookDasboard"},{"name":"RulebookParameter"},{"name":"RulebookParameterDetails"}],
  "paths": {
    "/api/businessfunctions": {
      "post": {
        "tags": [
          "BusinessFunction"
        ],
        "summary": "Creates new business function.",
        "operationId": "CreateFunction",
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "BusinessFunction"
        ],
        "summary": "Updates existing business function.",
        "operationId": "UpdateFunction",
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/businessfunctions/{functionId}/{accountId}": {
      "delete": {
        "tags": [
          "BusinessFunction"
        ],
        "summary": "Deletes business function.",
        "operationId": "DeleteFunction",
        "parameters": [
          {
            "name": "functionId",
            "in": "path",
            "description": "Identifier of business function.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "accountId",
            "in": "path",
            "description": "Identifier of related account. Will be used by service account only.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/mitigatingControls": {
      "get": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Gets a collection of available mitigating controls.",
        "operationId": "GetMitigatingControls",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Optional parameter to search for one or more mitigation controls.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      },
      "post": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Adds a new mitigating control.",
        "operationId": "AddMitigatingControl",
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Updates an existing mitigating control.",
        "operationId": "UpdateMitigatingControl",
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/mitigatingControls/accounts/{accountId}/bulk": {
      "get": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Mitigating Controls Bulk search.",
        "operationId": "GetMitigatingControlsBulk",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "AccountId",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "mitigatingControlsCodes",
            "in": "query",
            "description": "string: list of codes separated by comma.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/api/mitigatingControls/accounts/{accountId}": {
      "get": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Gets a collection of available mitigating controls by AccountId.  For service client communication",
        "operationId": "GetMitigatingControlsByAccountId",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "Account Id",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "description": "Optional parameter to search for one or more mitigation controls.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/api/mitigatingControls/accounts/{accountId}/detail": {
      "get": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Gets a collection of available mitigating controls details by AccountId.  For service client communication",
        "operationId": "GetMitigatingControlsDetailsByAccountId",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "Account Id",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "search",
            "in": "query",
            "description": "Optional parameter to search for one or more mitigation controls.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/api/mitigatingControls/{mitigatingControlId}": {
      "get": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Gets a mitigating control.",
        "operationId": "GetMitigatingControlDetails",
        "parameters": [
          {
            "name": "mitigatingControlId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/api/mitigatingControls/{mitigatingControlId}/{accountId}": {
      "delete": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Deletes a mitigating control.",
        "operationId": "DeleteMitigatingControl",
        "parameters": [
          {
            "name": "mitigatingControlId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/api/mitigatingControls/rules/{mitigatingControlId}": {
      "post": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Saves mitigating rules for specified mitigating control.",
        "operationId": "SaveMitigatingRules",
        "parameters": [
          {
            "name": "mitigatingControlId",
            "in": "path",
            "description": "Identifier of mitigating control.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/xml": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json-patch+json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            }
          },
          "description": "Rules to mitigate."
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Adds new mitigating rules for the specified mitigating control.  It adds all or some of the rules depending on whether the rules are already mapped to the control.",
        "operationId": "AddMitigatingRules",
        "parameters": [
          {
            "name": "mitigatingControlId",
            "in": "path",
            "description": "The unique identifier of mitigating control.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/xml": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/json-patch+json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
                }
              }
            }
          },
          "description": "The new rules to add."
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/mitigatingControls/rules/{mitigatingControlId}/{ruleId}": {
      "delete": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Deletes specified rule mitigating.",
        "operationId": "DeleteMitigatingRule",
        "parameters": [
          {
            "name": "mitigatingControlId",
            "in": "path",
            "description": "Identifier of the mitigating control.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ruleId",
            "in": "path",
            "description": "Identifier of the rule.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/mitigatingControls/entities/{ruleMitigationId}": {
      "post": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Saves rule mitigation entities for specified rule mitigation.",
        "operationId": "SaveRuleMitigationEntities",
        "parameters": [
          {
            "name": "ruleMitigationId",
            "in": "path",
            "description": "Identifier of the rule mitigation.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/xml": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json-patch+json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            }
          },
          "description": "Rule mitigation entities."
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Adds new rule mitigation entities for the specified rule mitigation.  It adds all or some of the entities depending on whether the entities  are already mapped to the rule mitigation.",
        "operationId": "AddRuleMitigationEntities",
        "parameters": [
          {
            "name": "ruleMitigationId",
            "in": "path",
            "description": "The unique identifier of the rule mitigation.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/xml": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/json-patch+json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "text/json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
                }
              }
            }
          },
          "description": "The new mitigation user entities."
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/mitigatingControls/accounts/{accountId}/rule/{ruleId}": {
      "get": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Gets a collection of available mitigating controls for a particular rule and account.",
        "operationId": "GetMitigatingControlsForRule",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "Parameter to search for data in the account.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ruleId",
            "in": "path",
            "description": "Id to search the mitigating controls for the rule",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/api/mitigatingControls/accounts/{accountId}/ruleToControlMapping": {
      "get": {
        "tags": [
          "MitigatingControls"
        ],
        "summary": "Gets mapping for rules and mitigating controls for specified account.",
        "operationId": "GetRulesToMitigatingControlsMapping",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "Identifier of the account.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "uniqueItems": false,
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/multiSystemMitigations/all/{customerId}": {
      "get": {
        "tags": [
          "MultiSystemMitigations"
        ],
        "summary": "Gets a collection of available mitigations.",
        "operationId": "GetMitigations",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Identifier of the customer.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "search",
            "in": "query",
            "description": "Optional parameter to search for one or more mitigations.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    },
    "/api/multiSystemMitigations/{mitigationId}/customer/{customerId}": {
      "get": {
        "tags": [
          "MultiSystemMitigations"
        ],
        "summary": "Gets a multisystem mitigation.  /// <param name=\"mitigationId\">Id of a multisystem Mitigation.</param>",
        "operationId": "GetMultiSystemMitigation",
        "parameters": [
          {
            "name": "mitigationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      },
      "delete": {
        "tags": [
          "MultiSystemMitigations"
        ],
        "summary": "Deletes specified rule mitigating.",
        "operationId": "DeleteMitigatingRule",
        "parameters": [
          {
            "name": "mitigationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "customerId",
            "in": "path",
            "description": "Identifier of the mitigation.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "MultiSystemMitigations"
        ],
        "summary": "Updates an existing mitigating control.",
        "operationId": "UpdateMitigation",
        "parameters": [
          {
            "name": "mitigationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/multiSystemMitigations/customer/{customerId}": {
      "post": {
        "tags": [
          "MultiSystemMitigations"
        ],
        "summary": "Adds a new MultiSystem Mitigation",
        "operationId": "AddMitigation",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/multiSystemMitigations/{customerId}/risks": {
      "get": {
        "tags": [
          "MultiSystemMitigations"
        ],
        "summary": "Gets risks for a rulebook.",
        "operationId": "GetRulebookRisks",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Identifier of the rulebook.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/MultiSystemRulebooks/all/{customerId}": {
      "get": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Gets a list of rulebooks for specified customer.",
        "operationId": "GetRulebooks",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Identifier of the customer.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/MultiSystemRulebooks/{id}": {
      "get": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Gets a rulebook.",
        "operationId": "GetRulebookModel",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identifier of the rulebook.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/MultiSystemRulebooks": {
      "put": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Updates a rulebook.",
        "operationId": "UpdateRulebook",
        "parameters": [
          {
            "name": "updatedBy",
            "in": "query",
            "description": "Name of the user who updates rulebook.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "description": "Identifier of the customer.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "post": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Creates a rulebook.",
        "operationId": "CreateRulebook",
        "parameters": [
          {
            "name": "createdBy",
            "in": "query",
            "description": "Name of the user who creates rulebook.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerId",
            "in": "query",
            "description": "Identifier of the customer.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/MultiSystemRulebooks/{rulebookId}": {
      "delete": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Responsible for deleting a rulebook.",
        "operationId": "DeleteRulebook",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "description": "Represents the identifier of the rulebook that will be soft deleted.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/MultiSystemRulebooks/changelog": {
      "post": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Runs job on the background to collect all logs related to specified job item of \"Rulebook Change Log\" type.",
        "operationId": "QueueChangeLog",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "text/json": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/MultiSystemRulebooks/component/systems/{rulebookId}": {
      "get": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Responsible for returning all rulebook systems, based on the supplied rulebookId.  This includes all systems from rulebook.",
        "operationId": "GetAllRulebookSystems",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "description": "Represents the unique rulebook identifier used to return data.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/MultiSystemRulebooks/component/systems/{rulebookId}/{erpSystemType}": {
      "get": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Responsible for returning all rulebook systems, based on the supplied rulebookId and erpSystemType.",
        "operationId": "GetRulebookSystems",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "description": "Represents the unique rulebook identifier used to return data.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "erpSystemType",
            "in": "path",
            "description": "Represents the supported erp system type.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "undefined",
                "sap",
                "successFactors",
                "ariba",
                "concur",
                "uConnect"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/MultiSystemRulebooks/component/risks/{rulebookId}": {
      "get": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Responsible for returning all risks, based on the supplied rulebookId.",
        "operationId": "GetRulebookRisks",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "description": "Represents the unique rulebook identifier used to return data.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/MultiSystemRulebooks/component/businessfunctions/{rulebookId}": {
      "get": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Responsible for returning all business functions, based on the supplied rulebookId.",
        "operationId": "GetRulebookBusinessFunctions",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "description": "Represents the unique rulebook identifier used to return data.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/MultiSystemRulebooks/component/permissions/{rulebookId}/{erpSystemType}": {
      "get": {
        "tags": [
          "MultiSystemRulebook"
        ],
        "summary": "Responsible for returning all rulebook permissions, based on the supplied rulebookId and erpSystemType.",
        "operationId": "GetRulebookPermissions",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "description": "Represents the unique rulebook identifier used to return data.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "erpSystemType",
            "in": "path",
            "description": "Represents the supported erp system type.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "undefined",
                "sap",
                "successFactors",
                "ariba",
                "concur",
                "uConnect"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/Portability/{customerId}/import": {
      "post": {
        "tags": [
          "Portability"
        ],
        "summary": "Importing rulebook file",
        "operationId": "ImportRulebook",
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "description": "Unique customer identifier",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "rulebook": {
                    "description": "Contains rulebook file with file info",
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/Portability/{rulebookId}/export": {
      "post": {
        "tags": [
          "Portability"
        ],
        "summary": "Exports specified rulebook by its identifier.",
        "operationId": "ExportRulebook",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "description": "Identifier of the rulebook.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/Portability/BlankMultiSystemRulebook.xlsx": {
      "get": {
        "tags": [
          "Portability"
        ],
        "summary": "Downloads blank multi-system rulebook file.",
        "operationId": "DownloadTemplateFile",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/rules": {
      "post": {
        "tags": [
          "Rule"
        ],
        "summary": "Creates new rule.",
        "operationId": "CreateRule",
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "Rule"
        ],
        "summary": "Updates the existing rule.",
        "operationId": "UpdateRule",
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rules/{ruleId}/{accountId}": {
      "delete": {
        "tags": [
          "Rule"
        ],
        "summary": "Removes specified rule.",
        "operationId": "Delete",
        "parameters": [
          {
            "name": "ruleId",
            "in": "path",
            "description": "Identifier of the rule.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "accountId",
            "in": "path",
            "description": "Identifier of related account. Will be used by service account only.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebooks": {
      "get": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Gets the rulebook list for current account.",
        "operationId": "GetRulebooks",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "post": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Creates new rulebook.",
        "operationId": "CreateRulebook",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            }
          },
          "description": "Rulebook to create."
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Updates rulebook.",
        "operationId": "UpdateRulebook",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
              }
            }
          },
          "description": "Rulebook to update."
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebooks/{rulebookId}": {
      "delete": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Deletes specified rulebook which should be related to user's selected account.",
        "operationId": "DeleteRulebook",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "description": "Identifier of the rulebook.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebooks/delete": {
      "delete": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Deletes specified rulebooks which should be related to user's selected account.",
        "operationId": "DeleteRulebooks",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/xml": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json-patch+json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "text/json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "uniqueItems": false,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "description": "List of rulebook identifiers.",
          "required": true
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebooks/{rulebookId}/rules/{ruleId}": {
      "post": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Adds rule to the rulebook.",
        "operationId": "AddRule",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "description": "Identifier of the rulebook.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ruleId",
            "in": "path",
            "description": "Identifier of the rule.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "delete": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Removes rule from the rulebook.",
        "operationId": "RemoveRule",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "description": "Identifier of the rulebook.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ruleId",
            "in": "path",
            "description": "Identifier of the rule.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebooks/{accountId}": {
      "get": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Gets the rulebook list for the specified account.",
        "operationId": "GetRulebooks",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 1,
              "maximum": 2147483647
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebooks/byrulebookids": {
      "post": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Gets the rulebook list for the specified rulebooks' ids.",
        "operationId": "GetRulebooks",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/xml": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json-patch+json": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "text/json": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebooks/provisioningCheck": {
      "get": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Gets a value indicating whether the selected account for the logged-in user  has at least one rulebook marked for provisioning.",
        "operationId": "LoggedInAccountHasRulebookForProvisioning",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "boolean"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/plain": {
                "schema": {
                  "type": "boolean"
                }
              },
              "text/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebook/importemfile/{accountId}": {
      "post": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Imports Access Risk Management Rulebook file.",
        "operationId": "ImportEmRulebookFile",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "Identifier of the account. Will be used by service account only.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "description": "A Rulebook file. Template could be downloaded by this endpoint: /api/rulebook/emimporttemplate",
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebook/importgrcfile/{accountId}": {
      "post": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Imports SAP GRC Rulebook file.",
        "operationId": "ImportGrcRulebookFile",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "Identifier of the account. Will be used by service account only.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "description": "A Rulebook file. Instructions for creation this file available by this endpoint: /api/rulebook/grcimportinstructions",
                    "type": "string",
                    "format": "binary"
                  },
                  "defaultLanguage": {
                    "type": "string"
                  },
                  "senRulebookName": {
                    "type": "string"
                  },
                  "sodRulebookName": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebook/emimporttemplate": {
      "get": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Returns EM Import rulebook template file",
        "operationId": "GetEmImportTemplate",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/rulebook/grcimportinstructions": {
      "get": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Returns GRC Import rulebook instructions file",
        "operationId": "GetGrcImportInstructions",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.FileResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/rulebook/export": {
      "post": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Creates and runs job for exporting specified rulebooks",
        "operationId": "ExportRulebooks",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/xml": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/json-patch+json": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "text/json": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "uniqueItems": true,
                "type": "array",
                "items": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "description": "IDs of rulebooks to export"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "text/json": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebook/changelog": {
      "post": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Runs job on the background to collect all logs related to specified job item of \"Rulebook Change Log\" type.",
        "operationId": "QueueChangeLog",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/json": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              },
              "text/json": {
                "schema": {
                  "format": "int32",
                  "type": "integer"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebook/riskmappings/{accountId}": {
      "get": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Returns list of existing Rulebook Risk Mappings",
        "operationId": "GetRiskMappings",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "Unique account id",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "uniqueItems": false,
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebook/riskmappings": {
      "post": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Updates risk mappings of account",
        "operationId": "UpdateRiskMappings",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel"
              }
            }
          },
          "description": "Contains AccountId and list of new risk mappings"
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebooks/createFromTemplate/{accountId}": {
      "post": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Creates rulebooks and related data for specified account from template.",
        "operationId": "CreateRulebooksFromTemplate",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "Identifier of the account.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebooks/all/{accountId}": {
      "delete": {
        "tags": [
          "Rulebook"
        ],
        "summary": "Removes all rulebooks and related data from specified account.",
        "operationId": "DeleteAllRulebookData",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "Identifier of the account.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebookdashboard/rulebooks/{rulebookId}/rules": {
      "get": {
        "tags": [
          "RulebookDasboard"
        ],
        "operationId": "GetRules",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/api/rulebookdashboard/rulebooks/{rulebookId}/rules/{ruleId}/businessfunctions": {
      "get": {
        "tags": [
          "RulebookDasboard"
        ],
        "operationId": "GetRulesBusinessFunctions",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ruleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/api/rulebookdashboard/rulebooks/{rulebookId}/rules/{ruleId}/businessfunctions/{businessFunctionId}/tcodes": {
      "get": {
        "tags": [
          "RulebookDasboard"
        ],
        "operationId": "GetBusinessFunctionTCodes",
        "parameters": [
          {
            "name": "rulebookId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ruleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "businessFunctionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/api/rulebookparameters": {
      "post": {
        "tags": [
          "RulebookParameter"
        ],
        "summary": "Creates new rulebook parameter.",
        "operationId": "CreateParameter",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            }
          },
          "description": "Parameter metadata."
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "RulebookParameter"
        ],
        "summary": "Updates existing rulebook parameter.",
        "operationId": "UpdateParameter",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/prs.odatatestxx-odata": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel"
              }
            }
          },
          "description": "Rulebook parameter."
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebookparameters/{parameterId}/{accountId}": {
      "delete": {
        "tags": [
          "RulebookParameter"
        ],
        "summary": "Deletes specified rulebook parameter.",
        "operationId": "DeleteParameter",
        "parameters": [
          {
            "name": "parameterId",
            "in": "path",
            "description": "Identifier of the parameter.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "accountId",
            "in": "path",
            "description": "Identifier of related account. Will be used by service account only.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebookParametersDetails": {
      "post": {
        "tags": [
          "RulebookParameterDetails"
        ],
        "summary": "Creates new detail for specified parameter.",
        "operationId": "CreateDetail",
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      },
      "patch": {
        "tags": [
          "RulebookParameterDetails"
        ],
        "summary": "Updates existing detail of specified parameter.",
        "operationId": "UpdateDetail",
        "requestBody": {
          "$ref": "#/components/requestBodies/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "409": {
            "description": "Conflict"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    },
    "/api/rulebookParametersDetails/{detailId}": {
      "delete": {
        "tags": [
          "RulebookParameterDetails"
        ],
        "summary": "Deletes specified detail.",
        "operationId": "DeleteDetail",
        "parameters": [
          {
            "name": "detailId",
            "in": "path",
            "description": "Identifier of parameter detail.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/xml": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "application/prs.odatatestxx-odata": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/plain": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "format": "uuid",
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "500": {
            "description": "Server Error"
          }
        }
      }
    }
  },
  "components": {
    "requestBodies": {
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel": {
        "content": {
          "application/json;odata.metadata=minimal;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json;odata.metadata=minimal;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json;odata.metadata=minimal": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json;odata.metadata=full": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json;odata.metadata=none": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/prs.odatatestxx-odata": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/json-patch+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "text/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          },
          "application/*+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel"
            }
          }
        },
        "description": "Function metadata."
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails": {
        "content": {
          "application/json;odata.metadata=minimal;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json;odata.metadata=minimal;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json;odata.metadata=minimal": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json;odata.metadata=full": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json;odata.metadata=none": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/prs.odatatestxx-odata": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/json-patch+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "text/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          },
          "application/*+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails"
            }
          }
        },
        "required": true
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook": {
        "content": {
          "application/json;odata.metadata=minimal;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json;odata.metadata=minimal;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json;odata.metadata=minimal": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json;odata.metadata=full": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json;odata.metadata=none": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/prs.odatatestxx-odata": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/json-patch+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "text/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          },
          "application/*+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook"
            }
          }
        },
        "description": "Rulebook model."
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel": {
        "content": {
          "application/json;odata.metadata=minimal;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json;odata.metadata=minimal;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json;odata.metadata=minimal": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json;odata.metadata=full": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json;odata.metadata=none": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/prs.odatatestxx-odata": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/json-patch+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "text/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          },
          "application/*+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel"
            }
          }
        },
        "description": "Detail model"
      },
      "ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel": {
        "content": {
          "application/json;odata.metadata=minimal;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json;odata.metadata=minimal;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json;odata.metadata=minimal": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json;odata.metadata=full": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json;odata.metadata=none": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/prs.odatatestxx-odata": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/json-patch+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "text/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          },
          "application/*+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel"
            }
          }
        },
        "required": true
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel": {
        "content": {
          "application/json;odata.metadata=minimal;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json;odata.metadata=minimal;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json;odata.metadata=minimal": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json;odata.metadata=full;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json;odata.metadata=full": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json;odata.metadata=none;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json;odata.metadata=none": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json;odata.streaming=true": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json;odata.streaming=false": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/prs.odatatestxx-odata": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/json-patch+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "text/json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          },
          "application/*+json": {
            "schema": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel"
            }
          }
        },
        "description": "Rule metadata."
      }
    },
    "schemas": {
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionModel": {
        "description": "Represents a model for business function.",
        "required": [
          "code",
          "name",
          "description",
          "businessProcessId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "description": "Identifier of the function.",
            "type": "string"
          },
          "code": {
            "description": "Code of the function.",
            "type": "string"
          },
          "name": {
            "description": "Name of the function.",
            "type": "string"
          },
          "description": {
            "description": "Description of the function.",
            "type": "string"
          },
          "businessProcessId": {
            "format": "uuid",
            "description": "Identifier of related business process.",
            "type": "string"
          },
          "tCodeOperator": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.LogicOperator"
          },
          "objectOperator": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.LogicOperator"
          },
          "permissions": {
            "description": "List of permissions.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionPermissionModel"
            }
          },
          "accountId": {
            "format": "int32",
            "description": "Identifier of related account. It will be used by service account only.",
            "type": "integer"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Enumerations.LogicOperator": {
        "enum": [
          "undefined",
          "and",
          "or"
        ],
        "type": "string"
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.BusinessFunctionPermissionModel": {
        "description": "Model for permission of business function.",
        "type": "object",
        "properties": {
          "name": {
            "description": "Name of the permission.",
            "type": "string"
          },
          "objects": {
            "description": "List of objects.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.AuthorizationObjectModel"
            }
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.AuthorizationObjectModel": {
        "description": "Represents a model for authorization object.",
        "type": "object",
        "properties": {
          "name": {
            "description": "Name of the object.",
            "type": "string"
          },
          "fields": {
            "description": "List of fields.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.AuthorizationFieldModel"
            }
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.AuthorizationFieldModel": {
        "description": "Represents a model for authorization field.",
        "type": "object",
        "properties": {
          "name": {
            "description": "Name of the field.",
            "type": "string"
          },
          "valueFrom": {
            "description": "Beginning of values range.",
            "type": "string"
          },
          "valueTo": {
            "description": "End of values range.",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlListItemModel": {
        "description": "Represents a mitigating control list item model.",
        "required": [
          "id",
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "description": "The unique identifier for the mitigating control.",
            "type": "string"
          },
          "mitigatingControlCode": {
            "description": "The mitigating control code.",
            "type": "string"
          },
          "name": {
            "description": "The name of the mitigating control.",
            "type": "string"
          },
          "description": {
            "description": "The description of the mitigating control.",
            "type": "string"
          },
          "type": {
            "description": "Represents the mitigating control type.",
            "type": "string"
          },
          "ownerUsername": {
            "description": "Represents the username of the owner.",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingControlDetailsModel": {
        "description": "Represents a mitigating control details model.",
        "required": [
          "accountId",
          "ownerUsername",
          "type",
          "code",
          "objective",
          "frequency",
          "id",
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "accountId": {
            "format": "int32",
            "description": "The id of the account to which the mitigating control belongs.",
            "type": "integer"
          },
          "ownerUsername": {
            "description": "The user who owns the mitigating control.",
            "type": "string"
          },
          "type": {
            "description": "The mitigating control type.",
            "type": "string"
          },
          "code": {
            "description": "The mitigating control code.",
            "type": "string"
          },
          "objective": {
            "description": "The mitigating control objective.",
            "type": "string"
          },
          "frequency": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.MitigatingControlFrequency"
          },
          "requiresTesting": {
            "description": "A value indicating whether the mitigating control requires testing.",
            "type": "boolean"
          },
          "createdBy": {
            "description": "The user who created the mitigating control.",
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "description": "The date the mitigating control was created.",
            "type": "string"
          },
          "updatedBy": {
            "description": "The user who updated the mitigating control.",
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "description": "The date the mitigating control was updated.",
            "type": "string"
          },
          "rules": {
            "description": "A collection of mitigating control rules.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel"
            }
          },
          "id": {
            "format": "uuid",
            "description": "The unique identifier for the mitigating control.",
            "type": "string"
          },
          "mitigatingControlCode": {
            "description": "The mitigating control code.",
            "type": "string"
          },
          "name": {
            "description": "The name of the mitigating control.",
            "type": "string"
          },
          "description": {
            "description": "The description of the mitigating control.",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Enumerations.MitigatingControlFrequency": {
        "enum": [
          "daily",
          "weekly",
          "monthly",
          "quarterly",
          "biAnnual",
          "annual",
          "adHoc"
        ],
        "type": "string"
      },
      "ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleModel": {
        "description": "Represents the mitigating control rule model.",
        "required": [
          "reason"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "description": "The id of the mitigating rule record.",
            "type": "string"
          },
          "ruleId": {
            "format": "uuid",
            "description": "The id of the rule associated with the mitigation control rule.",
            "type": "string"
          },
          "ruleName": {
            "description": "The name of the rule associated with the mitigation control rule.",
            "type": "string"
          },
          "ruleCode": {
            "description": "The code of the rule associated with the mitigation control rule.",
            "type": "string"
          },
          "reason": {
            "description": "The reason for creating this rule.",
            "type": "string"
          },
          "users": {
            "description": "A collection of users mapped to the rule.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel"
            }
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MitigatingControls.MitigatingRuleUserModel": {
        "description": "Represents the mitigating control rule user model.",
        "required": [
          "username",
          "reason"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "description": "The id of the mitigating rule user record.",
            "type": "string"
          },
          "username": {
            "description": "The id of the user mapped to the rule.",
            "type": "string"
          },
          "reason": {
            "description": "The reason for mapping the user.",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationItem": {
        "description": "MultiSystem Mitigation DTO",
        "type": "object",
        "properties": {
          "id": {
            "format": "int64",
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.MitigationDetails": {
        "description": "MultiSystem Mitigation DTO",
        "type": "object",
        "properties": {
          "id": {
            "format": "int64",
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "ruleBookId": {
            "format": "int32",
            "type": "integer"
          },
          "risks": {
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem"
            }
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskItem": {
        "description": "MultiSystem Risk DTO",
        "type": "object",
        "properties": {
          "id": {
            "format": "int64",
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "businessProcess": {
            "type": "string"
          },
          "rating": {
            "$ref": "#/components/schemas/ErpMaestro.Services.RulebookAbstractions.Commons.Enums.Rating"
          },
          "type": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskType"
          },
          "filterType": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.FilterType"
          },
          "filterValue": {
            "type": "string"
          }
        }
      },
      "ErpMaestro.Services.RulebookAbstractions.Commons.Enums.Rating": {
        "enum": [
          "undefined",
          "informational",
          "low",
          "medium",
          "high",
          "critical"
        ],
        "type": "string"
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskType": {
        "enum": [
          "undefined",
          "segregationOfDuties",
          "sensitiveAccess",
          "leastPrivilege"
        ],
        "type": "string"
      },
      "ErpMaestro.RulebookServices.Common.Enumerations.FilterType": {
        "enum": [
          "undefined",
          "user",
          "role",
          "group"
        ],
        "type": "string"
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.Rulebook": {
        "description": "Represents a model for multi-system rulebook and related data.",
        "type": "object",
        "properties": {
          "dbId": {
            "format": "int32",
            "description": "Identifier of the rulebook.",
            "type": "integer"
          },
          "name": {
            "description": "Name of the rulebook.",
            "type": "string"
          },
          "customerId": {
            "format": "uuid",
            "description": "Identifier of the customer.",
            "type": "string"
          },
          "createdBy": {
            "description": "Name of the user, who created rulebook.",
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "description": "Date, when rulebook was created.",
            "type": "string"
          },
          "updatedBy": {
            "description": "Name of the user, who updated rulebook.",
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "description": "Date, when rulebook was updated last time.",
            "type": "string"
          },
          "risks": {
            "description": "Related risks.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Risk"
            }
          },
          "businessFunctions": {
            "description": "Related business functions.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.BusinessFunction"
            }
          },
          "mitigations": {
            "description": "Related mitigations.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Mitigation"
            }
          },
          "systems": {
            "description": "Related systems.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.System"
            }
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.Risk": {
        "type": "object",
        "properties": {
          "dbId": {
            "format": "int64",
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "businessProcess": {
            "type": "string"
          },
          "rating": {
            "$ref": "#/components/schemas/ErpMaestro.Services.RulebookAbstractions.Commons.Enums.Rating"
          },
          "type": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskType"
          },
          "enabled": {
            "type": "boolean"
          },
          "businessFunctions": {
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.BusinessFunction"
            }
          },
          "mitigations": {
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskMitigation"
            }
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.BusinessFunction": {
        "type": "object",
        "properties": {
          "dbId": {
            "format": "int64",
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "businessProcess": {
            "type": "string"
          },
          "permissionLogic": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.LogicOperator"
          },
          "accessLogic": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.LogicOperator"
          },
          "risks": {
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Risk"
            }
          },
          "systems": {
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.System"
            }
          },
          "permissions": {
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Permission"
            }
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.Mitigation": {
        "type": "object",
        "properties": {
          "dbId": {
            "format": "int64",
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "risks": {
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskMitigation"
            }
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.System": {
        "type": "object",
        "properties": {
          "dbId": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ErpMaestro.Services.Common.Models.Enums.ErpSystemType"
          },
          "description": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "businessFunctions": {
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.BusinessFunction"
            }
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.RiskMitigation": {
        "type": "object",
        "properties": {
          "risk": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Risk"
          },
          "mitigation": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.Mitigation"
          },
          "type": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.FilterType"
          },
          "value": {
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.MultiSystem.Permission": {
        "type": "object",
        "properties": {
          "dbId": {
            "format": "int64",
            "type": "integer"
          },
          "externalReference": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "businessFunction": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.MultiSystem.BusinessFunction"
          },
          "system": {
            "$ref": "#/components/schemas/ErpMaestro.Services.Common.Models.Enums.ErpSystemType"
          },
          "access": {
            "type": "string"
          }
        }
      },
      "ErpMaestro.Services.Common.Models.Enums.ErpSystemType": {
        "enum": [
          "undefined",
          "sap",
          "successFactors",
          "ariba",
          "concur",
          "uConnect"
        ],
        "type": "string"
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.MultiSystemChangeLogRequest": {
        "required": [
          "rulebookIds"
        ],
        "type": "object",
        "properties": {
          "customerId": {
            "format": "uuid",
            "description": "Customer ID.",
            "type": "string"
          },
          "rulebookIds": {
            "description": "IDs of all rulebooks that should be reported.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "format": "int32",
              "type": "integer"
            }
          },
          "fromDate": {
            "format": "date-time",
            "description": "Start date of the reporting period.",
            "type": "string"
          },
          "toDate": {
            "format": "date-time",
            "description": "End date of the reporting period.",
            "type": "string"
          }
        }
      },
      "Microsoft.AspNetCore.Mvc.FileResult": {
        "type": "object",
        "properties": {
          "contentType": {
            "type": "string",
            "readOnly": true
          },
          "fileDownloadName": {
            "type": "string"
          },
          "lastModified": {
            "format": "date-time",
            "type": "string"
          },
          "entityTag": {
            "$ref": "#/components/schemas/Microsoft.Net.Http.Headers.EntityTagHeaderValue"
          },
          "enableRangeProcessing": {
            "type": "boolean"
          }
        }
      },
      "Microsoft.Net.Http.Headers.EntityTagHeaderValue": {
        "type": "object",
        "properties": {
          "tag": {
            "$ref": "#/components/schemas/Microsoft.Extensions.Primitives.StringSegment"
          },
          "isWeak": {
            "type": "boolean",
            "readOnly": true
          }
        }
      },
      "Microsoft.Extensions.Primitives.StringSegment": {
        "type": "object",
        "properties": {
          "buffer": {
            "type": "string",
            "readOnly": true
          },
          "offset": {
            "format": "int32",
            "type": "integer",
            "readOnly": true
          },
          "length": {
            "format": "int32",
            "type": "integer",
            "readOnly": true
          },
          "value": {
            "type": "string",
            "readOnly": true
          },
          "hasValue": {
            "type": "boolean",
            "readOnly": true
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.RuleModel": {
        "description": "Represents a rule model.",
        "required": [
          "code",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "description": "Identifier of the rule.",
            "type": "string"
          },
          "code": {
            "description": "Code of the rule.",
            "type": "string"
          },
          "name": {
            "description": "Name of the rule.",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.RuleTypeLookup"
          },
          "riskDescription": {
            "description": "Description of the rule.",
            "type": "string"
          },
          "riskNotes": {
            "description": "Notes for related risk.",
            "type": "string"
          },
          "riskRatingId": {
            "format": "int32",
            "description": "Identifier of risk rating.",
            "type": "integer"
          },
          "businessProcessId": {
            "format": "uuid",
            "description": "Identifier of related business process.",
            "type": "string"
          },
          "businessAreaId": {
            "format": "uuid",
            "description": "Identifier of related business area.",
            "type": "string"
          },
          "rulebooks": {
            "description": "Selected rulebooks for the rule.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "format": "uuid",
              "type": "string"
            }
          },
          "businessFunctions": {
            "description": "Selected business functions for the rulebook.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "format": "uuid",
              "type": "string"
            }
          },
          "riskOwners": {
            "description": "Owners of related risk.",
            "maxLength": 4,
            "uniqueItems": false,
            "type": "array",
            "items": {
              "format": "uuid",
              "type": "string"
            }
          },
          "riskApprovers": {
            "description": "Approvers of related risk.",
            "maxLength": 4,
            "uniqueItems": false,
            "type": "array",
            "items": {
              "format": "uuid",
              "type": "string"
            }
          },
          "accountId": {
            "format": "int32",
            "description": "Identifier of related account. It will be used by service account only.",
            "type": "integer"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Enumerations.RuleTypeLookup": {
        "enum": [
          "sEN",
          "sOD"
        ],
        "type": "string"
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookListItemModel": {
        "description": "Represents a rulebook list item model.",
        "required": [
          "code",
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "description": "The unique identifier of the rulebook.",
            "type": "string"
          },
          "code": {
            "description": "The rulebook code.",
            "type": "string"
          },
          "name": {
            "description": "The rulebook name.",
            "type": "string"
          },
          "description": {
            "description": "Description of the rulebook.",
            "type": "string"
          },
          "usedForAutomatedProvisioning": {
            "description": "A value indicating whether the rulebook is used for automated provisioning.",
            "type": "boolean"
          },
          "enabled": {
            "description": "A value indicating whether the rulebook enabled.",
            "type": "boolean"
          },
          "updatedDate": {
            "format": "date-time",
            "description": "A value indicating the date and time the rulebook was last updated.",
            "type": "string"
          },
          "accountId": {
            "format": "int32",
            "description": "Identifier of related account. It will be used by service account only.",
            "type": "integer"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.ChangeLogRequest": {
        "required": [
          "rulebookIds"
        ],
        "type": "object",
        "properties": {
          "accountId": {
            "format": "int32",
            "description": "Account ID.",
            "type": "integer"
          },
          "rulebookIds": {
            "description": "IDs of all rulebooks that should be reported.",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "format": "uuid",
              "type": "string"
            }
          },
          "fromDate": {
            "format": "date-time",
            "description": "Start date of the reporting period.",
            "type": "string"
          },
          "toDate": {
            "format": "date-time",
            "description": "End date of the reporting period.",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping": {
        "type": "object",
        "properties": {
          "rulebookImportRiskMappingId": {
            "format": "int32",
            "type": "integer"
          },
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "fromRiskId": {
            "format": "int32",
            "type": "integer"
          },
          "toRiskId": {
            "format": "int32",
            "type": "integer"
          },
          "riskRating": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RiskRating"
          },
          "account": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Account"
          },
          "id": {
            "format": "int32",
            "type": "integer",
            "readOnly": true
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.RiskRating": {
        "type": "object",
        "properties": {
          "riskRatingId": {
            "format": "int32",
            "type": "integer"
          },
          "riskRatingText": {
            "type": "string"
          },
          "rulebookImportRiskMappings": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookImportRiskMapping"
            }
          },
          "rules": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
            }
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.Account": {
        "type": "object",
        "properties": {
          "id": {
            "format": "int32",
            "type": "integer",
            "readOnly": true
          },
          "accountID": {
            "format": "int32",
            "type": "integer"
          },
          "businessName": {
            "type": "string"
          },
          "accountType": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "trialEndDate": {
            "format": "date-time",
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "licensedNumberOfUsers": {
            "format": "int32",
            "type": "integer"
          },
          "licensedUserCountExceededThreshold": {
            "format": "int32",
            "type": "integer"
          },
          "isOnPrem": {
            "type": "boolean"
          },
          "dataServerHostName": {
            "type": "string"
          },
          "parentAccountId": {
            "format": "int32",
            "type": "integer"
          },
          "canHaveChildAccounts": {
            "type": "boolean"
          },
          "jobRequestsQueueSettings": {
            "type": "string"
          },
          "disableFileDeletion": {
            "type": "boolean"
          },
          "nameFormat": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.NameFormat"
          },
          "isDisabled": {
            "type": "boolean"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.Rule": {
        "type": "object",
        "properties": {
          "ruleCode": {
            "type": "string"
          },
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "ruleName": {
            "type": "string"
          },
          "ruleTypeCode": {
            "type": "string"
          },
          "riskRatingId": {
            "format": "int32",
            "type": "integer"
          },
          "riskDescription": {
            "type": "string"
          },
          "riskNotes": {
            "type": "string"
          },
          "ruleId": {
            "format": "uuid",
            "type": "string"
          },
          "businessProcessId": {
            "format": "uuid",
            "type": "string"
          },
          "businessAreaId": {
            "format": "uuid",
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "rowVersion": {
            "format": "byte",
            "type": "string"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "businessArea": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.BusinessArea"
          },
          "businessProcess": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.BusinessProcess"
          },
          "riskRating": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RiskRating"
          },
          "ruleType": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RuleType"
          },
          "keywords": {
            "type": "string"
          },
          "ruleBusinessFunctions": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RuleBusinessFunctions"
            }
          },
          "rulebookRules": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookRules"
            }
          },
          "ruleMitigations": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RuleMitigation"
            }
          },
          "ruleApprovals": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RuleApproval"
            }
          },
          "riskOwners": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RiskOwner"
            }
          },
          "riskApprovers": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RiskApprover"
            }
          },
          "securityAnalysisStatistics": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.SecurityAnalysisStatistic"
            }
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "readOnly": true
          },
          "deletedDate": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Enumerations.NameFormat": {
        "enum": [
          "fullName",
          "userId",
          "firstName_LastName",
          "lastName_FirstName"
        ],
        "type": "string"
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.BusinessArea": {
        "type": "object",
        "properties": {
          "businessAreaCode": {
            "type": "string"
          },
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "areaName": {
            "type": "string"
          },
          "areaDescription": {
            "type": "string"
          },
          "businessAreaId": {
            "format": "uuid",
            "type": "string"
          },
          "rules": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
            }
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "readOnly": true
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "deletedDate": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.BusinessProcess": {
        "type": "object",
        "properties": {
          "businessProcessCode": {
            "type": "string"
          },
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "businessProcessName": {
            "type": "string"
          },
          "businessProcessDescription": {
            "type": "string"
          },
          "businessProcessId": {
            "format": "uuid",
            "type": "string"
          },
          "businessFunctions": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.BusinessFunction"
            }
          },
          "rules": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
            }
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "readOnly": true
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "deletedDate": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.RuleType": {
        "type": "object",
        "properties": {
          "ruleTypeCode": {
            "type": "string"
          },
          "ruleTypeName": {
            "type": "string"
          },
          "ruleTypeDescription": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "rowVersion": {
            "format": "byte",
            "type": "string"
          },
          "rules": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
            }
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.RuleBusinessFunctions": {
        "type": "object",
        "properties": {
          "ruleId": {
            "format": "uuid",
            "type": "string"
          },
          "businessFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "rule": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
          },
          "businessFunction": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.BusinessFunction"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.RulebookRules": {
        "type": "object",
        "properties": {
          "rulebookId": {
            "format": "uuid",
            "type": "string"
          },
          "ruleId": {
            "format": "uuid",
            "type": "string"
          },
          "rulebook": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rulebook"
          },
          "rule": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.RuleMitigation": {
        "type": "object",
        "properties": {
          "ruleMitigationId": {
            "format": "uuid",
            "type": "string"
          },
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "ownerUser": {
            "type": "string"
          },
          "mitigatingControlId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "ruleId": {
            "format": "uuid",
            "type": "string"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "mitigatingControl": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.MitigatingControl"
          },
          "ruleMitigationEntities": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RuleMitigationEntity"
            }
          },
          "rule": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "readOnly": true
          },
          "deletedDate": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.RuleApproval": {
        "type": "object",
        "properties": {
          "ruleApprovalId": {
            "format": "uuid",
            "type": "string"
          },
          "secureProvisioningRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "ruleId": {
            "format": "uuid",
            "type": "string"
          },
          "reasonForRejection": {
            "type": "string"
          },
          "actionUserId": {
            "format": "uuid",
            "type": "string"
          },
          "approvalState": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Constants.ApprovalState"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "notificationSentDate": {
            "format": "date-time",
            "type": "string"
          },
          "completionDate": {
            "format": "date-time",
            "type": "string"
          },
          "ruleCode": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.User"
          },
          "rule": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "readOnly": true
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.RiskOwner": {
        "type": "object",
        "properties": {
          "riskOwnerId": {
            "format": "int32",
            "type": "integer"
          },
          "ruleId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "rowVersion": {
            "format": "byte",
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.User"
          },
          "rule": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
          },
          "id": {
            "format": "int32",
            "type": "integer",
            "readOnly": true
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.RiskApprover": {
        "type": "object",
        "properties": {
          "riskApproverId": {
            "format": "int32",
            "type": "integer"
          },
          "ruleId": {
            "format": "uuid",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "rowVersion": {
            "format": "byte",
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.User"
          },
          "rule": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
          },
          "id": {
            "format": "int32",
            "type": "integer",
            "readOnly": true
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.SecurityAnalysisStatistic": {
        "type": "object",
        "properties": {
          "conflictHitCount": {
            "format": "int32",
            "type": "integer"
          },
          "securityAnalysisStatisticId": {
            "format": "int32",
            "type": "integer"
          },
          "ruleBookId": {
            "format": "uuid",
            "type": "string"
          },
          "ruleId": {
            "format": "uuid",
            "type": "string"
          },
          "jobId": {
            "format": "int32",
            "type": "integer"
          },
          "ruleBook": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rulebook"
          },
          "rule": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Rule"
          },
          "jobRequest": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.JobRequest"
          },
          "id": {
            "format": "int32",
            "type": "integer",
            "readOnly": true
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.BusinessFunction": {
        "type": "object",
        "properties": {
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "businessFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "businessFunctionCode": {
            "type": "string"
          },
          "businessFunctionName": {
            "type": "string"
          },
          "businessFunctionDescription": {
            "type": "string"
          },
          "authorizationObjectLogic": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.LogicOperator"
          },
          "transactionCodeLogic": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Enumerations.LogicOperator"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "rowVersion": {
            "format": "byte",
            "type": "string"
          },
          "businessProcessId": {
            "format": "uuid",
            "type": "string"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "businessProcess": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.BusinessProcess"
          },
          "ruleBusinessFunctions": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RuleBusinessFunctions"
            }
          },
          "businessFunctionPermissions": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.BusinessFunctionPermission"
            }
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "readOnly": true
          },
          "deletedDate": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.Rulebook": {
        "type": "object",
        "properties": {
          "ruleBookCode": {
            "type": "string"
          },
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "ruleBookDescr": {
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "usedForSecureProvisioning": {
            "type": "boolean"
          },
          "ruleBookId": {
            "format": "uuid",
            "type": "string"
          },
          "ruleBookName": {
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "rowVersion": {
            "format": "byte",
            "type": "string"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "rulebookRules": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RulebookRules"
            }
          },
          "securityAnalysisStatistics": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.SecurityAnalysisStatistic"
            }
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "readOnly": true
          },
          "deletedDate": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.MitigatingControl": {
        "type": "object",
        "properties": {
          "mitigatingControlId": {
            "format": "uuid",
            "type": "string"
          },
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "ownerUser": {
            "type": "string"
          },
          "mitigatingControlCode": {
            "type": "string"
          },
          "mitigatingControlName": {
            "type": "string"
          },
          "mitigatingControlType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "objective": {
            "type": "string"
          },
          "frequency": {
            "type": "string"
          },
          "requiresTesting": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "ruleMitigations": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RuleMitigation"
            }
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "readOnly": true
          },
          "deletedDate": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.RuleMitigationEntity": {
        "type": "object",
        "properties": {
          "ruleMitigationEntityId": {
            "format": "uuid",
            "type": "string"
          },
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "ruleMitigationId": {
            "format": "uuid",
            "type": "string"
          },
          "sapEntityId": {
            "type": "string"
          },
          "sapEntityType": {
            "type": "string"
          },
          "mitigationReason": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "ruleMitigation": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.RuleMitigation"
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "readOnly": true
          },
          "deletedDate": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Constants.ApprovalState": {
        "enum": [
          "undefined",
          "waitingOnApprover",
          "approved",
          "rejected"
        ],
        "type": "string"
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.User": {
        "type": "object",
        "properties": {
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "userName": {
            "type": "string"
          },
          "accountUsers": {
            "uniqueItems": true,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.AccountUser"
            }
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.JobRequest": {
        "type": "object",
        "properties": {
          "id": {
            "format": "int32",
            "type": "integer",
            "readOnly": true
          },
          "jobId": {
            "format": "int32",
            "type": "integer"
          },
          "jobTypeName": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "completedDate": {
            "format": "date-time",
            "type": "string"
          },
          "jobServerId": {
            "format": "int32",
            "type": "integer"
          },
          "jobResultText": {
            "type": "string"
          },
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "createdBy": {
            "type": "string"
          },
          "jobParameters": {
            "type": "string"
          },
          "jobName": {
            "type": "string"
          },
          "jobStatus": {
            "type": "string"
          },
          "jobTypeCode": {
            "type": "string"
          },
          "sapSystemId": {
            "format": "int32",
            "type": "integer"
          },
          "recurrenceId": {
            "format": "uuid",
            "type": "string"
          },
          "executionTimeInSeconds": {
            "format": "int32",
            "type": "integer"
          },
          "account": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.Account"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.BusinessFunctionPermission": {
        "type": "object",
        "properties": {
          "businessFunctionPermissionId": {
            "format": "uuid",
            "type": "string"
          },
          "businessFunctionId": {
            "format": "uuid",
            "type": "string"
          },
          "transactionCode": {
            "type": "string"
          },
          "authorizationObject": {
            "type": "string"
          },
          "authorizationField": {
            "type": "string"
          },
          "valueFrom": {
            "type": "string"
          },
          "valueTo": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "createdDate": {
            "format": "date-time",
            "type": "string"
          },
          "updatedBy": {
            "type": "string"
          },
          "updatedDate": {
            "format": "date-time",
            "type": "string"
          },
          "rowVersion": {
            "format": "byte",
            "type": "string"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "businessFunction": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.BusinessFunction"
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "readOnly": true
          },
          "deletedDate": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.DataAccess.Entities.AccountUser": {
        "type": "object",
        "properties": {
          "accountId": {
            "format": "int32",
            "type": "integer"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/ErpMaestro.RulebookServices.DataAccess.Entities.User"
          },
          "createdUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          },
          "lastModifiedBy": {
            "type": "string"
          },
          "lastModifiedUtcTimestamp": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.UpdateRiskMappingsModel": {
        "description": "Model is used in UpdateRiskMapping endpoint",
        "type": "object",
        "properties": {
          "accountId": {
            "format": "int32",
            "description": "Unique account identifier",
            "type": "integer"
          },
          "riskMappings": {
            "description": "List of actual rulebook risk mappings",
            "uniqueItems": false,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookImportRiskMappingModel"
            }
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookImportRiskMappingModel": {
        "description": "Represents model of !:Domain.RulebookImportRiskMapping",
        "type": "object",
        "properties": {
          "id": {
            "format": "int32",
            "description": "Unique identifier of RulebookImportRiskMapping",
            "type": "integer"
          },
          "accountId": {
            "format": "int32",
            "description": "Unique Account identifier",
            "type": "integer"
          },
          "fromRiskId": {
            "format": "int32",
            "description": "Unique identifier of Risk from which performs mapping",
            "type": "integer"
          },
          "toRiskId": {
            "format": "int32",
            "description": "Unique identifier of Risk to which performs mapping",
            "type": "integer"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterModel": {
        "description": "Represents model for rulebook parameter.",
        "required": [
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "description": "Identifier of the parameter.",
            "type": "string"
          },
          "name": {
            "description": "Name of the parameter.",
            "type": "string"
          },
          "description": {
            "description": "Description of the parameter.",
            "type": "string"
          },
          "accountId": {
            "format": "int32",
            "description": "Identifier of related account. It will be used by service account only.",
            "type": "integer"
          }
        }
      },
      "ErpMaestro.RulebookServices.Common.Models.Rulebooks.RulebookParameterDetailModel": {
        "description": "Represents model for rulebook parameter detail.",
        "required": [
          "value"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "description": "Identifier of parameter detail.",
            "type": "string"
          },
          "value": {
            "description": "Value of the parameter.",
            "type": "string"
          },
          "parameterId": {
            "format": "uuid",
            "description": "Identifier of related parameter.",
            "type": "string"
          }
        }
      }
    }
  }
}