{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-macie/refs/heads/main/json-structure/amazon-macie-usage-statistics-sort-by-structure.json",
  "name": "UsageStatisticsSortBy",
  "description": "Specifies criteria for sorting the results of a query for Amazon Macie account quotas and usage data.",
  "type": "object",
  "properties": {
    "key": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UsageStatisticsSortKey"
        },
        {
          "description": "The field to sort the results by."
        }
      ]
    },
    "orderBy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OrderBy"
        },
        {
          "description": "The sort order to apply to the results, based on the value for the field specified by the key property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order."
        }
      ]
    }
  }
}