Values_2.RegisterSchemaVersionResponseSourceAdds a new version to the existing schema. Returns an error if new version of schema does not meet the compatibility requirements of the schema set. This API will not create a new schema set and will return a 404 error if the schema set is not already present in the Schema Registry. If this is the first schema definition to be registered in the Schema Registry, this API will store the schema version and return immediately. Otherwise, this call has the potential to run longer than other operations due to compatibility modes. You can call the GetSchemaVersion API with the SchemaVersionId to check compatibility modes. If the same schema definition is already stored in Schema Registry as a version, the schema ID of the existing schema is returned to the caller.
type nonrec t = {schemaVersionId : Values_0.SchemaVersionIdString.t option;The unique ID that represents the version of this schema.
*)versionNumber : Values_0.VersionLongNumber.t option;The version of this schema (for sync flow only, in case this is the first version).
*)status : Values_1.SchemaVersionStatus.t option;The status of the schema version.
*)}type nonrec error = [ | `AccessDeniedException of Values_0.AccessDeniedException.t| `ConcurrentModificationException of Values_1.ConcurrentModificationException.t| `EntityNotFoundException of Values_0.EntityNotFoundException.t| `InternalServiceException of Values_0.InternalServiceException.t| `InvalidInputException of Values_0.InvalidInputException.t| `ResourceNumberLimitExceededException of
Values_0.ResourceNumberLimitExceededException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `ConcurrentModificationException of
Values_1.ConcurrentModificationException.t
| `EntityNotFoundException of Values_0.EntityNotFoundException.t
| `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidInputException of Values_0.InvalidInputException.t
| `ResourceNumberLimitExceededException of
Values_0.ResourceNumberLimitExceededException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `ConcurrentModificationException of
Values_1.ConcurrentModificationException.t
| `EntityNotFoundException of Values_0.EntityNotFoundException.t
| `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidInputException of Values_0.InvalidInputException.t
| `ResourceNumberLimitExceededException of
Values_0.ResourceNumberLimitExceededException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Long of Values_0.VersionLongNumber.t
| `String of Values_0.SchemaVersionIdString.t ])
list ]