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: ""