$schema: http://json-schema.org/draft-07/schema
description: Schema defining structure of general section configuration
type: object
required:
  - resource
properties:
  resource:
    type: object
    description: information about the resoure
    required:
      - kind
      - version
    properties:
      kind:
        type: string
        description: Kubernetes kind of the resource
      version:
        type: string
        description: API version used for all requests
      group:
        type: string
        description: API group used for all requests. Not provided for Kubernetes resources in the core (also called legacy) group.
  name:
    type: string
    description: title used in the navigation and on the list screen. It defaults to its resource kind.
  category:
    type: string
    description: the name of a category used for the left-hand menu. By default, it's placed in the Custom Resources category.
  icon:
    type: string
    description: suffix of an icon name used for the left-hand menu. the default value is customized. You can find the list of icons here.
  scope:
    type: string
    enum: [namespace, cluster]
    description: either namespace or cluster. Defaults to cluster.
  urlPath:
    type: string
    description: path fragment for this resource used in the URL. Defaults to pluralized lowercase kind. Used to provide an alternative URL to avoid conflicts with other resources.
  defaultPlaceholder:
    type: string
    description: to be shown in place of an empty text placeholder. Overridden by the widget-level placeholder. Defaults to -.
  description:
    type: string
    description: displays a custom description on the resource list page. It can contain links. If the translations section has a translation entry with the ID that is the same as the description string, the translation is used.
  filter:
    type: string
    widget: Jsonata
    description: JSONata filter used to filter the resources shown at the list section property.
  features:
    type: object
    properties:
      actions:
        type: object
        properties:
          disableCreate:
            type: boolean
            description: when set to true, it disables the Create button. Defaults to false.
          disableEdit:
            type: boolean
            description: when set to true, it disables the Edit button. Defaults to false.
          disableDelete:
            type: boolean
            description: when set to true, it disables the Delete button. Defaults to false.

