Missing required column 'label' in json. at "HandPoseAssests.json"

I have created the .json file according to the https://developer.apple.com/documentation/createml/building-an-object-detector-data-source

here is my .json file below


    {

        "imagefilename":"Five Fingers.HEIC",

        "annotation": [

            {

                "coordinates": {

                    "y": 156.062,

                    "x": 195.122,

                    "height": 148.872,

                    "width": 148.03

                },

                "label": "Five Fingers"

            }

        ]

    },

    {

        "imagefilename": "One Finger.HEIC",

        "annotation": [

            {

                "coordinates": {

                    "y": 156.062,

                    "x": 195.122,

                    "height": 148.872,

                    "width": 148.03

                },

                "label": "One Finger"

            }

        ]

    },

    {

        "imagefilename": "Two Finger.HEIC",

        "annotation": [

            {

                "coordinates": {

                    "y": 156.062,

                    "x": 195.122,

                    "height": 148.872,

                    "width": 148.03

                },

                "label": "Two Finger"

            }

        ]

    },

    {

        "imagefilename": "Four Finger.HEIC",

        "annotation": [

            {

                "coordinates": {

                    "y": 156.062,

                    "x": 195.122,

                    "height": 148.872,

                    "width": 148.03

                },

                "label": "Four Finger"

            }

        ]

    }

    ]

but it shows error as Missing required column 'label' in json. at "NameOfJsonFile.json"

Were am I Wrong

What is telling you it's missing the label? Have you tried using the example croissants JSON they've provided? If it doesn't work with the provided JSON, then the problem isn't your JSON.

I think i have found out what mistake i have made i will try and update it here.

Missing required column 'label' in json. at "HandPoseAssests.json"
 
 
Q