{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-batch-associate-approval-rule-template-with-repositories-output-schema.json",
  "title": "BatchAssociateApprovalRuleTemplateWithRepositoriesOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-codecommit-approval-rule-template-api-openapi.yml#/components/schemas/BatchAssociateApprovalRuleTemplateWithRepositoriesOutput",
  "type": "object",
  "properties": {
    "associatedRepositoryNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of names of the repositories that have been associated with the template."
    },
    "errors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchAssociateApprovalRuleTemplateWithRepositoriesError"
      },
      "description": "A list of any errors that might have occurred while attempting to create the association between the template and the repositories."
    }
  },
  "required": [
    "associatedRepositoryNames",
    "errors"
  ],
  "$defs": {
    "BatchAssociateApprovalRuleTemplateWithRepositoriesError": {
      "type": "object",
      "properties": {
        "repositoryName": {
          "type": "string",
          "description": "The name of the repository where the association was not made."
        },
        "errorCode": {
          "type": "string",
          "description": "An error code that specifies whether the repository name was not valid or not found."
        },
        "errorMessage": {
          "type": "string",
          "description": "An error message that provides details about why the repository name was not found or not valid."
        }
      }
    }
  }
}