apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: dummies.demo.fabric8.io
spec:
  group: demo.fabric8.io
  scope: Namespaced
  versions:
    - name: v1
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          type: object
          properties:
            spec:
              type: object
              properties:
                foo:
                  type: string
                bar:
                  type: string
            status:
              type: object
              properties:
                dummyStatus:
                  type: string  
      subresources:
        status: {}            
  names:
    kind: Dummy
    plural: dummies
    shortNames:
    - dummy
