[
    {
        "code": 7,
        "message": "%s: property \"%s\" is not supported"
    },
    {
        "message": "%s: property \"%s\" is not supported, supported are: %s",
        "code": 8
    },
    {
        "message": "%s: property \"%s\" is required",
        "code": 9
    },
    {
        "message": "%s: property \"%s\" should be %s, instead found %s",
        "code": 10
    },
    {
        "message": "%s: array member should be a non-empty string, instead found %s",
        "code": 11
    },
    {
        "message": "%s: property \"%s\" should be a non-empty array",
        "code": 12
    },
    {
        "message": "%s: %s should be a non-empty object",
        "code": 13
    },
    {
        "message": "%s arguments: incorrect argument format",
        "docs": "https://utam.dev/grammar/spec#supported-argument-types",
        "code": 100
    },
    {
        "message": "%s arguments: unknown element with name \"%s\" is referenced as an argument",
        "code": 101
    },
    {
        "message": "%s arguments: unsupported literal argument type \"%s\", supported are %s",
        "code": 102
    },
    {
        "code": 103,
        "message": "%s arguments: unsupported argument type \"%s\", supported are %s"
    },
    {
        "code": 104,
        "message": "%s arguments: incorrect predicate format",
        "docs": "https://utam.dev/grammar/spec#explicit-waits"
    },
    {
        "code": 105,
        "message": "%s arguments: literal arguments are not allowed",
        "tip": "use \"name\", not \"value\""
    },
    {
        "code": 106,
        "message": "%s arguments: incorrect format of elementReference argument",
        "docs": "https://utam.dev/grammar/spec#element-reference"
    },
    {
        "code": 107,
        "message": "%s arguments: argument with name \"%s\" is already declared"
    },
    {
        "code": 108,
        "message": "%s arguments: expected number of arguments is %s, found %s"
    },
    {
        "code": 109,
        "message": "%s arguments: argument \"%s\" has incorrect type, expected \"%s\", found \"%s\""
    },
    {
        "code": 110,
        "message": "%s arguments: unknown selector parameter type \"%s\", only string and number are supported"
    },
    {
        "code": 111,
        "message": "%s arguments: either \"name\" or \"value\" is supported for an argument, not both"
    },
    {
        "code": 112,
        "message": "%s arguments: \"type\" is required for an argument \"%s\""
    },
    {
        "code": 113,
        "message": "%s arguments: either \"name\" or \"value\" is required for an argument"
    },
    {
        "code": 114,
        "message": "%s arguments: property \"description\" is not supported for literal or function argument"
    },
    {
        "code": 115,
        "message": "%s: basic type \"%s\" is not supported, valid values are: actionable, clickable, draggable, editable, touchable"
    },
    {
        "code": 116,
        "message": "%s: duplicate basic type \"%s\", basic type values must be unique"
    },
    {
        "code": 200,
        "message": "%s: incorrect format of elements"
    },
    {
        "code": 201,
        "message": "element \"%s\": type \"%s\" is not supported, valid values are: custom, container, frame, actionable, clickable, draggable, editable, touchable",
        "tip": "custom type must only contain alphanumeric characters with the schema [package-name]/[custom/path]/pageObject"
    },
    {
        "code": 202,
        "message": "element \"%s\": element with same name was already declared"
    },
    {
        "code": 203,
        "message": "element \"%s\": element marked as a list cannot have nested elements or shadow root"
    },
    {
        "code": 204,
        "message": "element \"%s\": frame selector cannot have \"returnAll\" set to true"
    },
    {
        "code": 205,
        "message": "element \"%s\": only basic, custom or container element can have nested elements or shadow root"
    },
    {
        "code": 206,
        "message": "element \"%s\": property \"load\" is not supported for element with arguments, filter or for container element"
    },
    {
        "code": 300,
        "message": "element \"%s\" filter: incorrect format of element filter",
        "docs": "https://utam.dev/grammar/spec#element-filter"
    },
    {
        "code": 301,
        "message": "element \"%s\" filter: unknown method \"%s\" for basic element"
    },
    {
        "code": 302,
        "message": "element \"%s\" filter: filter can only be set for list",
        "tip": "add \"returnAll\" to selector or remove filter"
    },
    {
        "code": 303,
        "message": "element \"%s\" filter: unsupported action \"%s\" for type \"%s\""
    },
    {
        "code": 400,
        "message": "method \"%s\": incorrect format of abstract method",
        "docs": "https://utam.dev/grammar/spec#interfaces"
    },
    {
        "code": 401,
        "message": "code not used"
    },
    {
        "code": 402,
        "message": "abstract method \"%s\": \"returnAll\" property can't be set without setting return type"
    },
    {
        "code": 403,
        "message": "abstract method \"%s\": return type \"%s\" is not supported"
    },
    {
        "code": 500,
        "message": "method \"%s\": incorrect format of compose method",
        "docs": "https://utam.dev/grammar/spec#compose-method"
    },
    {
        "code": 501,
        "message": "%s arguments: parameter \"%s\" at method level can't have type \"argumentReference\""
    },
    {
        "code": 502,
        "message": "%s: statement declares a reference to an \"%s\" argument, but there is no matching argument at the method level"
    },
    {
        "code": 503,
        "message": "%s: declared parameter \"%s\" is never used"
    },
    {
        "code": 504,
        "message": "method \"%s\": method with the same name was already declared"
    },
    {
        "code": 505,
        "message": "method \"%s\": the given method name would duplicate the name of a generated helper function for element \"%s\""
    },
    {
        "code": 600,
        "message": "method \"%s\" statement: incorrect compose statement format",
        "docs": "https://utam.dev/grammar/spec#compose-method"
    },
    {
        "code": 601,
        "message": "method \"%s\" statement: unknown element with name \"%s\" is referenced in a compose statement"
    },
    {
        "code": 602,
        "message": "method \"%s\" statement: return type \"%s\" is not supported in a compose statement",
        "docs": "https://utam.dev/grammar/spec#return-type-for-a-compose-statement"
    },
    {
        "code": 603,
        "message": "method \"%s\" statement: \"returnAll\" property can't be set without setting return type in a compose statement"
    },
    {
        "code": 605,
        "message": "method \"%s\" statement: can't infer return type for \"%s\", please provide a \"returnType\""
    },
    {
        "code": 606,
        "message": "method \"%s\" statement: \"element\" property is redundant because statement is marked as a chain"
    },
    {
        "code": 607,
        "message": "method \"beforeLoad\" statement: only \"document\" or \"root\" elements are allowed"
    },
    {
        "code": 608,
        "message": "method \"%s\" statement: \"returnSelf\" can only be invoked from the last statement"
    },
    {
        "code": 609,
        "message": "method \"%s\" statement: either \"element\" or \"apply\" or \"applyExternal\" should be defined"
    },
    {
        "code": 610,
        "message": "method \"%s\" statement: either \"apply\" or \"applyExternal\" should be defined"
    },
    {
        "code": 611,
        "message": "method \"%s\" utility statement: either \"element\" is redundant"
    },
    {
        "code": 612,
        "message": "method \"%s\" statement: unknown action \"%s\" for basic element"
    },
    {
        "code": 613,
        "message": "method \"%s\" statement: incorrect return type; expected \"%s\", provided is \"%s\""
    },
    {
        "code": 614,
        "message": "method \"%s\" statement: to use chain, previous statement should return custom type, but it returns \"%s\""
    },
    {
        "code": 615,
        "message": "method \"%s\" statement: nested waitFor is not supported"
    },
    {
        "code": 616,
        "message": "method \"%s\" statement: first statement can't be marked as chain"
    },
    {
        "code": 617,
        "message": "method \"%s\" statement: unsupported action \"%s\" for type \"%s\""
    },
    {
        "code": 700,
        "message": "%s: format of the description is incorrect",
        "docs": "https://utam.dev/grammar/spec#method-description"
    },
    {
        "code": 800,
        "message": "profile format is incorrect",
        "docs": "https://utam.dev/grammar/interfaces"
    },
    {
        "code": 801,
        "message": "\"profile\": duplicate profile name \"%s\""
    },
    {
        "code": 802,
        "message": "profile \"%s\": duplicate profile value \"%s\""
    },
    {
        "code": 803,
        "message": "profile { \"%s\": \"%s\" } is not configured, make sure it's in compiler config"
    },
    {
        "code": 804,
        "message": "profile with name \"%s\" is not configured, make sure it's in compiler config"
    },
    {
        "code": 805,
        "message": "\"profile\" can only be set for a page object that implements an interface, please add \"implements\" property"
    },
    {
        "code": 806,
        "message": "profile \"%s\": values can either be string or non-empty string array"
    },
    {
        "code": 900,
        "message": "incorrect format of the page object \n%s"
    },
    {
        "code": 901,
        "message": "non-root page object can't have selector",
        "docs": "https://utam.dev/grammar/spec#root-element",
        "tip": "either remove \"selector\" property or remove [\"root\" : true]"
    },
    {
        "code": 902,
        "message": "root page object requires \"selector\" property",
        "tip": "either remove [\"root\" : true] or add \"selector\" property"
    },
    {
        "code": 903,
        "message": "\"platform\" property: platform should be a string with \"web\" or \"native\" value, instead found \"%s\""
    },
    {
        "code": 904,
        "message": "method \"beforeLoad\" cannot have parameters"
    },
    {
        "message": "format of the root description is incorrect",
        "docs": "https://utam.dev/grammar/spec#page-object-description",
        "code": 905
    },
    {
        "message": "%s: format of selector is incorrect",
        "docs": "https://utam.dev/grammar/spec#element-selector",
        "code": 1000
    },
    {
        "code": 1002,
        "message": "%s selector: one of \"css\", \"accessid\", \"uiautomator\" or \"classchain\" should be set"
    },
    {
        "code": 1003,
        "message": "%s selector: only one of \"css\", \"accessid\", \"uiautomator\" or \"classchain\" can be set"
    },
    {
        "code": 1004,
        "message": "%s selector: unsupported UiSelector method \"%s\", supported methods are: %s"
    },
    {
        "code": 1005,
        "message": "%s selector \"%s\": for class chain only one of supported quotes can be set, supported are %s"
    },
    {
        "code": 1006,
        "message": "%s selector \"%s\": for class chain only one of supported operators can be set, supported are %s"
    },
    {
        "message": "%s: incorrect format of elements inside shadow",
        "code": 1100
    },
    {
        "code": 1200,
        "message": "%s matcher: incorrect format of matcher"
    },
    {
        "code": 1201,
        "message": "%s matcher: unsupported matcher type \"%s\", supported are %s"
    },
    {
        "code": 1202,
        "message": "%s matcher: applied method returns type \"%s\", which is only compatible with the following matchers - %s"
    },
    {
        "code": 2001,
        "message": "duplicate selector \"%s\" for the elements \"%s\" and \"%s\""
    },
    {
        "code": 2002,
        "message": "root description is missing"
    },
    {
        "code": 2003,
        "message": "method \"%s\" does not have description"
    },
    {
        "code": 2005,
        "message": "property \"author\" is missing in the root description"
    },
    {
        "code": 3001,
        "message": "same root selector \"%s\" is used as a root selector in the page object %s"
    },
    {
        "code": 3002,
        "message": "element \"%s\" should have type \"%s\" because it uses its root selector"
    },
    {
        "code": 3003,
        "message": "custom selector \"%s\" of the element \"%s\" is used for an element \"%s\" in the page object %s, but has a different type \"%s\""
    }
]
