# How to set schema for YAML file in postman API cycle .How to encode the YAML multiple lines?

**URL:** <https://community.postman.com/t/how-to-set-schema-for-yaml-file-in-postman-api-cycle-how-to-encode-the-yaml-multiple-lines/24615>\
**Category:** Help Hub\
**Created:** [June 7, 2021, 8:13pm UTC](https://community.postman.com/t/how-to-set-schema-for-yaml-file-in-postman-api-cycle-how-to-encode-the-yaml-multiple-lines/24615 "2021-06-07T20:13:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sreecr7](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@sreecr7](https://community.postman.com/u/sreecr7)\
**Post date:** [June 7, 2021, 8:13pm UTC](https://community.postman.com/t/how-to-set-schema-for-yaml-file-in-postman-api-cycle-how-to-encode-the-yaml-multiple-lines/24615/1 "2021-06-07T20:13:10Z")

</div>

{

```
"schema": {

    "language": "yaml",

    "schema": "{{string_schema}}", How to set single line string yaml schema  

    "type": "openapi3"

}

```

}

_How I found the problem_:

_I’ve already tried_:
