{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-backup/json-schema/aws-backup-list-legal-holds-output-schema.json",
  "title": "ListLegalHoldsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-backup-legal-holds-api-openapi.yml#/components/schemas/ListLegalHoldsOutput",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "The next item following a partial list of returned resources. For example, if a request is made to return MaxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token."
    },
    "LegalHolds": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LegalHold"
      },
      "description": "This is an array of returned legal holds, both active and previous."
    }
  },
  "$defs": {
    "LegalHold": {
      "type": "object",
      "properties": {
        "Title": {
          "type": "string",
          "description": "The title of a legal hold."
        },
        "Status": {
          "type": "string",
          "enum": [
            "CREATING",
            "ACTIVE",
            "CANCELING",
            "CANCELED"
          ],
          "description": "The status of the legal hold."
        },
        "Description": {
          "type": "string",
          "description": "The description of a legal hold."
        },
        "LegalHoldId": {
          "type": "string",
          "description": "The ID of the legal hold."
        },
        "LegalHoldArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the legal hold; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45."
        },
        "CreationDate": {
          "type": "string",
          "format": "date-time",
          "description": "The time when the legal hold was created."
        },
        "CancellationDate": {
          "type": "string",
          "format": "date-time",
          "description": "The time when the legal hold was cancelled."
        }
      }
    }
  }
}