func recordSchemaRaw(schema interface{}) RecordSetter {
	return func(r *Record) error {
		var ok bool
		r.schemaMap, ok = schema.(map[string]interface{})
		if !ok {
			return newCodecBuildError("record", "expected: map[string]interface{}; received: %T", schema)
		}
		return nil
	}
}
// recordSchemaRaw specifies the schema of the record to create. Schema
// must be `map[string]interface{}`.
recordSchemaRaw specifies the schema of the record to create. Schema
must be `map[string]interface{}`.
// recordSchemaRaw specifies the schema of the record to create . Schema // must be ` map [ string ] interface {} ` .
func recordSchemaRaw(schema interface{}) RecordSetter {
	return func(r *Record) error {
		var ok bool
		r.schemaMap, ok = schema.(map[string]interface{})
		if !ok {
			return newCodecBuildError("record", "expected: map[string]interface{}; received: %T", schema)
		}
		return nil
	}
}
func recordSchemaRaw ( schema interface { } ) RecordSetter { return func ( r * Record ) error { var ok bool r . schemaMap , ok = schema . ( map [ string ] interface { } ) if ! ok { return newCodecBuildError ( " " , " " , schema ) } return nil } }
recordSchemaRaw specifies the schema of the record to create.
recordSchemaRaw specifies the schema of the record to create .