will generate the n2m table for a given schema

  • Parameters

    • typeName: string

      the name of the type

    • properties: { [key: string]: JSONSchema7Definition } = {}

      the properties object

    • visited: WeakSet<any>

      a weakset to keep track of visited types

    • prefix: string = ""

      the prefix for the properties

    Returns any