"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// test/e2e/oneOfWithDupes.ts
var oneOfWithDupes_exports = {};
__export(oneOfWithDupes_exports, {
  input: () => input
});
module.exports = __toCommonJS(oneOfWithDupes_exports);
var input = {
  title: "Test",
  type: "object",
  definitions: {
    a: {
      type: "object",
      title: "a",
      properties: {
        name: {
          type: "string"
        }
      }
    },
    b: {
      type: "object",
      title: "b",
      properties: {
        name: {
          type: "string"
        }
      }
    },
    c: {
      type: "number",
      title: "c"
    },
    d: {
      type: "number"
    }
  },
  properties: {
    a: {
      oneOf: [{ $ref: "#/definitions/a" }]
    },
    b: {
      oneOf: [{ $ref: "#/definitions/a" }, { $ref: "#/definitions/b" }]
    },
    c: {
      oneOf: [{ $ref: "#/definitions/c" }, { $ref: "#/definitions/d" }]
    },
    d: {
      oneOf: [{ $ref: "#/definitions/c" }, { $ref: "#/definitions/c" }, { $ref: "#/definitions/d" }]
    },
    e: {
      oneOf: [{ $ref: "#/definitions/d" }, { $ref: "#/definitions/d" }]
    },
    f: {
      oneOf: [
        { $ref: "#/definitions/a" },
        { $ref: "#/definitions/b" },
        { $ref: "#/definitions/c" },
        { $ref: "#/definitions/d" },
        { $ref: "#/definitions/a" },
        { $ref: "#/definitions/b" },
        { $ref: "#/definitions/c" },
        { $ref: "#/definitions/d" }
      ]
    }
  }
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  input
});
