dsp: tiktokreporting
extension: txt
uow_active_hours_threshold: 36
licensors:
  - licensor: sme
    types:
      - type: trends_top_song
        versions:
          - valid_from: '2020-03-12'
            version: v1
        frequency: '0 0 * * 7'
      - type: trends_top_hashtag
        versions:
          - valid_from: '2020-03-12'
            version: v1
        frequency: '0 0 * * 7'
      {% if tiktok_trends_daily %}
      - type: trends_daily
        versions:
          - valid_from: '2021-03-18'
            version: v1
      {% endif %}
      {% if tiktok_sounds %}
      - type: report_meta_song
        schedule: '*/30 * * * *'
        extension: parquet
        days_offset: 3
        versions:
          - valid_from: '2020-01-01'
            version: v1
        frequency: '0 0 * * 7,1,2,3,4'
      # - type: fact_views
      #   schedule: '*/30 * * * *'
      #   extension: parquet
      #   days_offset: 3
      #   versions:
      #     - valid_from: '2020-01-01'
      #       version: v1
      # - type: dim_partner_info
      #   schedule: '*/30 * * * *'
      #   extension: parquet
      #   days_offset: 0
      #   versions:
      #     - valid_from: '2020-01-01'
      #       version: v1
      {% endif %}
  {% if tiktok_sounds %}
  - licensor: theorchard
    types:
      # - type: fact_views
      #   schedule: '*/30 * * * *'
      #   extension: parquet
      #   days_offset: 3
      #   versions:
      #     - valid_from: '2020-01-01'
      #       version: v1
      - type: report_meta_song
        schedule: '*/30 * * * *'
        extension: parquet
        days_offset: 3
        versions:
          - valid_from: '2020-01-01'
            version: v1
        frequency: '0 0 * * 7,1,2,3,4'
  {% endif %}
schedule: '*/10 * * * *'
