{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aidemos-com/json-schema/aidemos-com-feedback-in-schema.json",
  "title": "FeedbackIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aidemos-com-content-api-openapi.yml#/components/schemas/FeedbackIn",
  "properties": {
    "job_run_id": {
      "type": "string",
      "title": "Job Run Id",
      "description": "The ai_job_runs.request_id that produced the asset."
    },
    "rating": {
      "type": "string",
      "enum": [
        "up",
        "down"
      ],
      "title": "Rating"
    },
    "asset_key": {
      "type": "string",
      "title": "Asset Key",
      "description": "Which asset within the job (platform / scene id / '' = whole).",
      "default": ""
    },
    "reason": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reason"
    },
    "edited_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Edited Text",
      "description": "The human-corrected copy, if any."
    },
    "submitted_by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Submitted By"
    }
  },
  "type": "object",
  "required": [
    "job_run_id",
    "rating"
  ]
}