$schema: http://json-schema.org/draft-07/schema
description: Schema defining structure of data sources configuration
type: object
additionalProperties:
  type: object
  properties:
    resource:
      type: object
      required:
        - kind
        - version
      properties:
        kind:
          type: string
          description: Kubernetes kind of the resource.
        group:
          type: string
          description: API group used for all requests. Not provided for Kubernetes resources in the core (also called legacy) group.
        version:
          type: string
          description: API version used for all requests.
        namespace:
          type: string
          description: the resource's Namespace name; it defaults to the original resource's Namespace. If set to null, cluster-wide resources or resources in all Namespaces are matched
        name:
          type: string
          description: a specific resource name; leave empty to match all resources of a given type
    ownerLabelSelectorPath:
      type: string
      description: the path to original object's selector type property; for example, spec.selector.matchLabels for Deployment, used to select matching Pods.
    filter:
      type: string
      widget: Jsonata
      description: a JSONata function enabling the user to write a custom matching logic. It uses the following variables
