{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-new-feedback-params-schema.json",
  "title": "NewFeedbackParams",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-xdr-feedback-api-openapi.yml#/components/schemas/NewFeedbackParams",
  "type": "object",
  "properties": {
    "experience": {
      "description": "Experience rating from 1 to 5",
      "type": "integer",
      "format": "int64",
      "enum": [
        1,
        4,
        3,
        2,
        5
      ]
    },
    "user_email": {
      "description": "The email address to contact",
      "type": "string"
    },
    "bug": {
      "description": "True if the feedback describes a bug",
      "type": "boolean"
    },
    "source": {
      "description": "The product related to this feedback. Can be one of \"threat-response\", \"securex\", \"ciscoxdr\" (case-sensitive), or a different non-blank string, denoting some other product or aspect.",
      "type": "string"
    },
    "contact_allowed": {
      "description": "True if the user accepts to be contacted by email",
      "type": "boolean"
    },
    "user_name": {
      "description": "The contact name",
      "type": "string"
    },
    "text": {
      "description": "The description of the feedback (bug, new feature)",
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "bug",
    "contact_allowed",
    "text"
  ]
}