{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adsturbo-ai/json-schema/adsturbo-ai-api-success-open-persona-ent-schema.json",
  "title": "ApiSuccessOpenPersonaEnt",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adsturbo-ai-persona-api-openapi.yml#/components/schemas/ApiSuccessOpenPersonaEnt",
  "type": "object",
  "required": [
    "ret"
  ],
  "properties": {
    "ret": {
      "type": "integer"
    },
    "msg": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "ent": {
          "$ref": "#/$defs/OpenPersonaData"
        }
      }
    }
  },
  "$defs": {
    "AiActorVoiceOption": {
      "type": "object",
      "description": "Actor voice option.",
      "properties": {
        "voice_id": {
          "type": "string"
        },
        "voice_url": {
          "type": "string"
        },
        "voice_description": {
          "type": "string"
        },
        "source": {
          "type": "string"
        }
      }
    },
    "OpenPersonaData": {
      "type": "object",
      "description": "Custom Persona information.",
      "properties": {
        "actor_id": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "description": "pending / processing / completed / failed"
        },
        "callback_id": {
          "type": "string",
          "description": "Custom tracking ID, echoed back in `/openapi/v1/work/status` results so you can match tasks to your own records (webhook delivery is not available yet)."
        },
        "name": {
          "type": "string"
        },
        "photo_url": {
          "type": "string"
        },
        "voice_url": {
          "type": "string"
        },
        "preview_image_url": {
          "type": "string"
        },
        "preview_video_url": {
          "type": "string"
        },
        "voices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AiActorVoiceOption"
          }
        },
        "message": {
          "type": "string"
        },
        "created_at": {
          "type": "integer",
          "format": "int64"
        }
      }
    }
  }
}