1

In the documentation, ArrayItems is described as

When this attribute value is an array of jsonSchemas and the instance value is an array, each position in the instance array MUST conform to the jsonSchema in the corresponding position for this array

and SingleItems as

When this attribute value is a jsonSchema and the instance value is an array, then all the items in the array MUST be valid according to the jsonSchema.

but I don't really understand what the attribute value and instance is referring to. If I just want to know the data types of items in the array, which one should I use?

Dylan
  • 13,645
  • 3
  • 40
  • 67
THIS USER NEEDS HELP
  • 3,136
  • 4
  • 30
  • 55

0 Answers0