{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scale-ai/json-schema/scale-ai-chat-thread-feedback-request-schema.json",
  "title": "ChatThreadFeedbackRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scale-ai-chatthreads-api-openapi.yml#/components/schemas/ChatThreadFeedbackRequest",
  "properties": {
    "chat_thread_id": {
      "title": "Chat Thread Id",
      "can_patch": false,
      "type": "string"
    },
    "application_interaction_id": {
      "type": "string",
      "title": "Application Interaction Id",
      "can_patch": false
    },
    "sentiment": {
      "$ref": "#/$defs/FeedbackSentiment"
    },
    "description": {
      "title": "Description",
      "type": "string"
    }
  },
  "type": "object",
  "required": [
    "chat_thread_id",
    "application_interaction_id",
    "sentiment",
    "description"
  ],
  "$defs": {
    "FeedbackSentiment": {
      "type": "string",
      "enum": [
        "positive",
        "negative"
      ],
      "title": "FeedbackSentiment"
    }
  }
}