def kids
import ezmcp@0.1.0.0/src/openapi.bend as Openapiimport Base
508# what a schema's members recurse into: its properties' cells when its
509# type is "object" and its properties an object, its items when its type is
510# "array" and its items an object, else nothing
511def kids(+ps: List<&2, Mem()>) -> Kids:
512 +typ = value(ps, "type")
513 kids.of(is_str(typ, "object"), is_str(typ, "array"), ps)