Closed kauffj closed 2 years ago
@lyoshenka what is next for this?
i need to do this eventually
the solution we're going with is to put type-specific fields into their own types
https://github.com/lbryio/types/blob/master/v2/proto/claim.proto#L27
Recent changes are add new fields like
duration
which do not apply to all media types (a spreadsheet does not have a duration).We could easily end up with thousands of metadata properties when we consider type-specific attributes.
What's the correct pattern for this? If it's to define type-specific metadata structures, then it may not be proper to add
duration
at the top-level for all items.