ModerationTemplateRuleConfigurationInput

  • appliesTo
    Type: string enum
    values
    • first_image
    • all_images
  • approvalFeedbackMessage
    Type: string | null
    max length:  
    2000
  • description
    Type: string
    max length:  
    5000
  • details
    Type: string
    max length:  
    5000
  • label
    Type: string
    max length:  
    256
  • referenceImages
    Type: array object[] · ModerationTemplateReferenceImageInput[] …50
    • role
      Type: string enum
      required
      values
      • allowed
      • disallowed
    • sortOrder
      Type: integer
      min:  
      0
      required

      Integer numbers.

    • storageKey
      Type: string
      min length:  
      1
      max length:  
      1024
      required

      Key of an image already uploaded to Youzu-managed storage

    • assetUrl
      Type: string
      max length:  
      2048
      Format: uri

      Optional canonical Youzu URL matching storageKey; arbitrary URLs are rejected

    • caption
      Type: string | null
      max length:  
      1000
    • mimeType
      Type: string enum
      values
      • image/jpeg
      • image/png
      • image/webp
  • unpublishOnViolation
    Type: boolean