// Code generated by Azure.Iot.Operations.ProtocolCompilerLib v0.10.0.0; DO NOT EDIT.
package schemaregistry

// Schema object
type Schema struct {

	// Human-readable description of the schema.
	Description *string `json:"description,omitempty"`

	// Human-readable display name.
	DisplayName *string `json:"displayName,omitempty"`

	// Format of the schema.
	Format Format `json:"format"`

	// Hash of the schema content.
	Hash *string `json:"hash,omitempty"`

	// Schema name.
	Name string `json:"name"`

	// Schema registry namespace. Uniquely identifies a schema registry within a tenant.
	Namespace string `json:"namespace"`

	// Content stored in the schema.
	SchemaContent string `json:"schemaContent"`

	// Type of the schema.
	SchemaType SchemaType `json:"schemaType"`

	// Schema tags.
	Tags map[string]string `json:"tags,omitempty"`

	// Version of the schema. Allowed between 0-9.
	Version string `json:"version"`
}
