{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-get-repository-triggers-output-schema.json",
  "title": "GetRepositoryTriggersOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codecommit-repository-trigger-api-openapi.yml#/components/schemas/GetRepositoryTriggersOutput",
  "type": "object",
  "properties": {
    "configurationId": {
      "type": "string",
      "description": "The system-generated unique ID for the trigger."
    },
    "triggers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RepositoryTrigger"
      },
      "description": "The JSON block of configuration information for each trigger."
    }
  },
  "$defs": {
    "RepositoryTrigger": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the trigger."
        },
        "destinationArn": {
          "type": "string",
          "description": "The ARN of the resource that is the target for a trigger (for example, the ARN of a topic in Amazon SNS)."
        },
        "customData": {
          "type": "string",
          "description": "Any custom data associated with the trigger to be included in the information sent to the target of the trigger."
        },
        "branches": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The branches to be included in the trigger configuration. If you specify an empty array, the trigger applies to all branches. Although no content is required in the array, you must include the array itself."
        },
        "events": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "all",
              "updateReference",
              "createReference",
              "deleteReference"
            ]
          },
          "description": "The repository events that cause the trigger to run actions in another service, such as sending a notification through Amazon SNS. The valid value \"all\" cannot be used with any other values."
        }
      },
      "required": [
        "name",
        "destinationArn",
        "events"
      ]
    }
  }
}