{
  "version": 3,
  "sources": ["../../../../src/schemas/3.1/processed/media-type-object-without-encoding.ts"],
  "sourcesContent": ["import { z } from 'zod'\nimport { ExampleObjectSchema } from './example-object'\nimport { SchemaObjectSchema } from './schema-object'\n\n/**\n * Media Type Object (without encoding)\n *\n * Each Media Type Object provides schema and examples for the media type identified by its key.\n *\n * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#media-type-object\n */\nexport const MediaTypeObjectSchemaWithoutEncoding = z.object({\n  /**\n   * The schema defining the content of the request, response, or parameter.\n   */\n  schema: SchemaObjectSchema.optional(),\n  /**\n   * Example of the media type. The example object SHOULD be in the correct format as specified by the media type.\n   * The example field is mutually exclusive of the examples field. Furthermore, if referencing a schema which contains\n   * an example, the example value SHALL override the example provided by the schema.\n   */\n  example: z.any().optional(),\n  /**\n   * Examples of the media type. Each example object SHOULD match the media type and specified schema if present.\n   * The examples field is mutually exclusive of the example field. Furthermore, if referencing a schema which contains\n   * an example, the examples value SHALL override the example provided by the schema.\n   */\n  examples: z.record(z.string(), ExampleObjectSchema).optional(),\n  // Note: Don't add `encoding` here.\n  // The MediaTypeObjectSchema is used in multiple places. And when it's used in headers, we don't want the encoding.\n  // That's what the OpenAPI specification says.\n})\n"],
  "mappings": "AAAA,SAAS,SAAS;AAClB,SAAS,2BAA2B;AACpC,SAAS,0BAA0B;AAS5B,MAAM,uCAAuC,EAAE,OAAO;AAAA;AAAA;AAAA;AAAA,EAI3D,QAAQ,mBAAmB,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMpC,SAAS,EAAE,IAAI,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM1B,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,mBAAmB,EAAE,SAAS;AAAA;AAAA;AAAA;AAI/D,CAAC;",
  "names": []
}
