# yaml-language-server: $schema=https://unpkg.com/@ibm/telemetry-config-schema@v1/dist/config.schema.json

version: 1
projectId: 2f9e5850-9687-434e-9ce0-8aa5ac05fa3f
endpoint: https://www-api.ibm.com/ibm-telemetry/v1/metrics
collect:
  jsx:
    elements:
      allowedAttributeNames:
        # General
        - _id
        - actionIcon
        - aspectRatio
        - children
        - className
        - colLg
        - colMd
        - color
        - disabled
        - headingClassName
        - href
        - src
        - subTitle
        - title
        - type
        # AnchorLink
        - to
        # AnchorLinks
        - small
        # ArticleCard
        - author
        - date
        - readTime
        # Aside
        - hideRule
        # AutolinkHeader
        - is
        # Column
        - colMax
        - colSm
        - colXl
        - offsetLg
        - offsetMax
        - offsetMd
        - offsetSm
        - offsetXl
        # DoDont
        - caption
        - captionTitle
        - text
        # GifPlayer
        - isInDialog
        # H2
        - noAnchor
        # H4
        - autolink
        # InlineNotification
        - kind
        # MiniCard
        - linkProps
        # P
        - large
        # Path
        - path
        # Preview
        - height
        - style
        # ResourceCard
        - component
        # StorybookDemo
        - tall
        - themeSelector
        - url
        - variants
        - wide
        # Tab
        - active
        - index
        - label
        - tab
        # Video
        - autoPlay
        - muted
        - poster
        - vimeoId
        # React
        - key
        - ref
      allowedAttributeStringValues:
        # General - actionIcon
        - arrowRight
        - calendar
        - disabled
        - download
        - email
        - launch
        # General - aspectRatio
        - 1:1
        - 1:2
        - 16:9
        - 2:1
        - 3:4
        - 4:3
        - 9:16
        # General - color
        - dark
        - light
        # General - type
        - do
        - dont
        - fixed
        # AutolinkHeader - is
        - h1
        - h2
        - h3
        - h4
        - h5
        - h6
        # InlineNotification - kind
        - error
        - info
        - success
        - warning
  npm:
    dependencies: null
  js:
    functions: {}
    tokens: null
