# \#schema

**URL:** https://community.postman.com/tag/schema/165.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [Feedback on v12: Architectural Regressions](https://community.postman.com/t/feedback-on-v12-architectural-regressions/89475)

<div class="topic-metadata">

**Author:** [@devbod](https://community.postman.com/u/devbod)\
**Replies:** 1\
**Last updated:** [March 26, 2026, 1:02pm UTC](https://community.postman.com/t/feedback-on-v12-architectural-regressions/89475 "2026-03-26T13:02:08Z")

</div>

I wanted to share some feedback and raise some serious concerns regarding the new v12 Git Sync architecture, specifically the move from a unified JSON collection (v2.1.0) to a deeply nested, multi-file YAML format. Whil…

---

## [When can generate OpenAPI 3.1 and 3.2 specifications from a collection?](https://community.postman.com/t/when-can-generate-openapi-3-1-and-3-2-specifications-from-a-collection/88038)

<div class="topic-metadata">

**Author:** [@anlex-N](https://community.postman.com/u/anlex-N)\
**Replies:** 1\
**Last updated:** [January 18, 2026, 8:30am UTC](https://community.postman.com/t/when-can-generate-openapi-3-1-and-3-2-specifications-from-a-collection/88038 "2026-01-18T08:30:21Z")

</div>

You can’t generate OpenAPI 2.0 or 3.1 specifications from a collection.

---

## [Where is "Generate from Response" button?](https://community.postman.com/t/where-is-generate-from-response-button/88037)

<div class="topic-metadata">

**Author:** [@anlex-N](https://community.postman.com/u/anlex-N)\
**Replies:** 1\
**Last updated:** [January 15, 2026, 2:08pm UTC](https://community.postman.com/t/where-is-generate-from-response-button/88037 "2026-01-15T14:08:22Z")

</div>

I know “Generate from Response” buttom from Add types to body data with an API collection But I can not find it in the Postman desktop 11.80.2

---

## [Postman Collection Export Limitations (Loss of parameter's additional properties and body schemas)](https://community.postman.com/t/postman-collection-export-limitations-loss-of-parameters-additional-properties-and-body-schemas/83533)

<div class="topic-metadata">

**Author:** [@devdeer-andrii](https://community.postman.com/u/devdeer-andrii)\
**Replies:** 1\
**Last updated:** [August 13, 2025, 2:39pm UTC](https://community.postman.com/t/postman-collection-export-limitations-loss-of-parameters-additional-properties-and-body-schemas/83533 "2025-08-13T14:39:37Z")

</div>

Overview Recently I started importing collections using OpenAPI JSON-files. Of course this gives all advantages of having parameter types in requests, JSON-body’s verification and so on. Below are some examples: …

---

## [Postman and Swagger 2.0 compatibility issue](https://community.postman.com/t/postman-and-swagger-2-0-compatibility-issue/47788)

<div class="topic-metadata">

**Author:** [@sreekanth.mondeli](https://community.postman.com/u/sreekanth.mondeli)\
**Replies:** 0\
**Last updated:** [May 24, 2023, 7:27pm UTC](https://community.postman.com/t/postman-and-swagger-2-0-compatibility-issue/47788 "2023-05-24T19:27:45Z")

</div>

Hi Team, I have encountered a situation, where if I specify any members other than “$ref” under schema, the postman will catch it as a syntactical error where as the specification says “Any members other than “$ref” in…

---

## [Support for Type-Related Information in Collections](https://community.postman.com/t/support-for-type-related-information-in-collections/65967)

<div class="topic-metadata">

**Author:** [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Replies:** 0\
**Last updated:** [August 12, 2024, 10:05am UTC](https://community.postman.com/t/support-for-type-related-information-in-collections/65967 "2024-08-12T10:05:43Z")

</div>

Hey Postman Community :postman: We’re working on a new feature that will allow you to specify type-related information within collections, including parameters, JSON bodies, and more. :trophy: We value your feedb…

---

## [Server reflection failing with unknown error](https://community.postman.com/t/server-reflection-failing-with-unknown-error/68421)

<div class="topic-metadata">

**Author:** [@jishantiitkanpur](https://community.postman.com/u/jishantiitkanpur)\
**Replies:** 0\
**Last updated:** [September 14, 2024, 9:31pm UTC](https://community.postman.com/t/server-reflection-failing-with-unknown-error/68421 "2024-09-14T21:31:58Z")

</div>

Postman version 11.12.0 I have a grpc server with reflection enabled. I am able to use it via grpcurl as follows grpcurl -use-reflection -plaintext localhost:8090 list xyz.api.ABCService xyz.api.ABDService However tr…

---

## [Validate JSON Schema using Data File in Collection Runner](https://community.postman.com/t/validate-json-schema-using-data-file-in-collection-runner/49237)

<div class="topic-metadata">

**Author:** [@maclazaro](https://community.postman.com/u/maclazaro)\
**Replies:** 0\
**Last updated:** [July 5, 2023, 10:07am UTC](https://community.postman.com/t/validate-json-schema-using-data-file-in-collection-runner/49237 "2023-07-05T10:07:37Z")

</div>

I have a big/complex Swagger file which has nested schemas used by my endpoints. I’d like to reference these schemas from a data file using the Collection Runner instead of declaring the schemas per endpoint for maintai…

---

## [GraphQL schema fails to load when using token variable](https://community.postman.com/t/graphql-schema-fails-to-load-when-using-token-variable/56660)

<div class="topic-metadata">

**Author:** [@docking-module-cosm4](https://community.postman.com/u/docking-module-cosm4)\
**Replies:** 2\
**Last updated:** [January 17, 2024, 12:30pm UTC](https://community.postman.com/t/graphql-schema-fails-to-load-when-using-token-variable/56660 "2024-01-17T12:30:46Z")

</div>

I was trying to find similar issue, but could not find, so here it is: When trying to load the GraphQL schema in Postman request that uses global bearer token variable as authentication, then the schema loading fails wi…

---

## [Managing Published APIs with Constant API Schema Changes](https://community.postman.com/t/managing-published-apis-with-constant-api-schema-changes/54735)

<div class="topic-metadata">

**Author:** [@hseligson1](https://community.postman.com/u/hseligson1)\
**Replies:** 0\
**Last updated:** [November 17, 2023, 3:39pm UTC](https://community.postman.com/t/managing-published-apis-with-constant-api-schema-changes/54735 "2023-11-17T15:39:36Z")

</div>

Currently we have a GitHub repo integrated with our Postman workspace, where we connect all of our API definitions, generated a collection from the definition and instruct end users to fork from the API to ensure access …

---

## [Unable to import API definition from Swagger docs](https://community.postman.com/t/unable-to-import-api-definition-from-swagger-docs/50152)

<div class="topic-metadata">

**Author:** [@cindi-qa](https://community.postman.com/u/cindi-qa)\
**Replies:** 2\
**Last updated:** [August 2, 2023, 11:30am UTC](https://community.postman.com/t/unable-to-import-api-definition-from-swagger-docs/50152 "2023-08-02T11:30:30Z")

</div>

My question: Was ungraded to 10.16.4 on July 25 and now I am unable to import my API definitions from Swagger as the option is greyed out when I enter in the URL needed to access the information. Details (like screensh…

---

## [How to automatically validate response json schema based on API definition(yaml)](https://community.postman.com/t/how-to-automatically-validate-response-json-schema-based-on-api-definition-yaml/44548)

<div class="topic-metadata">

**Author:** [@v-andre](https://community.postman.com/u/v-andre)\
**Replies:** 0\
**Last updated:** [February 28, 2023, 2:06pm UTC](https://community.postman.com/t/how-to-automatically-validate-response-json-schema-based-on-api-definition-yaml/44548 "2023-02-28T14:06:40Z")

</div>

My question: How can I automate schema validation at a higher folder level to compare with api YAML definition from workspace. I am a big fan of the DRY principle, as such, I am putting my tests at higher folder levels…

---

## [Error: Too many levels of nesting to fake this schema](https://community.postman.com/t/error-too-many-levels-of-nesting-to-fake-this-schema/43681)

<div class="topic-metadata">

**Author:** [@declannolan](https://community.postman.com/u/declannolan)\
**Replies:** 2\
**Last updated:** [February 7, 2023, 6:05pm UTC](https://community.postman.com/t/error-too-many-levels-of-nesting-to-fake-this-schema/43681 "2023-02-07T18:05:52Z")

</div>

I’m getting the following error in a POST request when I create a Collection from an OpenAPI definition I have created in Postman: The ‘created\_on’ element in the screenshot is defined in the OpenAPI definition insid…

---

## [Sharing schema definition between two collections for schema validation (either tv4 or ajv)](https://community.postman.com/t/sharing-schema-definition-between-two-collections-for-schema-validation-either-tv4-or-ajv/38053)

<div class="topic-metadata">

**Author:** [@andriykalashnykov](https://community.postman.com/u/andriykalashnykov)\
**Replies:** 1\
**Last updated:** [August 10, 2022, 11:16am UTC](https://community.postman.com/t/sharing-schema-definition-between-two-collections-for-schema-validation-either-tv4-or-ajv/38053 "2022-08-10T11:16:13Z")

</div>

If a developer wants to use same schema definition (same variable) in different collections what are advisable options? Today we just copy and paste the same schema definition variable in each collection (Pre-request Sc…

---

## [What is the difference between these two schema validation tests?](https://community.postman.com/t/what-is-the-difference-between-these-two-schema-validation-tests/37877)

<div class="topic-metadata">

**Author:** [@w4dd325](https://community.postman.com/u/w4dd325)\
**Replies:** 0\
**Last updated:** [August 4, 2022, 10:15am UTC](https://community.postman.com/t/what-is-the-difference-between-these-two-schema-validation-tests/37877 "2022-08-04T10:15:27Z")

</div>

After reading about schema validation I came across both of the code snippets below. but I’m not sure I understand the difference between the two. Is anybody able to explain the difference or point me to relevant documen…

---

## [Validating a schema has all the right properties and nothing more](https://community.postman.com/t/validating-a-schema-has-all-the-right-properties-and-nothing-more/36685)

<div class="topic-metadata">

**Author:** [@thingmie](https://community.postman.com/u/thingmie)\
**Replies:** 2\
**Last updated:** [July 1, 2022, 11:13am UTC](https://community.postman.com/t/validating-a-schema-has-all-the-right-properties-and-nothing-more/36685 "2022-07-01T11:13:32Z")

</div>

Hi, my schema: { "data": { "me": { "firstName": "David", "lastName": "Robert", "myNumber": "ZZ", "myBranch": { "cCode": "GB", "…

---

## [Include a .json file to reuse a JSON schema](https://community.postman.com/t/include-a-json-file-to-reuse-a-json-schema/27372)

<div class="topic-metadata">

**Author:** [@stefano.rotini](https://community.postman.com/u/stefano.rotini)\
**Replies:** 0\
**Last updated:** [September 1, 2021, 12:41pm UTC](https://community.postman.com/t/include-a-json-file-to-reuse-a-json-schema/27372 "2021-09-01T12:41:11Z")

</div>

Hello, I’m using the JSON schema for the validation under the tab “Tests”. I need to reuse the same script for differents endpoints. How can I do it? Is it possible to import a file such shown below \[see $ref\]? {…

---

## [Schema validation](https://community.postman.com/t/schema-validation/24729)

<div class="topic-metadata">

**Author:** [@navigation-physicist](https://community.postman.com/u/navigation-physicist)\
**Replies:** 0\
**Last updated:** [June 9, 2021, 8:30pm UTC](https://community.postman.com/t/schema-validation/24729 "2021-06-09T20:30:41Z")

</div>

pm.response.to.have.jsonSchema is not working!! I am using a http://json-schema.org/draft-07/schema and when changing anything in the schema the answer is always “PASS” Could it be because my response is a huge json?

---

## [Solved: nested schema issue & promoting JSON body parameters to path description](https://community.postman.com/t/solved-nested-schema-issue-promoting-json-body-parameters-to-path-description/22733)

<div class="topic-metadata">

**Author:** [@nathan.verrilli](https://community.postman.com/u/nathan.verrilli)\
**Replies:** 1\
**Last updated:** [April 16, 2021, 11:14am UTC](https://community.postman.com/t/solved-nested-schema-issue-promoting-json-body-parameters-to-path-description/22733 "2021-04-16T11:14:30Z")

</div>

TL;DR: Command line program to expand YAML or JSON references in an OAS 3 specification and create tables for JSON body object parameters in the main POST description, YAMLFIX at github.com/XTRM-Solutions/yamlfix. My co…

---

## [There is -1 issue remaining / X issues found for API schema validation](https://community.postman.com/t/there-is-1-issue-remaining-x-issues-found-for-api-schema-validation/18943)

<div class="topic-metadata">

**Author:** [@juliehive](https://community.postman.com/u/juliehive)\
**Replies:** 7\
**Last updated:** [January 29, 2021, 4:18am UTC](https://community.postman.com/t/there-is-1-issue-remaining-x-issues-found-for-api-schema-validation/18943 "2021-01-29T04:18:20Z")

</div>

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic. Hi, I’m trying to create API documentation and valida…

---

## [How to import API response schemas into testing env for validation (avoiding having to duplicate parts of schema)](https://community.postman.com/t/how-to-import-api-response-schemas-into-testing-env-for-validation-avoiding-having-to-duplicate-parts-of-schema/19638)

<div class="topic-metadata">

**Author:** [@samag](https://community.postman.com/u/samag)\
**Replies:** 1\
**Last updated:** [January 28, 2021, 12:19pm UTC](https://community.postman.com/t/how-to-import-api-response-schemas-into-testing-env-for-validation-avoiding-having-to-duplicate-parts-of-schema/19638 "2021-01-28T12:19:17Z")

</div>

Hi Postman community! I have recently started using postman for our API documentation + testing and am learning about the various functionality it offers… something I’d love to do but can’t seem to figure out whether it…

---

## [How to print the schema validation in console?](https://community.postman.com/t/how-to-print-the-schema-validation-in-console/19415)

<div class="topic-metadata">

**Author:** [@tarekalba](https://community.postman.com/u/tarekalba)\
**Replies:** 2\
**Last updated:** [January 23, 2021, 1:45am UTC](https://community.postman.com/t/how-to-print-the-schema-validation-in-console/19415 "2021-01-23T01:45:18Z")

</div>

Hi, I am trying to print the results of pm.test, but so far failed to do so. e.g. I want to print this in the console: pm.test(“Validation schema”, () =\> {pm.response.to.have.jsonSchema(schema); It is a schema validat…

---

## [Parameters from JSON OpenAPI 3.0 schema not displaying in Postman API documentation](https://community.postman.com/t/parameters-from-json-openapi-3-0-schema-not-displaying-in-postman-api-documentation/19139)

<div class="topic-metadata">

**Author:** [@juliehive](https://community.postman.com/u/juliehive)\
**Replies:** 5\
**Last updated:** [January 15, 2021, 4:01pm UTC](https://community.postman.com/t/parameters-from-json-openapi-3-0-schema-not-displaying-in-postman-api-documentation/19139 "2021-01-15T16:01:39Z")

</div>

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic. I’m using an OpenAPI 3.0 JSON schema for my API - I ha…

---

## [Issues for generated collection from API Schema](https://community.postman.com/t/issues-for-generated-collection-from-api-schema/12225)

<div class="topic-metadata">

**Author:** [@vadim.nilov](https://community.postman.com/u/vadim.nilov)\
**Replies:** 2\
**Last updated:** [January 4, 2021, 8:03pm UTC](https://community.postman.com/t/issues-for-generated-collection-from-api-schema/12225 "2021-01-04T20:03:00Z")

</div>

Hi all! I created an API Schema in Postman. I marked all the requests by tags and checked the correctness on https://editor.swagger.io/ Everything looks correct. But when I generate a collection from the scheme I hav…

---

## [Schema validation for request chaining with router](https://community.postman.com/t/schema-validation-for-request-chaining-with-router/18152)

<div class="topic-metadata">

**Author:** [@juliehive](https://community.postman.com/u/juliehive)\
**Replies:** 2\
**Last updated:** [December 17, 2020, 9:44pm UTC](https://community.postman.com/t/schema-validation-for-request-chaining-with-router/18152 "2020-12-17T21:44:15Z")

</div>

Hi, How one would be able to skip schema validation for just one request? Use case: I’m using this method to run through a workflow, which uses a dummy request to start the chain, but I don’t want this dummy request to…

---

## [Additional response headers found in schema:](https://community.postman.com/t/additional-response-headers-found-in-schema/17669)

<div class="topic-metadata">

**Author:** [@juliehive](https://community.postman.com/u/juliehive)\
**Replies:** 3\
**Last updated:** [November 18, 2020, 10:54am UTC](https://community.postman.com/t/additional-response-headers-found-in-schema/17669 "2020-11-18T10:54:10Z")

</div>

I have no idea how to fix this validation error: “Additional response headers found in schema:” Would be grateful for any assistance! Screenshot of the problem Screenshot of response header after successful request…

---

## [Check if an array contains already defined objects](https://community.postman.com/t/check-if-an-array-contains-already-defined-objects/12574)

<div class="topic-metadata">

**Author:** [@plcmaechler](https://community.postman.com/u/plcmaechler)\
**Replies:** 1\
**Last updated:** [May 19, 2020, 6:42am UTC](https://community.postman.com/t/check-if-an-array-contains-already-defined-objects/12574 "2020-05-19T06:42:09Z")

</div>

Hello Community, DRY, how can i check if an array exists of already defined JSON-Items? Background: I have a JSON schema defined var itemSchema = { type: "object", properties: { abc: { type: "string" } } } now my ap…

---

## [Including schema in published docs](https://community.postman.com/t/including-schema-in-published-docs/11429)

<div class="topic-metadata">

**Author:** [@mike.hewitt](https://community.postman.com/u/mike.hewitt)\
**Replies:** 1\
**Last updated:** [March 20, 2020, 1:27pm UTC](https://community.postman.com/t/including-schema-in-published-docs/11429 "2020-03-20T13:27:00Z")

</div>

I have published the documentation for my API collection. When creating the collection in the Postman app, I included the GraphQL schema to enable autocomplete when adjusting queries/mutations. However the schema is no…

---

## [Is it possible to generate graphql schema from an existing api url?](https://community.postman.com/t/is-it-possible-to-generate-graphql-schema-from-an-existing-api-url/8562)

<div class="topic-metadata">

**Author:** [@lucaslopesr](https://community.postman.com/u/lucaslopesr)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 1:50pm UTC](https://community.postman.com/t/is-it-possible-to-generate-graphql-schema-from-an-existing-api-url/8562 "2019-10-29T13:50:33Z")

</div>

Is it possible to generate schema from an existing api url? would be interesting, avoids manually updating the schema.

---

## [Schema validation tv4 return true at all times](https://community.postman.com/t/schema-validation-tv4-return-true-at-all-times/7257)

<div class="topic-metadata">

**Author:** [@Kurmavatar](https://community.postman.com/u/Kurmavatar)\
**Replies:** 1\
**Last updated:** [August 20, 2019, 3:39pm UTC](https://community.postman.com/t/schema-validation-tv4-return-true-at-all-times/7257 "2019-08-20T15:39:59Z")

</div>

Using tv4 to validate schema. The result returns true almost at any time. Steps to reproduce: Generate schema here: https://jsonschema.net/ Copy the schema to the local variable. I did a small change in the schema in…

[Next page](https://community.postman.com/tag/schema/165.md?match_all_tags=true&page=1&tags%5B%5D=schema)
