{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/civai-co/json-schema/civai-co-regenerate-row-asset-request-schema.json",
  "title": "RegenerateRowAssetRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/civai-co-publisher-extended-api-openapi.yml#/components/schemas/RegenerateRowAssetRequest",
  "properties": {
    "asset_type": {
      "type": "string",
      "enum": [
        "image",
        "video"
      ],
      "title": "Asset Type"
    },
    "instructions": {
      "type": "string",
      "title": "Instructions"
    },
    "context_file_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Context File Ids"
    },
    "attach": {
      "type": "boolean",
      "title": "Attach",
      "default": true
    },
    "start_media_generation": {
      "type": "boolean",
      "title": "Start Media Generation",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "asset_type",
    "instructions"
  ]
}