(schemas: List[JsonSchema])
Given a list of schemas, if any of them are
    anyOf schemas, lift them out to the top level
Given a list of schemas, if any of them are
    anyOf schemas, lift them out to the top level
Given a list of schemas if any of them are anyOf schemas lift them out to the top level
def liftAnyOf(schemas: List[JsonSchema]) -> Iterable[JsonSchema]:
    """Given a list of schemas, if any of them are
    anyOf schemas, lift them out to the top level
    """
    for sch in schemas:
        schs2 = toAnyOfList(sch)
        for s in schs2:
            yield s
def liftAnyOf ( schemas : List [ JsonSchema ] ) -> Iterable [ JsonSchema ] : for sch in schemas : schs2 = toAnyOfList ( sch ) for s in schs2 : yield s