{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-s3/json-schema/amazon-s3-list-bucket-analytics-configurations-output-schema.json",
  "title": "ListBucketAnalyticsConfigurationsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-s3-analytics-api-openapi.yml#/components/schemas/ListBucketAnalyticsConfigurationsOutput",
  "type": "object",
  "properties": {
    "IsTruncated": {
      "type": "boolean",
      "description": "Indicates whether the returned list of analytics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request."
    },
    "ContinuationToken": {
      "type": "string",
      "description": "The marker that is used as a starting point for this analytics configuration list response. This value is present if it was sent in the request."
    },
    "NextContinuationToken": {
      "type": "string",
      "description": "NextContinuationToken is sent when isTruncated is true, which indicates that there are more analytics configurations to list. The next request must include this NextContinuationToken. The token is obfuscated and is not a usable value."
    },
    "AnalyticsConfigurationList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AnalyticsConfiguration"
      },
      "description": "The list of analytics configurations for a bucket."
    }
  },
  "$defs": {
    "AnalyticsAndOperator": {
      "type": "object",
      "properties": {
        "Prefix": {
          "type": "string",
          "description": "The prefix to use when evaluating an AND predicate: The prefix that an object must have to be included in the metrics results."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The list of tags to use when evaluating an AND predicate."
        }
      }
    },
    "AnalyticsConfiguration": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The ID that identifies the analytics configuration."
        },
        "Filter": {
          "$ref": "#/$defs/AnalyticsFilter"
        },
        "StorageClassAnalysis": {
          "$ref": "#/$defs/StorageClassAnalysis"
        }
      },
      "required": [
        "Id",
        "StorageClassAnalysis"
      ]
    },
    "AnalyticsExportDestination": {
      "type": "object",
      "properties": {
        "S3BucketDestination": {
          "$ref": "#/$defs/AnalyticsS3BucketDestination"
        }
      },
      "required": [
        "S3BucketDestination"
      ]
    },
    "AnalyticsFilter": {
      "type": "object",
      "properties": {
        "Prefix": {
          "type": "string",
          "description": "The prefix to use when evaluating an analytics filter."
        },
        "Tag": {
          "$ref": "#/$defs/Tag"
        },
        "And": {
          "$ref": "#/$defs/AnalyticsAndOperator"
        }
      },
      "description": "Exactly one member is set."
    },
    "AnalyticsS3BucketDestination": {
      "type": "object",
      "properties": {
        "Format": {
          "type": "string",
          "enum": [
            "CSV"
          ],
          "description": "Specifies the file format used when exporting data to Amazon S3."
        },
        "BucketAccountId": {
          "type": "string",
          "description": "The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data. Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes."
        },
        "Bucket": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the bucket to which data is exported."
        },
        "Prefix": {
          "type": "string",
          "description": "The prefix to use when exporting data. The prefix is prepended to all results."
        }
      },
      "required": [
        "Format",
        "Bucket"
      ]
    },
    "StorageClassAnalysis": {
      "type": "object",
      "properties": {
        "DataExport": {
          "$ref": "#/$defs/StorageClassAnalysisDataExport"
        }
      }
    },
    "StorageClassAnalysisDataExport": {
      "type": "object",
      "properties": {
        "OutputSchemaVersion": {
          "type": "string",
          "enum": [
            "V_1"
          ],
          "description": "The version of the output schema to use when exporting data. Must be V_1."
        },
        "Destination": {
          "$ref": "#/$defs/AnalyticsExportDestination"
        }
      },
      "required": [
        "OutputSchemaVersion",
        "Destination"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "Name of the object key."
        },
        "Value": {
          "type": "string",
          "description": "Value of the tag."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}