{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CreateScorecardCriteria", "title": "CreateScorecardCriteria", "type": "object", "properties": { "name": { "type": "string", "example": "Median time to merge opened PRs is less than 6 hours over the last 3 months.", "maxLength": 2048, "minLength": 1 }, "enabled": { "type": "boolean", "example": true }, "template_name": { "$ref": "#/components/schemas/CriteriaTemplateName" }, "template_parameters": { "$ref": "#/components/schemas/CriteriaParameters" }, "section_name": { "description": "Organizational section name for the criteria within the scorecard.", "type": "string", "example": "Source Code Management", "maxLength": 120, "minLength": 1, "nullable": true } }, "additionalProperties": false, "required": [ "enabled", "template_name", "template_parameters", "section_name" ] }