> ## Documentation Index
> Fetch the complete documentation index at: https://docs.interchange.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List creative templates

> List available creative templates plus the selected products required legacy format IDs and V2 format options for a campaign.



## OpenAPI

````yaml /v2/buyer-api-v2.yaml get /campaigns/{campaignId}/creatives/templates
openapi: 3.0.0
info:
  title: Scope3 Buyer API
  version: 2.0.0
  description: |-
    REST API for advertisers to manage advertisers, campaigns, and reporting.

    ## Authentication

    All endpoints require a Bearer token in the Authorization header:
    ```
    Authorization: Bearer your-api-key
    ```

    ## Base URL

    `https://api.interchange.io/api/v2/buyer`

    ## For AI Agents

    AI agents can use the MCP endpoint at `/mcp/v2/buyer` with three tools:
    - `initialize`: Start an MCP session
    - `api_call`: Make REST API calls
    - `ask_about_capability`: Learn about API features
servers:
  - url: https://api.interchange.io/api/v2/buyer
    description: Production server
security: []
tags:
  - name: Account
    description: Account management, service tokens, and preferences
  - name: Advertisers
    description: Manage advertisers
  - name: Product Discovery
    description: Discover and select products
  - name: Campaigns
    description: Manage advertising campaigns
  - name: Creatives
    description: Build, manage, and sync campaign creatives via AdCP Creative Protocol
  - name: Reporting
    description: Access performance metrics
  - name: Event Sources
    description: >-
      Manage event source configurations and log conversion/marketing events for
      attribution
  - name: Property Lists
    description: Validate property lists against AAO registry
  - name: Sales Agents
    description: View and connect sales agents
  - name: Measurement
    description: Measurement sources, records, context, and freshness
  - name: Syndication
    description: Syndicate resources to ADCP agents
  - name: Tasks
    description: Track async operation status
  - name: Planning Briefs
    description: >-
      Share prospective briefs with publishers and collect their
      fit/quote/clarify/decline/book responses (gated by the
      demand-supply-signals flag).
  - name: Buyer Billing
    description: >-
      Consolidated invoicing for buyers — invoices and pending invoice items
      issued by Scope3 across the buyer customer.
  - name: MCP
    description: Model Context Protocol endpoints for AI agents
paths:
  /campaigns/{campaignId}/creatives/templates:
    get:
      tags:
        - Creatives
      summary: List creative templates
      description: >-
        List available creative templates plus the selected products required
        legacy format IDs and V2 format options for a campaign.
      operationId: listCreativeTemplates
      parameters:
        - in: path
          name: campaignId
          schema:
            description: Campaign ID
            type: string
            minLength: 1
          required: true
          description: Campaign ID
      responses:
        '200':
          description: List creative templates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailableTemplatesResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    AvailableTemplatesResponse:
      description: Available creative templates for a campaign
      type: object
      properties:
        templates:
          description: Templates available for this campaign
          type: array
          items:
            $ref: '#/components/schemas/CreativeTemplateResponse'
        campaign_format_ids:
          description: >-
            Deduplicated legacy format IDs from campaign products (flat list).
            V2-native product declarations are returned in
            campaign_format_options.
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              agent_url:
                type: string
              width:
                type: number
              height:
                type: number
              duration_ms:
                type: number
            required:
              - id
              - agent_url
            additionalProperties: {}
        campaign_format_options:
          description: >-
            Deduplicated exact AdCP 3.1 format_options from campaign products.
            Product-scoped options with the same format_option_id remain
            distinct when their declarations differ.
          type: array
          items:
            type: object
            properties:
              format_kind:
                description: AdCP format kind discriminator (e.g. video_hosted, display)
                example: video_hosted
                type: string
              format_option_id:
                description: >-
                  Stable identifier buyers use to select this format via
                  format_option_refs in create_media_buy
                type: string
              display_name:
                description: Human-readable name for this format option
                type: string
              params:
                description: Canonical params for this format option
                allOf:
                  - $ref: '#/components/schemas/ProductFormatOptionParams'
            required:
              - format_kind
            additionalProperties: {}
        campaign_products:
          description: >-
            Formats grouped per product. Each product requires at least one
            creative matching one of its legacy formats or V2 format_options.
          type: array
          items:
            type: object
            properties:
              product_id:
                description: Product identifier
                type: string
              formats:
                description: >-
                  Legacy formats supported by this product. At least one
                  creative matching one of formats or format_options is required
                  per product.
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    agent_url:
                      type: string
                    width:
                      type: number
                    height:
                      type: number
                    duration_ms:
                      type: number
                  required:
                    - id
                    - agent_url
                  additionalProperties: {}
              format_options:
                description: >-
                  AdCP 3.1 format_options supported by this product. At least
                  one creative matching one of formats or format_options is
                  required per product.
                type: array
                items:
                  type: object
                  properties:
                    format_kind:
                      description: >-
                        AdCP format kind discriminator (e.g. video_hosted,
                        display)
                      example: video_hosted
                      type: string
                    format_option_id:
                      description: >-
                        Stable identifier buyers use to select this format via
                        format_option_refs in create_media_buy
                      type: string
                    display_name:
                      description: Human-readable name for this format option
                      type: string
                    params:
                      description: Canonical params for this format option
                      allOf:
                        - $ref: '#/components/schemas/ProductFormatOptionParams'
                  required:
                    - format_kind
                  additionalProperties: {}
            required:
              - product_id
              - formats
              - format_options
            additionalProperties: false
      required:
        - templates
        - campaign_format_ids
        - campaign_format_options
        - campaign_products
      additionalProperties: false
    ErrorResponse:
      description: Standard error response
      type: object
      properties:
        data:
          type: string
          nullable: true
          enum:
            - null
        error:
          $ref: '#/components/schemas/ApiError'
      required:
        - data
        - error
      additionalProperties: false
    CreativeTemplateResponse:
      description: Creative format template with asset requirements
      type: object
      properties:
        template_id:
          description: Template identifier
          type: string
        name:
          description: Template name
          type: string
        description:
          description: What this template is for
          type: string
        category:
          description: Template category
          type: string
        assets_required:
          description: Assets required/optional for this template
          type: array
          items:
            $ref: '#/components/schemas/TemplateAssetRequirement'
        expects_html_wrapper:
          description: Whether an HTML tag is the primary asset
          type: boolean
        supports_tag_input:
          description: Whether user can paste a tag instead of uploading files
          type: boolean
        supported_macros:
          description: ADCP macros supported by this format
          type: array
          items:
            type: string
        renders:
          description: ADCP render specifications
          type: array
          items:
            type: object
            properties:
              role:
                type: string
              width:
                type: number
              height:
                type: number
              min_width:
                type: number
              max_width:
                type: number
              min_height:
                type: number
              max_height:
                type: number
              aspect_ratio:
                type: string
              responsive:
                type: object
                properties:
                  width:
                    type: boolean
                  height:
                    type: boolean
                required:
                  - width
                  - height
                additionalProperties: false
            required:
              - role
            additionalProperties: false
      required:
        - template_id
        - name
        - description
        - category
        - assets_required
        - expects_html_wrapper
        - supports_tag_input
      additionalProperties: false
    ProductFormatOptionParams:
      description: >-
        Canonical format params. For hosted video, carries accepted
        containers/codecs.
      type: object
      properties:
        containers:
          description: >-
            Accepted delivery containers for hosted video. A buyer should only
            send a creative whose container is listed here.
          example:
            - mp4
          type: array
          items:
            type: string
            enum:
              - mp4
              - webm
              - mov
        video_codecs:
          description: Accepted video codecs for hosted video.
          example:
            - h264
          type: array
          items:
            type: string
            enum:
              - h264
              - h265
              - vp8
              - vp9
              - av1
              - prores
        audio_codecs:
          description: Accepted audio codecs for hosted video.
          example:
            - aac
          type: array
          items:
            type: string
            enum:
              - aac
              - mp3
              - opus
              - pcm
      additionalProperties: {}
    ApiError:
      description: Structured error object
      type: object
      properties:
        code:
          description: Machine-readable error code
          type: string
        message:
          description: Human-readable error message
          type: string
        field:
          description: Field path associated with the error
          type: string
        details:
          description: Additional error context
          type: object
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
    TemplateAssetRequirement:
      description: >-
        Asset slot within a creative template. Re-exported from `@adcp/sdk` as
        `FormatAssetSlot` — a discriminated union over `item_type` (`individual`
        or `repeatable_group`) per the AdCP spec.
      anyOf:
        - anyOf:
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - image
                requirements:
                  type: object
                  properties:
                    min_width:
                      type: number
                    max_width:
                      type: number
                    min_height:
                      type: number
                    max_height:
                      type: number
                    unit:
                      anyOf:
                        - type: string
                          enum:
                            - px
                        - type: string
                          enum:
                            - dp
                        - type: string
                          enum:
                            - inches
                        - type: string
                          enum:
                            - cm
                        - type: string
                          enum:
                            - mm
                        - type: string
                          enum:
                            - pt
                    aspect_ratio:
                      type: string
                      pattern: ^\d+(\.\d+)?:\d+(\.\d+)?$
                    formats:
                      type: array
                      items:
                        anyOf:
                          - type: string
                            enum:
                              - jpg
                          - type: string
                            enum:
                              - jpeg
                          - type: string
                            enum:
                              - png
                          - type: string
                            enum:
                              - gif
                          - type: string
                            enum:
                              - webp
                          - type: string
                            enum:
                              - svg
                          - type: string
                            enum:
                              - avif
                          - type: string
                            enum:
                              - tiff
                          - type: string
                            enum:
                              - pdf
                          - type: string
                            enum:
                              - eps
                    min_dpi:
                      type: number
                      minimum: 1
                    bleed:
                      anyOf:
                        - type: object
                          properties:
                            uniform:
                              type: number
                              minimum: 0
                          required:
                            - uniform
                          additionalProperties: {}
                        - type: object
                          properties:
                            top:
                              type: number
                              minimum: 0
                            right:
                              type: number
                              minimum: 0
                            bottom:
                              type: number
                              minimum: 0
                            left:
                              type: number
                              minimum: 0
                          required:
                            - top
                            - right
                            - bottom
                            - left
                          additionalProperties: {}
                    color_space:
                      anyOf:
                        - type: string
                          enum:
                            - rgb
                        - type: string
                          enum:
                            - cmyk
                        - type: string
                          enum:
                            - grayscale
                    max_file_size_kb:
                      type: number
                      minimum: 1
                    transparency_required:
                      type: boolean
                    animation_allowed:
                      type: boolean
                    max_animation_duration_ms:
                      type: number
                      minimum: 0
                    max_weight_grams:
                      type: number
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - video
                requirements:
                  type: object
                  properties:
                    min_width:
                      type: number
                      minimum: 1
                    max_width:
                      type: number
                      minimum: 1
                    min_height:
                      type: number
                      minimum: 1
                    max_height:
                      type: number
                      minimum: 1
                    aspect_ratio:
                      type: string
                      pattern: ^\d+:\d+$
                    min_duration_ms:
                      type: number
                      minimum: 1
                    max_duration_ms:
                      type: number
                      minimum: 1
                    containers:
                      type: array
                      items:
                        anyOf:
                          - type: string
                            enum:
                              - mp4
                          - type: string
                            enum:
                              - webm
                          - type: string
                            enum:
                              - mov
                          - type: string
                            enum:
                              - avi
                          - type: string
                            enum:
                              - mkv
                    codecs:
                      type: array
                      items:
                        anyOf:
                          - type: string
                            enum:
                              - h264
                          - type: string
                            enum:
                              - h265
                          - type: string
                            enum:
                              - vp8
                          - type: string
                            enum:
                              - vp9
                          - type: string
                            enum:
                              - av1
                          - type: string
                            enum:
                              - prores
                    max_file_size_kb:
                      type: number
                      minimum: 1
                    min_bitrate_kbps:
                      type: number
                      minimum: 1
                    max_bitrate_kbps:
                      type: number
                      minimum: 1
                    frame_rates:
                      type: array
                      items:
                        type: number
                    audio_required:
                      type: boolean
                    frame_rate_type:
                      anyOf:
                        - type: string
                          enum:
                            - constant
                        - type: string
                          enum:
                            - variable
                    scan_type:
                      anyOf:
                        - type: string
                          enum:
                            - progressive
                        - type: string
                          enum:
                            - interlaced
                    gop_type:
                      anyOf:
                        - type: string
                          enum:
                            - closed
                        - type: string
                          enum:
                            - open
                    min_gop_interval_seconds:
                      type: number
                      minimum: 0
                    max_gop_interval_seconds:
                      type: number
                      minimum: 0
                    moov_atom_position:
                      anyOf:
                        - type: string
                          enum:
                            - start
                        - type: string
                          enum:
                            - end
                    audio_codecs:
                      type: array
                      items:
                        anyOf:
                          - type: string
                            enum:
                              - aac
                          - type: string
                            enum:
                              - pcm
                          - type: string
                            enum:
                              - ac3
                          - type: string
                            enum:
                              - eac3
                          - type: string
                            enum:
                              - mp3
                          - type: string
                            enum:
                              - opus
                          - type: string
                            enum:
                              - vorbis
                          - type: string
                            enum:
                              - flac
                    audio_sample_rates:
                      type: array
                      items:
                        type: number
                    audio_channels:
                      type: array
                      items:
                        anyOf:
                          - type: string
                            enum:
                              - mono
                          - type: string
                            enum:
                              - stereo
                          - type: string
                            enum:
                              - '5.1'
                          - type: string
                            enum:
                              - '7.1'
                    loudness_lufs:
                      type: number
                    loudness_tolerance_db:
                      type: number
                      minimum: 0
                    true_peak_dbfs:
                      type: number
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - audio
                requirements:
                  type: object
                  properties:
                    min_duration_ms:
                      type: number
                      minimum: 1
                    max_duration_ms:
                      type: number
                      minimum: 1
                    formats:
                      type: array
                      items:
                        anyOf:
                          - type: string
                            enum:
                              - mp3
                          - type: string
                            enum:
                              - aac
                          - type: string
                            enum:
                              - wav
                          - type: string
                            enum:
                              - ogg
                          - type: string
                            enum:
                              - flac
                    max_file_size_kb:
                      type: number
                      minimum: 1
                    sample_rates:
                      type: array
                      items:
                        type: number
                    channels:
                      type: array
                      items:
                        anyOf:
                          - type: string
                            enum:
                              - mono
                          - type: string
                            enum:
                              - stereo
                    min_bitrate_kbps:
                      type: number
                      minimum: 1
                    max_bitrate_kbps:
                      type: number
                      minimum: 1
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - text
                requirements:
                  type: object
                  properties:
                    min_length:
                      type: number
                      minimum: 0
                    max_length:
                      type: number
                      minimum: 1
                    min_lines:
                      type: number
                      minimum: 1
                    max_lines:
                      type: number
                      minimum: 1
                    character_pattern:
                      type: string
                    prohibited_terms:
                      type: array
                      items:
                        type: string
                    allowed_values:
                      type: array
                      items:
                        type: string
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - markdown
                requirements:
                  type: object
                  properties:
                    max_length:
                      type: number
                      minimum: 1
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - html
                requirements:
                  type: object
                  properties:
                    max_file_size_kb:
                      type: number
                      minimum: 1
                    sandbox:
                      anyOf:
                        - type: string
                          enum:
                            - none
                        - type: string
                          enum:
                            - iframe
                        - type: string
                          enum:
                            - safeframe
                        - type: string
                          enum:
                            - fencedframe
                    external_resources_allowed:
                      type: boolean
                    allowed_external_domains:
                      type: array
                      items:
                        type: string
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - css
                requirements:
                  type: object
                  properties:
                    max_file_size_kb:
                      type: number
                      minimum: 1
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - javascript
                requirements:
                  type: object
                  properties:
                    max_file_size_kb:
                      type: number
                      minimum: 1
                    module_type:
                      anyOf:
                        - type: string
                          enum:
                            - script
                        - type: string
                          enum:
                            - module
                        - type: string
                          enum:
                            - iife
                    strict_mode_required:
                      type: boolean
                    external_resources_allowed:
                      type: boolean
                    allowed_external_domains:
                      type: array
                      items:
                        type: string
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - vast
                requirements:
                  type: object
                  properties:
                    vast_version:
                      anyOf:
                        - type: string
                          enum:
                            - '2.0'
                        - type: string
                          enum:
                            - '3.0'
                        - type: string
                          enum:
                            - '4.0'
                        - type: string
                          enum:
                            - '4.1'
                        - type: string
                          enum:
                            - '4.2'
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - daast
                requirements:
                  type: object
                  properties:
                    daast_version:
                      type: string
                      enum:
                        - '1.0'
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - url
                requirements:
                  type: object
                  properties:
                    role:
                      anyOf:
                        - type: string
                          enum:
                            - clickthrough
                        - type: string
                          enum:
                            - landing_page
                        - type: string
                          enum:
                            - impression_tracker
                        - type: string
                          enum:
                            - click_tracker
                        - type: string
                          enum:
                            - viewability_tracker
                        - type: string
                          enum:
                            - third_party_tracker
                    protocols:
                      type: array
                      items:
                        anyOf:
                          - type: string
                            enum:
                              - https
                          - type: string
                            enum:
                              - http
                    allowed_domains:
                      type: array
                      items:
                        type: string
                    max_length:
                      type: number
                      minimum: 1
                    macro_support:
                      type: boolean
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - webhook
                requirements:
                  type: object
                  properties:
                    methods:
                      type: array
                      items:
                        anyOf:
                          - type: string
                            enum:
                              - GET
                          - type: string
                            enum:
                              - POST
                  additionalProperties: {}
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - brief
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
            - type: object
              properties:
                item_type:
                  type: string
                  enum:
                    - individual
                asset_id:
                  type: string
                asset_role:
                  type: string
                required:
                  type: boolean
                overlays:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      description:
                        type: string
                      visual:
                        type: object
                        properties:
                          url:
                            type: string
                          light:
                            type: string
                          dark:
                            type: string
                        additionalProperties: {}
                      bounds:
                        type: object
                        properties:
                          x:
                            type: number
                          'y':
                            type: number
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - fraction
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                        required:
                          - x
                          - 'y'
                          - width
                          - height
                          - unit
                        additionalProperties: {}
                    required:
                      - id
                      - bounds
                    additionalProperties: {}
                asset_group_id:
                  type: string
                asset_type:
                  type: string
                  enum:
                    - catalog
              required:
                - item_type
                - asset_id
                - required
                - asset_type
              additionalProperties: {}
        - type: object
          properties:
            item_type:
              type: string
              enum:
                - repeatable_group
            asset_group_id:
              type: string
            required:
              type: boolean
            min_count:
              type: number
              minimum: 0
            max_count:
              type: number
              minimum: 1
            selection_mode:
              anyOf:
                - type: string
                  enum:
                    - sequential
                - type: string
                  enum:
                    - optimize
            assets:
              type: array
              items:
                anyOf:
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - image
                      requirements:
                        type: object
                        properties:
                          min_width:
                            type: number
                          max_width:
                            type: number
                          min_height:
                            type: number
                          max_height:
                            type: number
                          unit:
                            anyOf:
                              - type: string
                                enum:
                                  - px
                              - type: string
                                enum:
                                  - dp
                              - type: string
                                enum:
                                  - inches
                              - type: string
                                enum:
                                  - cm
                              - type: string
                                enum:
                                  - mm
                              - type: string
                                enum:
                                  - pt
                          aspect_ratio:
                            type: string
                            pattern: ^\d+(\.\d+)?:\d+(\.\d+)?$
                          formats:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                  enum:
                                    - jpg
                                - type: string
                                  enum:
                                    - jpeg
                                - type: string
                                  enum:
                                    - png
                                - type: string
                                  enum:
                                    - gif
                                - type: string
                                  enum:
                                    - webp
                                - type: string
                                  enum:
                                    - svg
                                - type: string
                                  enum:
                                    - avif
                                - type: string
                                  enum:
                                    - tiff
                                - type: string
                                  enum:
                                    - pdf
                                - type: string
                                  enum:
                                    - eps
                          min_dpi:
                            type: number
                            minimum: 1
                          bleed:
                            anyOf:
                              - type: object
                                properties:
                                  uniform:
                                    type: number
                                    minimum: 0
                                required:
                                  - uniform
                                additionalProperties: {}
                              - type: object
                                properties:
                                  top:
                                    type: number
                                    minimum: 0
                                  right:
                                    type: number
                                    minimum: 0
                                  bottom:
                                    type: number
                                    minimum: 0
                                  left:
                                    type: number
                                    minimum: 0
                                required:
                                  - top
                                  - right
                                  - bottom
                                  - left
                                additionalProperties: {}
                          color_space:
                            anyOf:
                              - type: string
                                enum:
                                  - rgb
                              - type: string
                                enum:
                                  - cmyk
                              - type: string
                                enum:
                                  - grayscale
                          max_file_size_kb:
                            type: number
                            minimum: 1
                          transparency_required:
                            type: boolean
                          animation_allowed:
                            type: boolean
                          max_animation_duration_ms:
                            type: number
                            minimum: 0
                          max_weight_grams:
                            type: number
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - video
                      requirements:
                        type: object
                        properties:
                          min_width:
                            type: number
                            minimum: 1
                          max_width:
                            type: number
                            minimum: 1
                          min_height:
                            type: number
                            minimum: 1
                          max_height:
                            type: number
                            minimum: 1
                          aspect_ratio:
                            type: string
                            pattern: ^\d+:\d+$
                          min_duration_ms:
                            type: number
                            minimum: 1
                          max_duration_ms:
                            type: number
                            minimum: 1
                          containers:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                  enum:
                                    - mp4
                                - type: string
                                  enum:
                                    - webm
                                - type: string
                                  enum:
                                    - mov
                                - type: string
                                  enum:
                                    - avi
                                - type: string
                                  enum:
                                    - mkv
                          codecs:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                  enum:
                                    - h264
                                - type: string
                                  enum:
                                    - h265
                                - type: string
                                  enum:
                                    - vp8
                                - type: string
                                  enum:
                                    - vp9
                                - type: string
                                  enum:
                                    - av1
                                - type: string
                                  enum:
                                    - prores
                          max_file_size_kb:
                            type: number
                            minimum: 1
                          min_bitrate_kbps:
                            type: number
                            minimum: 1
                          max_bitrate_kbps:
                            type: number
                            minimum: 1
                          frame_rates:
                            type: array
                            items:
                              type: number
                          audio_required:
                            type: boolean
                          frame_rate_type:
                            anyOf:
                              - type: string
                                enum:
                                  - constant
                              - type: string
                                enum:
                                  - variable
                          scan_type:
                            anyOf:
                              - type: string
                                enum:
                                  - progressive
                              - type: string
                                enum:
                                  - interlaced
                          gop_type:
                            anyOf:
                              - type: string
                                enum:
                                  - closed
                              - type: string
                                enum:
                                  - open
                          min_gop_interval_seconds:
                            type: number
                            minimum: 0
                          max_gop_interval_seconds:
                            type: number
                            minimum: 0
                          moov_atom_position:
                            anyOf:
                              - type: string
                                enum:
                                  - start
                              - type: string
                                enum:
                                  - end
                          audio_codecs:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                  enum:
                                    - aac
                                - type: string
                                  enum:
                                    - pcm
                                - type: string
                                  enum:
                                    - ac3
                                - type: string
                                  enum:
                                    - eac3
                                - type: string
                                  enum:
                                    - mp3
                                - type: string
                                  enum:
                                    - opus
                                - type: string
                                  enum:
                                    - vorbis
                                - type: string
                                  enum:
                                    - flac
                          audio_sample_rates:
                            type: array
                            items:
                              type: number
                          audio_channels:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                  enum:
                                    - mono
                                - type: string
                                  enum:
                                    - stereo
                                - type: string
                                  enum:
                                    - '5.1'
                                - type: string
                                  enum:
                                    - '7.1'
                          loudness_lufs:
                            type: number
                          loudness_tolerance_db:
                            type: number
                            minimum: 0
                          true_peak_dbfs:
                            type: number
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - audio
                      requirements:
                        type: object
                        properties:
                          min_duration_ms:
                            type: number
                            minimum: 1
                          max_duration_ms:
                            type: number
                            minimum: 1
                          formats:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                  enum:
                                    - mp3
                                - type: string
                                  enum:
                                    - aac
                                - type: string
                                  enum:
                                    - wav
                                - type: string
                                  enum:
                                    - ogg
                                - type: string
                                  enum:
                                    - flac
                          max_file_size_kb:
                            type: number
                            minimum: 1
                          sample_rates:
                            type: array
                            items:
                              type: number
                          channels:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                  enum:
                                    - mono
                                - type: string
                                  enum:
                                    - stereo
                          min_bitrate_kbps:
                            type: number
                            minimum: 1
                          max_bitrate_kbps:
                            type: number
                            minimum: 1
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - text
                      requirements:
                        type: object
                        properties:
                          min_length:
                            type: number
                            minimum: 0
                          max_length:
                            type: number
                            minimum: 1
                          min_lines:
                            type: number
                            minimum: 1
                          max_lines:
                            type: number
                            minimum: 1
                          character_pattern:
                            type: string
                          prohibited_terms:
                            type: array
                            items:
                              type: string
                          allowed_values:
                            type: array
                            items:
                              type: string
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - markdown
                      requirements:
                        type: object
                        properties:
                          max_length:
                            type: number
                            minimum: 1
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - html
                      requirements:
                        type: object
                        properties:
                          max_file_size_kb:
                            type: number
                            minimum: 1
                          sandbox:
                            anyOf:
                              - type: string
                                enum:
                                  - none
                              - type: string
                                enum:
                                  - iframe
                              - type: string
                                enum:
                                  - safeframe
                              - type: string
                                enum:
                                  - fencedframe
                          external_resources_allowed:
                            type: boolean
                          allowed_external_domains:
                            type: array
                            items:
                              type: string
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - css
                      requirements:
                        type: object
                        properties:
                          max_file_size_kb:
                            type: number
                            minimum: 1
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - javascript
                      requirements:
                        type: object
                        properties:
                          max_file_size_kb:
                            type: number
                            minimum: 1
                          module_type:
                            anyOf:
                              - type: string
                                enum:
                                  - script
                              - type: string
                                enum:
                                  - module
                              - type: string
                                enum:
                                  - iife
                          strict_mode_required:
                            type: boolean
                          external_resources_allowed:
                            type: boolean
                          allowed_external_domains:
                            type: array
                            items:
                              type: string
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - vast
                      requirements:
                        type: object
                        properties:
                          vast_version:
                            anyOf:
                              - type: string
                                enum:
                                  - '2.0'
                              - type: string
                                enum:
                                  - '3.0'
                              - type: string
                                enum:
                                  - '4.0'
                              - type: string
                                enum:
                                  - '4.1'
                              - type: string
                                enum:
                                  - '4.2'
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - daast
                      requirements:
                        type: object
                        properties:
                          daast_version:
                            type: string
                            enum:
                              - '1.0'
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - url
                      requirements:
                        type: object
                        properties:
                          role:
                            anyOf:
                              - type: string
                                enum:
                                  - clickthrough
                              - type: string
                                enum:
                                  - landing_page
                              - type: string
                                enum:
                                  - impression_tracker
                              - type: string
                                enum:
                                  - click_tracker
                              - type: string
                                enum:
                                  - viewability_tracker
                              - type: string
                                enum:
                                  - third_party_tracker
                          protocols:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                  enum:
                                    - https
                                - type: string
                                  enum:
                                    - http
                          allowed_domains:
                            type: array
                            items:
                              type: string
                          max_length:
                            type: number
                            minimum: 1
                          macro_support:
                            type: boolean
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
                  - type: object
                    properties:
                      asset_id:
                        type: string
                      asset_role:
                        type: string
                      asset_group_id:
                        type: string
                      required:
                        type: boolean
                      overlays:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            description:
                              type: string
                            visual:
                              type: object
                              properties:
                                url:
                                  type: string
                                light:
                                  type: string
                                dark:
                                  type: string
                              additionalProperties: {}
                            bounds:
                              type: object
                              properties:
                                x:
                                  type: number
                                'y':
                                  type: number
                                width:
                                  type: number
                                  minimum: 0
                                height:
                                  type: number
                                  minimum: 0
                                unit:
                                  anyOf:
                                    - type: string
                                      enum:
                                        - px
                                    - type: string
                                      enum:
                                        - fraction
                                    - type: string
                                      enum:
                                        - inches
                                    - type: string
                                      enum:
                                        - cm
                                    - type: string
                                      enum:
                                        - mm
                                    - type: string
                                      enum:
                                        - pt
                              required:
                                - x
                                - 'y'
                                - width
                                - height
                                - unit
                              additionalProperties: {}
                          required:
                            - id
                            - bounds
                          additionalProperties: {}
                      asset_type:
                        type: string
                        enum:
                          - webhook
                      requirements:
                        type: object
                        properties:
                          methods:
                            type: array
                            items:
                              anyOf:
                                - type: string
                                  enum:
                                    - GET
                                - type: string
                                  enum:
                                    - POST
                        additionalProperties: {}
                    required:
                      - asset_id
                      - required
                      - asset_type
                    additionalProperties: {}
          required:
            - item_type
            - asset_group_id
            - required
            - min_count
            - max_count
            - assets
          additionalProperties: {}
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or access token

````