{
  "version": 3,
  "sources": ["../../../../src/schemas/3.1/processed/request-body-object.ts"],
  "sourcesContent": ["import { z } from 'zod'\nimport { EncodingObjectSchema } from './encoding-object'\nimport { MediaTypeObjectSchema } from './media-type-object'\n\n/**\n * Request Body Object\n *\n * Describes a single request body.\n *\n * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#request-body-object\n */\nexport const RequestBodyObjectSchema = z.object({\n  /**\n   * A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation.\n   */\n  description: z.string().optional(),\n  /**\n   * REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it. For requests that match multiple keys, only the most specific key is applicable. e.g. \"text/plain\" overrides \"text/*\"\n   */\n  content: z.record(z.string(), MediaTypeObjectSchema),\n  /**\n   * Determines if the request body is required in the request. Defaults to false.\n   */\n  required: z.boolean().optional(),\n  /**\n   * Only mentioned in the example:\n   *\n   * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#request-body-object\n   */\n  encoding: z.record(z.string(), EncodingObjectSchema).optional(),\n})\n"],
  "mappings": "AAAA,SAAS,SAAS;AAClB,SAAS,4BAA4B;AACrC,SAAS,6BAA6B;AAS/B,MAAM,0BAA0B,EAAE,OAAO;AAAA;AAAA;AAAA;AAAA,EAI9C,aAAa,EAAE,OAAO,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA,EAIjC,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,qBAAqB;AAAA;AAAA;AAAA;AAAA,EAInD,UAAU,EAAE,QAAQ,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM/B,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,oBAAoB,EAAE,SAAS;AAChE,CAAC;",
  "names": []
}
