{
  "version": 1,
  "created": "2026-10-07",
  "baseUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07",
  "videoDurationSeconds": 4,
  "videoFile": "media/ad.mp4",
  "mediaAliases": {
    "media/ad-01.mp4": "ad.mp4",
    "media/ad-02.mp4": "ad.mp4",
    "media/ad-03.mp4": "ad.mp4"
  },
  "videoCodecs": "H.264 Constrained Baseline, yuv420p, AAC-LC, 640x360, 25fps",
  "notes": [
    "One physical video file; aliases are relative symlinks. Different URLs are for CREATIVE_SRC_URL checks.",
    "ERID values are synthetic test strings, not registered advertising tokens.",
    "expectedBannerOrCreativeId and erid describe fixture values; SDK metadata mapping, especially Yandex, must be verified in application logs.",
    "IS_AD_POD is checked at creative-loaded/start/end after the actual pod length is available.",
    "CREATIVE_NUM follows successful creative-loaded events; ad sequence is not an assertion about numbering after an error.",
    "Tracking in VAST targets the local test pixel; Vitrina monitoring uses the separate channel tracking configuration.",
    "Asset validation does not close checklist items; Web/Smart TV application runs remain pending."
  ],
  "references": [
    {
      "test": "~/Developer/kima/test/spec/InlineLinearSpec/spec/raw-xml-input.js",
      "source": "Embedded inline VAST 3 example"
    },
    {
      "test": "~/Developer/kima/test/spec/adPodSpec/spec/AdPodNoStandaloneSpec.js",
      "url": "https://www.radiantmediaplayer.com/vast/tags/ad-pod-no-standalone.xml"
    },
    {
      "test": "~/Developer/kima/test/spec/adPodSpec/spec/AdPodErrorCreativeOnSecondAd.js",
      "url": "https://www.radiantmediaplayer.com/vast/tags/ad-pod-error-creative-on-second-ad.xml"
    }
  ],
  "fixtures": [
    {
      "id": "single-banner",
      "file": "single-banner.xml",
      "url": "https://files.frolkin.top/vitrina-tv-2026-10-07/single-banner.xml",
      "description": "Один ролик: bannerId имеет приоритет над Creative id",
      "checks": [
        "CHK012",
        "CHK014",
        "CHK016",
        "CHK017",
        "CHK018",
        "CHK019"
      ],
      "isAdPod": 0,
      "vastHttpStatus": 200,
      "xmlValid": true,
      "declaredDurationSeconds": 4,
      "creatives": [
        {
          "adSequence": null,
          "adId": "vt-ad-single-banner-01",
          "creativeId": "vt-creative-single-banner-01",
          "bannerId": "vt-banner-single-banner-01",
          "expectedBannerOrCreativeId": "vt-banner-single-banner-01",
          "erid": "vt-test-erid-single-banner-01",
          "eridExtensionType": "erid",
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/media/ad-01.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 200
        }
      ]
    },
    {
      "id": "single-creative-id",
      "file": "single-creative-id.xml",
      "url": "https://files.frolkin.top/vitrina-tv-2026-10-07/single-creative-id.xml",
      "description": "Один ролик без bannerId: fallback на Creative id; ERID из AdTune",
      "checks": [
        "CHK013",
        "CHK014",
        "CHK016",
        "CHK017"
      ],
      "isAdPod": 0,
      "vastHttpStatus": 200,
      "xmlValid": true,
      "declaredDurationSeconds": 4,
      "creatives": [
        {
          "adSequence": null,
          "adId": "vt-ad-single-creative-id-01",
          "creativeId": "vt-creative-single-creative-id-01",
          "bannerId": "",
          "expectedBannerOrCreativeId": "vt-creative-single-creative-id-01",
          "erid": "vt-test-erid-single-creative-id-01",
          "eridExtensionType": "AdTune",
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/media/ad-01.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 200
        }
      ]
    },
    {
      "id": "single-no-erid",
      "file": "single-no-erid.xml",
      "url": "https://files.frolkin.top/vitrina-tv-2026-10-07/single-no-erid.xml",
      "description": "Один ролик без ERID: проверка очистки предыдущего значения",
      "checks": [
        "CHK014",
        "CHK034"
      ],
      "isAdPod": 0,
      "vastHttpStatus": 200,
      "xmlValid": true,
      "declaredDurationSeconds": 4,
      "creatives": [
        {
          "adSequence": null,
          "adId": "vt-ad-single-no-erid-01",
          "creativeId": "vt-creative-single-no-erid-01",
          "bannerId": "vt-banner-single-no-erid-01",
          "expectedBannerOrCreativeId": "vt-banner-single-no-erid-01",
          "erid": "",
          "eridExtensionType": null,
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/media/ad-01.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 200
        }
      ]
    },
    {
      "id": "single-skippable",
      "file": "single-skippable.xml",
      "url": "https://files.frolkin.top/vitrina-tv-2026-10-07/single-skippable.xml",
      "description": "Один ролик: skip после 1 секунды и тестовая страница клика",
      "checks": [
        "CHK014",
        "CHK018",
        "CHK019",
        "CHK032"
      ],
      "isAdPod": 0,
      "vastHttpStatus": 200,
      "xmlValid": true,
      "declaredDurationSeconds": 4,
      "creatives": [
        {
          "adSequence": null,
          "adId": "vt-ad-single-skippable-01",
          "creativeId": "vt-creative-single-skippable-01",
          "bannerId": "vt-banner-single-skippable-01",
          "expectedBannerOrCreativeId": "vt-banner-single-skippable-01",
          "erid": "vt-test-erid-single-skippable-01",
          "eridExtensionType": "erid",
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/media/ad-01.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 200
        }
      ]
    },
    {
      "id": "adpod-3",
      "file": "adpod-3.xml",
      "url": "https://files.frolkin.top/vitrina-tv-2026-10-07/adpod-3.xml",
      "description": "AdPod: три последовательных креатива по 4 секунды",
      "checks": [
        "CHK014",
        "CHK015",
        "CHK016",
        "CHK017",
        "CHK018",
        "CHK019",
        "CHK020"
      ],
      "isAdPod": 1,
      "vastHttpStatus": 200,
      "xmlValid": true,
      "declaredDurationSeconds": 12,
      "creatives": [
        {
          "adSequence": 1,
          "adId": "vt-ad-adpod-3-01",
          "creativeId": "vt-creative-adpod-3-01",
          "bannerId": "vt-banner-adpod-3-01",
          "expectedBannerOrCreativeId": "vt-banner-adpod-3-01",
          "erid": "vt-test-erid-adpod-3-01",
          "eridExtensionType": "erid",
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/media/ad-01.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 200
        },
        {
          "adSequence": 2,
          "adId": "vt-ad-adpod-3-02",
          "creativeId": "vt-creative-adpod-3-02",
          "bannerId": "vt-banner-adpod-3-02",
          "expectedBannerOrCreativeId": "vt-banner-adpod-3-02",
          "erid": "vt-test-erid-adpod-3-02",
          "eridExtensionType": "AdTune",
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/media/ad-02.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 200
        },
        {
          "adSequence": 3,
          "adId": "vt-ad-adpod-3-03",
          "creativeId": "vt-creative-adpod-3-03",
          "bannerId": "vt-banner-adpod-3-03",
          "expectedBannerOrCreativeId": "vt-banner-adpod-3-03",
          "erid": "vt-test-erid-adpod-3-03",
          "eridExtensionType": "erid",
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/media/ad-03.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 200
        }
      ]
    },
    {
      "id": "adpod-error-second",
      "file": "adpod-error-second.xml",
      "url": "https://files.frolkin.top/vitrina-tv-2026-10-07/adpod-error-second.xml",
      "description": "AdPod: media второго креатива возвращает 404",
      "checks": [
        "CHK018",
        "CHK019",
        "CHK028",
        "CHK034"
      ],
      "isAdPod": 1,
      "vastHttpStatus": 200,
      "xmlValid": true,
      "declaredDurationSeconds": 12,
      "creatives": [
        {
          "adSequence": 1,
          "adId": "vt-ad-adpod-error-second-01",
          "creativeId": "vt-creative-adpod-error-second-01",
          "bannerId": "vt-banner-adpod-error-second-01",
          "expectedBannerOrCreativeId": "vt-banner-adpod-error-second-01",
          "erid": "vt-test-erid-adpod-error-second-01",
          "eridExtensionType": "erid",
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/media/ad-01.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 200
        },
        {
          "adSequence": 2,
          "adId": "vt-ad-adpod-error-second-02",
          "creativeId": "vt-creative-adpod-error-second-02",
          "bannerId": "vt-banner-adpod-error-second-02",
          "expectedBannerOrCreativeId": "vt-banner-adpod-error-second-02",
          "erid": "vt-test-erid-adpod-error-second-02",
          "eridExtensionType": "erid",
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/missing/ad-02.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 404
        },
        {
          "adSequence": 3,
          "adId": "vt-ad-adpod-error-second-03",
          "creativeId": "vt-creative-adpod-error-second-03",
          "bannerId": "vt-banner-adpod-error-second-03",
          "expectedBannerOrCreativeId": "vt-banner-adpod-error-second-03",
          "erid": "vt-test-erid-adpod-error-second-03",
          "eridExtensionType": "erid",
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/media/ad-03.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 200
        }
      ]
    },
    {
      "id": "media-404",
      "file": "media-404.xml",
      "url": "https://files.frolkin.top/vitrina-tv-2026-10-07/media-404.xml",
      "description": "VAST доступен; media-файл возвращает 404",
      "checks": [
        "CHK019",
        "CHK028",
        "CHK034"
      ],
      "isAdPod": 0,
      "vastHttpStatus": 200,
      "xmlValid": true,
      "declaredDurationSeconds": 4,
      "creatives": [
        {
          "adSequence": null,
          "adId": "vt-ad-media-404-01",
          "creativeId": "vt-creative-media-404-01",
          "bannerId": "vt-banner-media-404-01",
          "expectedBannerOrCreativeId": "vt-banner-media-404-01",
          "erid": "vt-test-erid-media-404-01",
          "eridExtensionType": "erid",
          "mediaUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/missing/ad-01.mp4",
          "mediaType": "video/mp4",
          "durationSeconds": 4,
          "expectedMediaHttpStatus": 404
        }
      ]
    },
    {
      "id": "empty",
      "file": "empty.xml",
      "url": "https://files.frolkin.top/vitrina-tv-2026-10-07/empty.xml",
      "description": "Валидный пустой VAST: нет рекламы",
      "checks": [
        "CHK028",
        "CHK034"
      ],
      "vastHttpStatus": 200,
      "xmlValid": true,
      "creatives": []
    },
    {
      "id": "malformed",
      "file": "malformed.xml",
      "url": "https://files.frolkin.top/vitrina-tv-2026-10-07/malformed.xml",
      "description": "Намеренно невалидный XML",
      "checks": [
        "CHK028",
        "CHK034"
      ],
      "vastHttpStatus": 200,
      "xmlValid": false,
      "creatives": []
    },
    {
      "id": "wrapper-404",
      "file": "wrapper-404.xml",
      "url": "https://files.frolkin.top/vitrina-tv-2026-10-07/wrapper-404.xml",
      "description": "Wrapper доступен; следующий VAST возвращает 404",
      "checks": [
        "CHK019",
        "CHK028",
        "CHK034"
      ],
      "vastHttpStatus": 200,
      "xmlValid": true,
      "wrapperUrl": "https://files.frolkin.top/vitrina-tv-2026-10-07/missing/next-vast.xml",
      "wrapperHttpStatus": 404,
      "creatives": []
    }
  ]
}
