Skip to main content

Markdown template

This function validates that a markdown formatted string property conforms with the provided template.

NameDescriptionTypeRequired
templateThe desired markdown formatted templatestringyes
ruleset.yaml
rules:
valid-markdown-description:
given: '$.model_details.description'
then:
function: template
functionOptions:
template: |
## First section

## Second section