Youki · JSON Structure

Oci Runtime Config Windows Structure

Type: Properties: 0
ContainersContainer RuntimeOCIRustCNCFCloud NativeKubernetes

OciRuntimeConfigWindows 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-runtime-config-windows-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-runtime-config-windows-structure.json",
  "name": "OciRuntimeConfigWindows",
  "windows": {
    "description": "Windows platform-specific configurations",
    "type": "object",
    "properties": {
      "layerFolders": {
        "type": "array",
        "items": {
          "$ref": "defs.json#/definitions/FilePath"
        },
        "minItems": 1
      },
      "devices": {
        "type": "array",
        "items": {
          "$ref": "defs-windows.json#/definitions/Device"
        }
      },
      "resources": {
        "type": "object",
        "properties": {
          "memory": {
            "type": "object",
            "properties": {
              "limit": {
                "$ref": "defs.json#/definitions/uint64"
              }
            }
          },
          "cpu": {
            "type": "object",
            "properties": {
              "count": {
                "$ref": "defs.json#/definitions/uint64"
              },
              "shares": {
                "$ref": "defs.json#/definitions/uint16"
              },
              "maximum": {
                "$ref": "defs.json#/definitions/uint16"
              },
              "affinity": {
                "type": "object",
                "properties": {
                  "mask": {
                    "$ref": "defs.json#/definitions/uint64"
                  },
                  "group": {
                    "$ref": "defs.json#/definitions/uint32"
                  }
                }
              }
            }
          },
          "storage": {
            "type": "object",
            "properties": {
              "iops": {
                "$ref": "defs.json#/definitions/uint64"
              },
              "bps": {
                "$ref": "defs.json#/definitions/uint64"
              },
              "sandboxSize": {
                "$ref": "defs.json#/definitions/uint64"
              }
            }
          }
        }
      },
      "network": {
        "type": "object",
        "properties": {
          "endpointList": {
            "$ref": "defs.json#/definitions/ArrayOfStrings"
          },
          "allowUnqualifiedDNSQuery": {
            "type": "boolean"
          },
          "DNSSearchList": {
            "$ref": "defs.json#/definitions/ArrayOfStrings"
          },
          "networkSharedContainerName": {
            "type": "string"
          },
          "networkNamespace": {
            "type": "string"
          }
        }
      },
      "credentialSpec": {
        "type": "object"
      },
      "servicing": {
        "type": "boolean"
      },
      "ignoreFlushesDuringBoot": {
        "type": "boolean"
      },
      "hyperv": {
        "type": "object",
        "properties": {
          "utilityVMPath": {
            "type": "string"
          }
        }
      }
    },
    "required": [
      "layerFolders"
    ]
  }
}