Sometimes is usefull to give a contextual information to a field.

Other protocols like protobuf support annotations through what they call
Option <https://protobuf.dev/programming-guides/proto3/#customoptions>
which allows the following customization (uuid field annotation):


```
message FarmerRegisteredEvent {

  string uuid = 1[(pi2schema.subject_identifier) = true];

  oneof personalData {
    ContactInfo contactInfo = 2;
    pi2schema.EncryptedPersonalData encryptedPersonalData = 6;
  }

  google.protobuf.Timestamp registeredAt = 4;
  string referrer = 5;

}
```


Would it be possible to add such metadata information in an avro schema?
----
Gustavo Monarin de Sousa

Reply via email to