{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "FeatureFeedbackItem",
  "type": "object",
  "additionalProperties": false,
  "description": "TAnalytics-v3 .. Feature Feedback Item",
  "properties": {
    "feedback_text": {
      "type": "string",
      "description": "The feedback text"
    },
    "feedback_type": {
      "enum": ["user_input", "pre_defined"],
      "description": "To capture if feeback was selected by user from pre-defined text on the screen or entered in text box."
    },
    "feedback_category": {
      "type": "string",
      "description": "The category of feedback. To capture feedback for categories like navigation, search relevance, user experience and others."
    },
    "category_rating": {
      "type": "integer",
      "description": "The rating for specific category. Range 1-5",
      "minimum": 1,
      "maximum": 5
    }
  },
  "required": [
    "feedback_text",
    "feedback_type"
  ]
}