apiVersion: apis.kcp.io/v1alpha1 kind: APIResourceSchema metadata: name: v1.widgets.pentest.dev spec: group: pentest.dev names: kind: Widget listKind: WidgetList plural: widgets singular: widget shortNames: - wid scope: Namespaced versions: - name: v1alpha1 served: true storage: true subresources: status: {} schema: description: Widget is an example API published by the provider workspace. type: object properties: apiVersion: type: string kind: type: string metadata: type: object spec: description: WidgetSpec holds the desired state of the Widget. type: object properties: note: description: A free-form note carried by the widget. type: string status: description: WidgetStatus communicates the observed state of the Widget. type: object properties: phase: description: The observed phase of the widget. type: string