0 subschemas matched instead of one

I am am getting below error, this was encoutered recently,

#!/bin/sh -eo pipefail

ERROR IN CONFIG FILE:

[#/jobs/build] 0 subschemas matched instead of one

1. [#/jobs/build] only 1 subschema matches out of 2

| 1. [#/jobs/build/steps/9] 0 subschemas matched instead of one

| | 1. [#/jobs/build/steps/9] expected type: String, found: Mapping

| | | Shorthand commands, like checkout

| | | SCHEMA:

| | | type: string

| | | INPUT:

| | | run:

| | | name: Delete scratch org

| | | command: “venv/bin/cci org scratch_delete dev \n”

| | 2. [#/jobs/build/steps/9] maximum size: [1], found: [2]

| | | long form commands like run:

| | | SCHEMA:

| | | maxProperties: 1

| | | INPUT:

| | | run:

| | | name: Delete scratch org

| | | command: “venv/bin/cci org scratch_delete dev \n”

2. [#/jobs/build] expected type: String, found: Mapping

| Job may be a string reference to another job

-------

Warning: This configuration was auto-generated to show you the message above.

Don’t rerun this job. Rerunning will have no effect.

false

Exited with code exit status 1