Trying to Update existing schema in SchemaRegistry, but having error: Schema being registered is incompatible with an earlier schema for subject "kafka-2906-value"
Existing JSON schema: {"subject":"kafka-2906-value","version":1,"id":12,"schemaType":"JSON","schema":"{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"InvoiceId":{"type":"integer"},"InvoiceNo":{"type":"string"},"Amount":{"type":"number"},"IsPaid":{"type":"boolean"}}}
Updated curl command with JSON schema: curl -X POST -H "Content-Type: application/vnd.schemaregistry.v1+json" \ --data '{"schemaType":"JSON","schema":"{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"InvoiceId":{"type":"integer"},"InvoiceNo":{"type":"string"}}}"}'
http://schema-registry-1234567.xx-xxx-1.eee.amazonaws.com:8082/subjects/kafka-2906-value/versions