From 18075527d884aa819c4d975eb5d342c323d3ca6b Mon Sep 17 00:00:00 2001 From: Kratos2k7 Date: Fri, 3 Apr 2026 07:33:29 +0500 Subject: [PATCH] refactor: update SvgAsset schema description and examples for clarity --- schemas/svgasset.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/schemas/svgasset.yaml b/schemas/svgasset.yaml index cd74343..32b5475 100644 --- a/schemas/svgasset.yaml +++ b/schemas/svgasset.yaml @@ -2,13 +2,6 @@ SvgAsset: description: | The SvgAsset is used to add scalable vector graphics (SVG) to a video using raw SVG markup. - ```json - { - "type": "svg", - "src": "" - } - ``` - **Supported elements:** ``, ``, ``, ``, ``, ``, `` @@ -31,16 +24,17 @@ SvgAsset: example: svg src: description: | - Raw SVG markup string. The shape, fill, stroke, dimensions and opacity - are automatically extracted from the SVG content. + Raw SVG markup string. The SVG must contain valid SVG elements. The shape, + fill, stroke, dimensions and opacity are automatically extracted from the + SVG content. type: string minLength: 1 maxLength: 500000 - example: '' + example: "" additionalProperties: false required: - type - src example: type: svg - src: '' + src: ""