There's an issue in our Hip412Validator class related to how certain validation methods incorrectly handle the format field. These methods were using the wrong schema, leading to validation errors in our SDK. Specifically, the presence of the format field was mistakenly identified as unnecessary, resulting in "redundant keys detected: format" errors.
This misunderstanding contradicts the specifications laid out in the Hedera documentation, which states:
creator, creator DID, format, attributes, files, properties and localization are optional and do not need to be included in the metadata.
Expected Outcome:
The format field should be acknowledged as an optional field within our validation schemas.
The validation methods in the Hip412Validator class need updates to correctly handle the format field and avoid mistakenly flagging it as redundant.
There's an issue in our Hip412Validator class related to how certain validation methods incorrectly handle the format field. These methods were using the wrong schema, leading to validation errors in our SDK. Specifically, the presence of the format field was mistakenly identified as unnecessary, resulting in "redundant keys detected: format" errors.
This misunderstanding contradicts the specifications laid out in the Hedera documentation, which states:
Expected Outcome: