{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/mend/main/json-schema/mend-dwrresponse-warning-in-house-rule-dto-schema.json", "title": "Initiates the update process for an individual In-House library rule", "description": "ddsc", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/mend-settings-in-house-api-openapi.yml#/components/schemas/DWRResponseWarningInHouseRuleDTO", "type": "object", "properties": { "additionalData": { "title": "Provides warning messages for notifying about conditions related to the ", "type": "object", "description": "+ **warningMessage**: Serves as an alert to inform you about the status of the rule being updated.\nThe warning message will provide information about whether the rule already exists or if some of the rules are already present" }, "supportToken": { "title": "Support Token", "type": "string" }, "retVal": { "$ref": "#/$defs/InHouseRuleDTO" } }, "$defs": { "InHouseRuleDTO": { "required": [ "type" ], "type": "object", "properties": { "uuid": { "type": "string" }, "type": { "title": "InHouse Rule Regex Type", "type": "string", "enum": [ "NAME", "LIBRARY_COORDINATES", "ARTIFACT_ID" ] }, "regex": { "title": "InHouse Regex Rule", "type": "string" }, "description": { "title": "InHouse Rule Description", "type": "string" }, "createdAt": { "type": "string", "format": "date-time" }, "createdBy": { "title": "Created By", "type": "string", "description": "Jon.Snow" }, "empty": { "type": "boolean" } } } } }