Youki · JSON Structure

Oci Image Defs Descriptor Structure

Definitions particular to OpenContainer Descriptor Specification

Type: Properties: 0
ContainersContainer RuntimeOCIRustCNCFCloud NativeKubernetes

OciImageDefsDescriptor is a JSON Structure definition published by Youki. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

oci-image-defs-descriptor-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/youki/refs/heads/main/json-structure/oci-image-defs-descriptor-structure.json",
  "name": "OciImageDefsDescriptor",
  "description": "Definitions particular to OpenContainer Descriptor Specification",
  "definitions": {
    "mediaType": {
      "name": "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": {
      "name": "size",
      "type": "int32",
      "minimum": 0,
      "maximum": 9223372036854776000
    },
    "digest": {
      "name": "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": {
      "name": "urls",
      "description": "a list of urls from which this object may be downloaded",
      "type": "array",
      "items": {
        "type": "uri"
      }
    },
    "annotations": {
      "name": "annotations",
      "$ref": "defs.json#/definitions/mapStringString"
    }
  }
}