# How to Reuse json-schema in Postman

**URL:** <https://community.postman.com/t/how-to-reuse-json-schema-in-postman/7754>\
**Category:** Help Hub\
**Tags:** automation, json, postman-api, ajv\
**Created:** [September 12, 2019, 8:11pm UTC](https://community.postman.com/t/how-to-reuse-json-schema-in-postman/7754 "2019-09-12T20:11:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![suraj.purohit](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@suraj.purohit](https://community.postman.com/u/suraj.purohit)\
**Post date:** [September 12, 2019, 8:27pm UTC](https://community.postman.com/t/how-to-reuse-json-schema-in-postman/7754/2 "2019-09-12T20:27:42Z")

</div>

Hi @Nisrine,

Welcome to community 👋

This looks similar to [How to save schema to environment and reuse it after](https://community.postman.com/t/how-to-save-schema-to-environment-and-reuse-it-after/1359). Please check this and let me know if this what you are looking for?

Useful Links:

> [@How to save schema to environment and reuse it after](https://community.postman.com/t/how-to-save-schema-to-environment-and-reuse-it-after/1359/2):
>
> Hey @alzarka, this looks quite similar to [How to save schema to environment and reuse it after](https://community.postman.com/t/how-to-save-schema-to-environment-and-reuse-it-after/1359). You can reuse schema definitions across requests as follows: Save pictureSchema into an environment variable as follows: pm.environment.set('picture\_schema', JSON.stringify(schemaPicture)); In the script where commentSchema is defined, refer pictureSchema as follows: const commentSchema = { . . . "picture": JSON.parse(pm.environment.get('picture\_schema')) . . . } In this m…

> [@JSON reusable schema](https://community.postman.com/t/json-reusable-schema/1345):
>
> Hello, I need little help. I created JSON schema which I want to validate, and I want to reuse that schema in other requests. I tried to set up as an environment variable and then to call it from other test, but when I checked value in env variable it was storred as Object [object]

---

_[View the full topic](https://community.postman.com/t/how-to-reuse-json-schema-in-postman/7754)._
