{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-codecommit/json-schema/amazon-codecommit-create-approval-rule-template-input-schema.json",
  "title": "CreateApprovalRuleTemplateInput",
  "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/CreateApprovalRuleTemplateInput",
  "type": "object",
  "properties": {
    "approvalRuleTemplateName": {
      "type": "string",
      "description": "The name of the approval rule template. Provide descriptive names, because this name is applied to the approval rules created automatically in associated repositories."
    },
    "approvalRuleTemplateContent": {
      "type": "string",
      "description": "The content of the approval rule that is created on pull requests in associated repositories. If you specify one or more destination references (branches), approval rules are created in an associated repository only if their destination references (branches) match those specified in the template. When you create the content of the approval rule template, you can specify approvers in an approval pool in one of two ways: CodeCommitApprovers: This option only requires an Amazon Web Services account and a resource. It can be used for both IAM users and federated access users whose name matches the"
    },
    "approvalRuleTemplateDescription": {
      "type": "string",
      "description": "The description of the approval rule template. Consider providing a description that explains what this template does and when it might be appropriate to associate it with repositories."
    }
  },
  "required": [
    "approvalRuleTemplateName",
    "approvalRuleTemplateContent"
  ]
}