{
  "description": "Component describes an Dapr component type.",
  "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"
    },
    "auth": {
      "description": "Auth represents authentication details for the component.",
      "properties": {
        "secretStore": {
          "type": "string"
        }
      },
      "required": [
        "secretStore"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "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"
    },
    "scopes": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "spec": {
      "description": "ComponentSpec is the spec for a component.",
      "properties": {
        "ignoreErrors": {
          "type": "boolean"
        },
        "initTimeout": {
          "type": "string"
        },
        "metadata": {
          "items": {
            "description": "NameValuePair is a name/value pair.",
            "properties": {
              "envRef": {
                "description": "EnvRef is the name of an environmental variable to read the value from.",
                "type": "string"
              },
              "name": {
                "description": "Name of the property.",
                "type": "string"
              },
              "secretKeyRef": {
                "description": "SecretKeyRef is the reference of a value in a secret store component.",
                "properties": {
                  "key": {
                    "description": "Field in the secret.",
                    "type": "string"
                  },
                  "name": {
                    "description": "Secret name.",
                    "type": "string"
                  }
                },
                "required": [
                  "name"
                ],
                "type": "object",
                "additionalProperties": false
              },
              "value": {
                "description": "Value of the property, in plaintext.",
                "x-kubernetes-preserve-unknown-fields": true
              }
            },
            "required": [
              "name"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "type": "array"
        },
        "type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "metadata",
        "type",
        "version"
      ],
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
