zotregistry.io/zot@v1.4.4-0.20231124084042-02a8ed785457/pkg/meta/proto/oci/descriptor.proto (about)

     1  syntax = "proto3";
     2  package oci_v1;
     3  
     4  // https://github.com/opencontainers/image-spec/blob/main/specs-go/v1/descriptor.go
     5  
     6  message Descriptor {
     7    string            MediaType     = 1;
     8    string            Digest        = 2;
     9    int64             Size          = 3;
    10    repeated string   URLs          = 4;
    11    bytes             Data          = 5;
    12    optional Platform Platform      = 6;
    13    optional string   ArtifactType  = 7;
    14    map <string,string> Annotations = 8;
    15  }
    16  
    17  message Platform {
    18    string Architecture = 1;
    19    string OS = 2;
    20    optional string OSVersion  = 3;
    21    repeated string OSFeatures = 4;
    22    optional string Variant = 5;
    23  }