{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hydrafetch-com/json-schema/hydrafetch-com-result-feedback-dto-schema.json",
  "title": "ResultFeedbackDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hydrafetch-com-feedback-api-openapi.yml#/components/schemas/ResultFeedbackDto",
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string",
      "description": "The request being rated: the X-Request-Id response header, or usage.requestId from an MCP tool. Give this or url.",
      "format": "uuid"
    },
    "url": {
      "type": "string",
      "description": "The URL that was read, when the request id is not to hand. Rates the latest request for it in the last 24 hours."
    },
    "rating": {
      "type": "string",
      "enum": [
        "good",
        "bad"
      ],
      "description": "Whether the result was accurate."
    },
    "reasons": {
      "type": "array",
      "description": "What was wrong, for a bad rating.",
      "items": {
        "type": "string",
        "enum": [
          "missing_content",
          "wrong_content",
          "blocked",
          "slow",
          "formatting",
          "other"
        ]
      }
    },
    "note": {
      "type": "string",
      "description": "More detail, in your own words.",
      "maxLength": 500
    }
  },
  "required": [
    "rating"
  ]
}