How to use value.schema in Kafka connet

HI there:
We are now trying to provide the value schema and register the schema into schema registry. But when we set both value convert, schema registry url and value.schema. The schema not show in schema-registry. It is possible to do that? Or we are trying to use SMT to do that. Thanks a lot
The source connector is below

  "name": "cdc-demo-debezium-db2-source-001",
  "config": {
    "connector.class": "com.github.jcustenborder.kafka.connect.spooldir.SpoolDirSchemaLessJsonSourceConnector",
    "tasks.max": "1",
    "topic": "provided_avro_2",
    "flush.size": "1",  
    "key.converter": "",
    "confluent.topic.bootstrap.servers": "broker:29092",
    "confluent.topic.replication.factor": "1",
    "input.file.pattern": "input.json",
    "error.path": "/data/shared/safe/error",
    "finished.path": "/data/shared/safe/finished",
    "value.schema":"{\n  \"name\": \"MyClass\",\n  \"type\": \"record\",\n  \"namespace\": \"com.acme.avro\",\n  \"fields\": [\n    {\n      \"name\": \"id\",\n      \"type\": \"string\"\n    },\n    {\n      \"name\": \"batters\",\n      \"type\": \"string\"\n    }\n  ]\n}"