code: def json_response_schema( expected_object_schema ):
      
      schema = {
          'type': 'object',
          'properties': {
              'status': {
                  'type': 'boolean',
              },
              'indexing': {
                  'type': 'boolean',
              },
              'lastblock': {
                  'anyOf': [
                      {
                          'type': 'integer',
                          'minimum': 0,
                      },
                      {
                          'type': 'null',
                      },
                  ],
              },
          },
          'required': [
              'status',
              'indexing',
              'lastblock'
          ],
      }
  
      # fold in the given object schema
      schema['properties'].update( expected_object_schema['properties'] )
      schema['required'] = list(set( schema['required'] + expected_object_schema['required'] ))
  
      return schema
docs: Make a schema for a "standard" server response.
      Standard server responses have 'status': True
      and possibly 'indexing': True set.