Custom Resource Definition Lab step 5 always validates as "Incomplete"

In your CKAD course on Udemy, I am following this lab:

However, step 5 always validates as Incomplete no matter what I do. And there is no Solution video on Udemy, which is enormously frustrating. I suspect that the instructions on the sixth screen, which request a custom datacenter resource, are erroneous or incomplete. Here is what I have, which always validates as Incomplete. What in the world am I doing wrong here?

controlplane ~ ➜ cat datacenter-crd.yaml

apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: datacenters.traffic.controller
spec:
group: traffic.controller
versions:
- name: v1
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
dataField:
type: integer
access:
type: boolean
scope: Namespaced
names:
plural: datacenters
singular: datacenter
kind: Datacenter
shortNames:
- dc

controlplane ~ ➜ cat datacenter.yaml

kind: Datacenter
apiVersion: traffic.controller/v1
metadata:
name: datacenter
namespace: default
spec:
dataField: 2
access: true

Ah. Solved it. My conception was incorrect. This is what the lab wanted. Not a new CRD for Datacenter but a custom resource of kind Global called datacenter.

controlplane ~ ➜ cat datacenter.yaml
kind: Global
apiVersion: traffic.controller/v1
metadata:
name: datacenter
namespace: default
spec:
dataField: 2
access: true

Good that you solved it.

In future, please post YAML in

code blocks

or all the formatting and indentation is lost making it very difficult to help you.

We need to see this

kind: Global
apiVersion: traffic.controller/v1
metadata:
  name: datacenter
  namespace: default
spec:
  dataField: 2
  access: true

…especially for larger documents with many indentations llke your first one.