{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-guardduty/refs/heads/main/json-structure/guardduty-sort-criteria-structure.json",
  "name": "SortCriteria",
  "description": "Contains information about the criteria used for sorting findings.",
  "type": "object",
  "properties": {
    "AttributeName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/String"
        },
        {
          "xml": {
            "name": "attributeName"
          },
          "description": "Represents the finding attribute, such as <code>accountId</code>, that sorts the findings."
        }
      ]
    },
    "OrderBy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OrderBy"
        },
        {
          "xml": {
            "name": "orderBy"
          },
          "description": "The order by which the sorted findings are to be displayed."
        }
      ]
    }
  }
}