{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ScorecardTemplateCriteria",
  "title": "ScorecardTemplateCriteria",
  "type": "object",
  "properties": {
    "integration": {
      "description": "The integration `name` when it provides the criteria template. Otherwise `null`.",
      "type": "string",
      "example": null,
      "nullable": true
    },
    "template_name": {
      "$ref": "#/components/schemas/CriteriaTemplateName"
    },
    "template_parameters": {
      "$ref": "#/components/schemas/CriteriaParameters"
    },
    "section_name": {
      "description": "Organizational section that the criteria belongs to within the scorecard template.",
      "type": "string",
      "example": "Source Code Management",
      "nullable": true
    }
  },
  "required": [
    "integration",
    "template_name",
    "template_parameters",
    "section_name"
  ]
}