{ "$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-s3-bucket-criteria-for-job-schema.json", "title": "S3BucketCriteriaForJob", "description": "Specifies property- and tag-based conditions that define criteria for including or excluding S3 buckets from a classification job. Exclude conditions take precedence over include conditions.", "type": "object", "properties": { "excludes": { "allOf": [ { "$ref": "#/components/schemas/CriteriaBlockForJob" }, { "description": "The property- and tag-based conditions that determine which buckets to exclude from the job." } ] }, "includes": { "allOf": [ { "$ref": "#/components/schemas/CriteriaBlockForJob" }, { "description": "The property- and tag-based conditions that determine which buckets to include in the job." } ] } } }