Youki · Schema

Oci Image Defs Descriptor

Definitions particular to OpenContainer Descriptor Specification

ContainersContainer RuntimeOCIRustCNCFCloud NativeKubernetes
View JSON Schema on GitHub

JSON Schema

oci-image-defs-descriptor.json Raw ↑
{
  "description": "Definitions particular to OpenContainer Descriptor Specification",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "definitions": {
    "mediaType": {
      "id": "https://opencontainers.org/schema/image/descriptor/mediaType",
      "type": "string",
      "pattern": "^[A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}/[A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}$"
    },
    "size": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9223372036854776000
    },
    "digest": {
      "description": "the cryptographic checksum digest of the object, in the pattern '<algorithm>:<encoded>'",
      "type": "string",
      "pattern": "^[a-z0-9]+(?:[+._-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$"
    },
    "urls": {
      "description": "a list of urls from which this object may be downloaded",
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "annotations": {
      "$ref": "defs.json#/definitions/mapStringString"
    }
  }
}