...

Text file src/github.com/opencontainers/image-spec/schema/image-manifest-schema.json

Documentation: github.com/opencontainers/image-spec/schema

     1{
     2  "description": "OpenContainer Image Manifest Specification",
     3  "$schema": "http://json-schema.org/draft-04/schema#",
     4  "id": "https://opencontainers.org/schema/image/manifest",
     5  "type": "object",
     6  "properties": {
     7    "schemaVersion": {
     8      "description": "This field specifies the image manifest schema version as an integer",
     9      "id": "https://opencontainers.org/schema/image/manifest/schemaVersion",
    10      "type": "integer",
    11      "minimum": 2,
    12      "maximum": 2
    13    },
    14    "mediaType": {
    15      "description": "the mediatype of the referenced object",
    16      "$ref": "defs-descriptor.json#/definitions/mediaType"
    17    },
    18    "artifactType": {
    19      "description": "the artifact mediatype of the referenced object",
    20      "$ref": "defs-descriptor.json#/definitions/mediaType"
    21    },
    22    "config": {
    23      "$ref": "content-descriptor.json"
    24    },
    25    "subject": {
    26      "$ref": "content-descriptor.json"
    27    },
    28    "layers": {
    29      "type": "array",
    30      "minItems": 1,
    31      "items": {
    32        "$ref": "content-descriptor.json"
    33      }
    34    },
    35    "annotations": {
    36      "id": "https://opencontainers.org/schema/image/manifest/annotations",
    37      "$ref": "defs-descriptor.json#/definitions/annotations"
    38    }
    39  },
    40  "required": [
    41    "schemaVersion",
    42    "config",
    43    "layers"
    44  ]
    45}

View as plain text