{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/marketsdk/json-schema/marketsdk-moderation-action-object-schema.json",
  "title": "ModerationActionObject",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/marketsdk-moderation-api-openapi.yml#/components/schemas/ModerationActionObject",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "moderation_action"
      ]
    },
    "id": {
      "type": "string"
    },
    "target_type": {
      "type": "string",
      "enum": [
        "listing",
        "seller",
        "review"
      ]
    },
    "target": {
      "type": "string"
    },
    "action": {
      "type": "string",
      "enum": [
        "dismiss",
        "remove_content",
        "suspend_seller",
        "reinstate_seller"
      ]
    },
    "reason": {
      "type": "string"
    },
    "actor": {
      "type": "string"
    },
    "flags_resolved": {
      "type": "number",
      "description": "Open flags this action resolved."
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "object",
    "id",
    "target_type",
    "target",
    "action",
    "reason",
    "actor",
    "flags_resolved",
    "created_at"
  ]
}