AssetSpec

  • type
    Type: stringenum
    required

    Asset content type

    values
    • html
    • image
    • pdf
    • style
    • markdown
    • text
    • json
    • partial
  • content
    Type: string

    Inline text content for text-based assets (html, style, markdown, text, json, partial)

  • fileId
    Type: string

    File ID for binary assets (image, pdf)

  • htmlConfig
    Type: object

    Configuration for HTML assets

    • images
      Type: array object[]
    • partials
      Type: array object[]
    • pdfSettings
      Type: object
    • styles
      Type: array object[]
    • viewModelSchemaKey
      Type: string

      Schema key for the view model data

    • viewModelSchemaVersion
      Type: string