def generate_schema_mapping(resolver, schema_uri, depth=<NUM_LIT:1>):
visitor = SchemaVisitor({'<STR_LIT>': schema_uri}, resolver)<EOL>return _generate_schema_mapping(visitor, set(), depth)<EOL>
Try and recursively iterate a JSON schema and to generate an ES mapping
    that encasulates it.