{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/everpop-app/json-schema/everpop-app-import-video-envelope-schema.json",
  "title": "ImportVideoEnvelope",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/everpop-app-openapi.json#/components/schemas/ImportVideoEnvelope",
  "type": "object",
  "properties": {
    "ok": {
      "const": true
    },
    "data": {
      "type": "object",
      "properties": {
        "videoId": {
          "type": "string",
          "description": "A sourceVideoId for POST /api/v1/clip once the video's file is uploaded."
        },
        "title": {
          "type": "string"
        },
        "existing": {
          "type": "boolean",
          "description": "true when the video was already in the library (the call is idempotent)."
        },
        "browserUploadUrl": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "The sign-in-gated page where the user uploads this video's file; null once it has one."
        }
      },
      "required": [
        "videoId",
        "title",
        "existing",
        "browserUploadUrl"
      ]
    }
  },
  "required": [
    "ok",
    "data"
  ]
}