code: def record_schema(self):
          
          schema_path = current_jsonschemas.url_to_path(self['$schema'])
          schema_prefix = current_app.config['DEPOSIT_JSONSCHEMAS_PREFIX']
          if schema_path and schema_path.startswith(schema_prefix):
              return current_jsonschemas.path_to_url(
                  schema_path[len(schema_prefix):]
              )
docs: Convert deposit schema to a valid record schema.