apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: bindablebackends.stable.example.com
  annotations:
    "service.binding/name": "path={.metadata.name}"
spec:
  group: stable.example.com
  versions:
    - name: v1
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          type: object
          properties:
            apiVersion:
              type: string
            kind:
              type: string
            metadata:
              type: object
            spec:
              type: object
              properties:
                foo:
                  type: string
            status:
              type: object
              properties:
                binding:
                  type: object
                  properties:
                    name:
                      type: string
  scope: Namespaced
  names:
    plural: bindablebackends
    singular: bindablebackend
    kind: BindableBackend
