class ImageMetadataOutput implements JsonTemplate {

  @VisibleForTesting
  static ImageMetadataOutput fromJson(String json) throws IOException {
    return JsonTemplateMapper.readJson(json, ImageMetadataOutput.class);
  }

  @JsonCreator  ImageMetadataOutput(
      @JsonProperty(value = "image", required = true) String image,
      @JsonProperty(value = "imageId", required = true) String imageId,
      @JsonProperty(value = "imageDigest", required = true) String imageDigest,
      @JsonProperty(value = "tags", required = true) List<String> tags);

}