{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-macie/refs/heads/main/json-schema/amazon-macie-severity-level-schema.json", "title": "SeverityLevel", "description": "Specifies a severity level for findings that a custom data identifier produces. A severity level determines which severity is assigned to the findings, based on the number of occurrences of text that matches the custom data identifier's detection criteria.", "type": "object", "properties": { "occurrencesThreshold": { "allOf": [ { "$ref": "#/components/schemas/__long" }, { "description": "The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity)." } ] }, "severity": { "allOf": [ { "$ref": "#/components/schemas/DataIdentifierSeverity" }, { "description": "The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH." } ] } }, "required": [ "occurrencesThreshold", "severity" ] }