Class OciManifestTemplate

  • All Implemented Interfaces:
    BuildableManifestTemplate, ManifestTemplate, JsonTemplate

    public class OciManifestTemplate
    extends java.lang.Object
    implements BuildableManifestTemplate
    JSON Template for OCI Manifest Schema.

    Example manifest JSON:

    
     {
       "schemaVersion": 2,
       "mediaType": "application/vnd.oci.image.manifest.v1+json",
       "config": {
         "mediaType": "application/vnd.oci.image.config.v1+json",
         "size": 631,
         "digest": "sha256:26b84ca5b9050d32e68f66ad0f3e2bbcd247198a6e6e09a7effddf126eb8d873"
       },
       "layers": [
         {
           "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
           "size": 1991435,
           "digest": "sha256:b56ae66c29370df48e7377c8f9baa744a3958058a766793f821dadcb144a4647"
         },
         {
           "mediaType": "application/vnd.oci.image.layer.v1.tar+gzip",
           "size": 32,
           "digest": "sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4"
         }
       ]
     }
     
    See Also:
    OCI Image Manifest Specification