{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/security-scorecard/json-schema/security-scorecard-feedback-validation-request-request-schema.json",
  "title": "feedbackValidationRequestRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/security-scorecard-feedback-api-openapi.yml#/components/schemas/feedbackValidationRequestRequest",
  "type": "object",
  "properties": {
    "issue_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "issues ids to be refuted"
    },
    "feedback_type": {
      "type": "string",
      "enum": [
        "technical_remediation",
        "compensating_control",
        "misattribution",
        "false_positive"
      ],
      "x-enumDescriptions": {
        "technical_remediation": "I have fixed this",
        "compensating_control": "I have a compensating control",
        "misattribution": "This is not my IP or domain",
        "false_positive": "I cannot reproduce this issue and I think it's incorrect"
      },
      "description": "type of refutation, it could be any one on the list.\nNote: additional feedback types might be introduced in the future."
    },
    "comment": {
      "type": "string",
      "description": "an additional comment provided by the creator of this feedback"
    }
  },
  "additionalProperties": false,
  "required": [
    "issue_ids",
    "feedback_type"
  ]
}