{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-incident-manager/refs/heads/main/json-schema/incident-manager-condition-schema.json", "title": "Condition", "description": "A conditional statement with which to compare a value, after a timestamp, before a timestamp, or equal to a string or integer. If multiple conditions are specified, the conditionals become an ANDed statement. If multiple values are specified for a conditional, the values are ORd.", "type": "object", "properties": { "after": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": "After the specified timestamp." } ] }, "before": { "allOf": [ { "$ref": "#/components/schemas/Timestamp" }, { "description": "Before the specified timestamp" } ] }, "equals": { "allOf": [ { "$ref": "#/components/schemas/AttributeValueList" }, { "description": "The value is equal to the provided string or integer. " } ] } } }