{
  "description": "A ProviderConfigUsage indicates that a resource is using a ProviderConfig.",
  "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"
    },
    "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"
    },
    "metadata": {
      "type": "object"
    },
    "providerConfigRef": {
      "description": "ProviderConfigReference to the provider config being used.",
      "properties": {
        "kind": {
          "description": "Kind of the referenced object.",
          "type": "string"
        },
        "name": {
          "description": "Name of the referenced object.",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "name"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "resourceRef": {
      "description": "ResourceReference to the managed resource using the provider config.",
      "properties": {
        "apiVersion": {
          "description": "APIVersion of the referenced object.",
          "type": "string"
        },
        "kind": {
          "description": "Kind of the referenced object.",
          "type": "string"
        },
        "name": {
          "description": "Name of the referenced object.",
          "type": "string"
        },
        "uid": {
          "description": "UID of the referenced object.",
          "type": "string"
        }
      },
      "required": [
        "apiVersion",
        "kind",
        "name"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "required": [
    "providerConfigRef",
    "resourceRef"
  ],
  "type": "object"
}
