{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/liftli-ai/json-schema/liftli-ai-reply-log-request-schema.json",
  "title": "ReplyLogRequest",
  "description": "Request model for logging reply actions",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/app-liftli-ai-openapi.json#/components/schemas/ReplyLogRequest",
  "properties": {
    "reply_text": {
      "type": "string",
      "title": "Reply Text"
    },
    "edited_text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Edited Text"
    },
    "model": {
      "type": "string",
      "title": "Model"
    },
    "style": {
      "type": "string",
      "title": "Style"
    },
    "user_concept": {
      "type": "string",
      "title": "User Concept",
      "default": ""
    },
    "reply_context": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "title": "Reply Context"
    },
    "original_post_content": {
      "type": "string",
      "title": "Original Post Content"
    },
    "original_post_author": {
      "type": "string",
      "title": "Original Post Author"
    },
    "original_post_author_role": {
      "type": "string",
      "title": "Original Post Author Role"
    },
    "platform": {
      "type": "string",
      "title": "Platform"
    },
    "action_type": {
      "type": "string",
      "title": "Action Type"
    },
    "draft_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Draft Id"
    },
    "feedback_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Feedback Type"
    },
    "feedback_text": {
      "type": "string",
      "title": "Feedback Text",
      "default": ""
    },
    "feedback_submitted": {
      "type": "boolean",
      "title": "Feedback Submitted",
      "default": false
    },
    "generation_time_ms": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Generation Time Ms"
    },
    "timestamp": {
      "type": "string",
      "title": "Timestamp"
    }
  },
  "type": "object",
  "required": [
    "reply_text",
    "model",
    "style",
    "original_post_content",
    "original_post_author",
    "original_post_author_role",
    "platform",
    "action_type",
    "timestamp"
  ]
}