def _formatActualSchema(schema, title, schema_store):
 (yield '.. hidden-code-block:: json')
 (yield ('    :label: ' + title))
 (yield '    :starthidden: True')
 (yield '')
 schema = resolveSchema(schema, schema_store)
 lines = json.dumps(schema, indent=4, separators=(',', ': '), sort_keys=True).splitlines()
 for line in lines:
  (yield ('    ' + line))
 (yield '')

def _formatActualSchema ( schema , title , schema_store ) : ( yield '.. hidden-code-block:: json' ) ( yield ( '    :label: ' + title ) ) ( yield '    :starthidden: True' ) ( yield '' ) schema = resolveSchema ( schema , schema_store ) lines = json . dumps ( schema , indent = 4 , separators = ( ',' , ': ' ) , sort_keys = True ) . splitlines ( ) for line in lines : ( yield ( '    ' + line ) ) ( yield '' )
format a schema to restructuredtext .