{
  "version": 3,
  "sources": ["../../../../src/schemas/3.1/processed/media-type-object.ts"],
  "sourcesContent": ["import { z } from 'zod'\nimport { EncodingObjectSchema } from './encoding-object'\nimport { ExampleObjectSchema } from './example-object'\nimport { SchemaObjectSchema } from './schema-object'\n\n/**\n * Media Type Object\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 MediaTypeObjectSchema = 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  /**\n   * A map between a property name and its encoding information. The key, being the property name, MUST exist in the\n   * schema as a property. The encoding object SHALL only apply to requestBody objects when the media type is\n   * multipart or application/x-www-form-urlencoded.\n   */\n  encoding: z.record(z.string(), EncodingObjectSchema).optional(),\n})\n"],
  "mappings": "AAAA,SAAS,SAAS;AAClB,SAAS,4BAA4B;AACrC,SAAS,2BAA2B;AACpC,SAAS,0BAA0B;AAS5B,MAAM,wBAAwB,EAAE,OAAO;AAAA;AAAA;AAAA;AAAA,EAI5C,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;AAAA;AAAA;AAAA,EAM7D,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,oBAAoB,EAAE,SAAS;AAChE,CAAC;",
  "names": []
}
