{
  "version": 3,
  "sources": ["../../../../src/schemas/3.1/processed/xml-object.ts"],
  "sourcesContent": ["import { z } from 'zod'\n\n/**\n *\n * XML Object\n *\n * A metadata object that allows for more fine-tuned XML model definitions.\n *\n * When using arrays, XML element names are not inferred (for singular/plural forms) and the name field SHOULD be used\n * to add that information. See examples for expected behavior.\n *\n * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.1.md#xml-object\n */\nexport const XmlObjectSchema = z.object({\n  /**\n   * Replaces the name of the element/attribute used for the described schema property.\n   */\n  name: z.string().optional(),\n\n  /**\n   * The URI of the namespace definition. Value MUST be in the form of a URL.\n   */\n  namespace: z.string().optional(),\n\n  /**\n   * The prefix to be used for the name.\n   */\n  prefix: z.string().optional(),\n\n  /**\n   * Declares whether the property definition translates to an attribute instead of an element.\n   * Default value is false.\n   */\n  attribute: z.boolean().optional(),\n\n  /**\n   * MAY be used only for an array definition.\n   * Signifies whether the array is wrapped (for example, <books><book/><book/></books>)\n   * or unwrapped (<book/><book/>). Default value is false.\n   */\n  wrapped: z.boolean().optional(),\n})\n\n// not used but kept for consistency\n// export type XMLObject = z.infer<typeof XmlObjectSchema>\n"],
  "mappings": "AAAA,SAAS,SAAS;AAaX,MAAM,kBAAkB,EAAE,OAAO;AAAA;AAAA;AAAA;AAAA,EAItC,MAAM,EAAE,OAAO,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA,EAK1B,WAAW,EAAE,OAAO,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA,EAK/B,QAAQ,EAAE,OAAO,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,EAM5B,WAAW,EAAE,QAAQ,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOhC,SAAS,EAAE,QAAQ,EAAE,SAAS;AAChC,CAAC;",
  "names": []
}
