getSubschemas

getSubschemas(subs: SchemaNDict input);

The getSubschemas method of the Schema class adds all subschemas of the receiving schema to the dictionary specified in the subs parameter.

As this method is not recursive, only the immediate (that is, the direct descendant) subschemas of the receiver are returned.