{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/304notfound-com/json-schema/304notfound-com-feedback-request-schema.json",
  "title": "FeedbackRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/304notfound-com-feedback-api-openapi.yml#/components/schemas/FeedbackRequest",
  "properties": {
    "request_id": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "title": "Request Id"
    },
    "useful": {
      "type": "boolean",
      "title": "Useful",
      "description": "La réponse a-t-elle aidé l'agent à accomplir sa tâche ?"
    },
    "issue": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "wrong",
            "outdated",
            "incomplete",
            "bad_source",
            "off_topic",
            "contradiction",
            "other"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Issue"
    },
    "comment": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ],
      "title": "Comment"
    }
  },
  "type": "object",
  "required": [
    "request_id",
    "useful"
  ]
}