{
  "description": "AcceleratorFunction is a specification for an Accelerator Function resource\nprovided by a FPGA-based programmable hardware accelerator.",
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "description": "AcceleratorFunctionSpec contains actual specs for AcceleratorFunction.",
      "properties": {
        "afuId": {
          "pattern": "^[0-9a-f]{8,40}$",
          "type": "string"
        },
        "interfaceId": {
          "pattern": "^[0-9a-f]{8,32}$",
          "type": "string"
        },
        "mode": {
          "pattern": "^af|region$",
          "type": "string"
        }
      },
      "required": [
        "afuId",
        "interfaceId",
        "mode"
      ],
      "type": "object"
    },
    "status": {
      "description": "AcceleratorFunctionStatus is an empty object used to satisfy operator-sdk.",
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "spec"
  ],
  "type": "object"
}