Похоже мало того что сравнение внутри списков не работает, если порядок ключей другой скрипт посчитает что это разные элементы.
m ["content"]["items"][0]["productBrand"]["mobileBannerImage"]:
m .anyOf:
.type: null
- ╭ .type: object
- │ .required:
- │ cropUrlTemplate
- │ fileSize
- │ fileType
- │ height
- │ id
- │ originName
- │ publicUrl
- │ uuid
- │ width
- │ ["id"].type: integer
- │ ["originName"].type: string
- │ ["fileType"].type: string
- │ ["fileSize"].type: integer
- │ ["width"].type: integer
- │ ["height"].type: integer
- │ ["cropUrlTemplate"]:
- │ .format: uri
- │ .type: string
- │ ["publicUrl"].type: null
- │ ["uuid"]:
- │ .format: uuid
- ╰ .type: string
+ ╭ .type: object
+ │ .required:
+ │ cropUrlTemplate
+ │ fileSize
+ │ fileType
+ │ height
+ │ id
+ │ originName
+ │ publicUrl
+ │ uuid
+ │ width
+ │ ["id"].type: integer
+ │ ["originName"].type: string
+ │ ["fileType"].type: string
+ │ ["fileSize"].type: integer
+ │ ["width"].type: integer
+ │ ["height"].type: integer
+ │ ["cropUrlTemplate"]:
+ │ .type: string
+ │ .format: uri
+ │ ["publicUrl"].type: null
+ │ ["uuid"]:
+ │ .type: string
+ ╰ .format: uuid
Affected area(s)
What did you do?
What happened?
What did you expect to happen?
Logs / screenshots