code: @Override
      public ValueFormat translate() {
          if (this.valueFormat == null || this.valueFormat.isEmpty()) {
              return ValueFormat.RAW;
          }
  
          switch (this.valueFormat) {
              case "Raw":
                  return ValueFormat.RAW;
              case "SignedData":
                  return ValueFormat.SIGNED_DATA;
              default:
                  throw new AssertionError(String.format("Unknown value for ValueFormat: '%s'", this.valueFormat));
          }
      }
docs: {@inheritDoc}