Youki · JSON Structure

Oci Image Content Descriptor Structure

OpenContainer Content Descriptor Specification

Type: object Properties: 7 Required: 3
ContainersContainer RuntimeOCIRustCNCFCloud NativeKubernetes

OciImageContentDescriptor is a JSON Structure definition published by Youki, describing 7 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

mediaType size digest urls data artifactType annotations

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

JSON Structure

oci-image-content-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-content-descriptor-structure.json",
  "name": "OciImageContentDescriptor",
  "description": "OpenContainer Content Descriptor Specification",
  "type": "object",
  "id": "https://opencontainers.org/schema/descriptor",
  "properties": {
    "mediaType": {
      "description": "the mediatype of the referenced object",
      "$ref": "defs-descriptor.json#/definitions/mediaType"
    },
    "size": {
      "description": "the size in bytes of the referenced object",
      "$ref": "defs-descriptor.json#/definitions/size"
    },
    "digest": {
      "description": "the cryptographic checksum digest of the object, in the pattern '<algorithm>:<encoded>'",
      "$ref": "defs-descriptor.json#/definitions/digest"
    },
    "urls": {
      "description": "a list of urls from which this object may be downloaded",
      "$ref": "defs-descriptor.json#/definitions/urls"
    },
    "data": {
      "description": "an embedding of the targeted content (base64 encoded)",
      "$ref": "defs.json#/definitions/base64"
    },
    "artifactType": {
      "description": "the IANA media type of this artifact",
      "$ref": "defs-descriptor.json#/definitions/mediaType"
    },
    "annotations": {
      "id": "https://opencontainers.org/schema/descriptor/annotations",
      "$ref": "defs-descriptor.json#/definitions/annotations"
    }
  },
  "required": [
    "mediaType",
    "size",
    "digest"
  ]
}