How to Reuse json-schema in Postman

How can I reuse this json-schema in postman without copying and pasting it in different postman requests:

“languages”:{
“type”: “array”,
“items” : [
{“type”: “object”,
“properties” :
{
“id”: {“type”: [“null”, “number”]},
“locale”: {“type”: [“null”, “string”]},
“name”: {“type”: [“null”, “string”]},
“created_at”: {“type”: [“null”, “string”]},
“updated_at”: {“type”: [“null”, “string”]},
“deleted_at”: {“type”: [“null”, “string”]},

                    "pivot": {"type": "object",
                    "properties" :{
                        "op_city_id": {"type": ["null", "number"]} ,
                        "language_id": {"type": ["null", "number"]}
                    }
                }}}]}

Hi @Nisrine,

Welcome to community :wave:

This looks similar to How to save schema to environment and reuse it after. Please check this and let me know if this what you are looking for?

Useful Links:

2 Likes

Thank you it worked :grinning:

Thank you for this info. I was looking also for this solution :slight_smile: