{
  "version": 3,
  "sources": ["../../../../src/schemas/3.1/unprocessed/response-object.ts"],
  "sourcesContent": ["import { z } from 'zod'\nimport { ResponseObjectSchema as OriginalResponseObjectSchema } from '../processed/response-object'\nimport { HeaderObjectSchema } from './header-object'\nimport { LinkObjectSchema } from './link-object'\nimport { MediaTypeObjectSchema } from './media-type-object'\nimport { ReferenceObjectSchema } from './reference-object'\n\n/**\n * Response Object\n *\n * Describes a single response from an API operation, including design-time, static links to operations based on the response.\n *\n * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#response-object\n */\nexport const ResponseObjectSchema = OriginalResponseObjectSchema.extend({\n  /**\n   * Maps a header name to its definition. RFC7230 states header names are case insensitive. If a response header is\n   * defined with the name \"Content-Type\", it SHALL be ignored.\n   */\n  headers: z.record(z.string(), z.union([ReferenceObjectSchema, HeaderObjectSchema])).optional(),\n  /**\n   * A map containing descriptions of potential response payloads. The key is a media type or media type range and the\n   * value describes it. For responses that match multiple keys, only the most specific key is applicable. e.g.\n   * \"text/plain\" overrides \"text/*\"\n   */\n  content: z.record(z.string(), MediaTypeObjectSchema).optional(),\n  /**\n   * A map of operations links that can be followed from the response. The key of the map is a short name for the link,\n   * following the naming constraints of the names for Component Objects.\n   */\n  links: z.record(z.string(), z.union([ReferenceObjectSchema, LinkObjectSchema])).optional(),\n})\n"],
  "mappings": "AAAA,SAAS,SAAS;AAClB,SAAS,wBAAwB,oCAAoC;AACrE,SAAS,0BAA0B;AACnC,SAAS,wBAAwB;AACjC,SAAS,6BAA6B;AACtC,SAAS,6BAA6B;AAS/B,MAAM,uBAAuB,6BAA6B,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,MAAM,CAAC,uBAAuB,kBAAkB,CAAC,CAAC,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM7F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,qBAAqB,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,EAK9D,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,MAAM,CAAC,uBAAuB,gBAAgB,CAAC,CAAC,EAAE,SAAS;AAC3F,CAAC;",
  "names": []
}
