nerdexam
Cisco

200-301 · Question #1340

What is represented in line 2 within this JSON schema?

The correct answer is A. object. In a typical JSON schema, 'object' often defines the type of a JSON structure, indicating it is a collection of key-value pairs.

Submitted by chen.hong· Mar 30, 2026Automation and Programmability

Question

What is represented in line 2 within this JSON schema?

Options

  • Aobject
  • Bvalue
  • Ckey
  • Darray

How the community answered

(36 responses)
  • A
    89% (32)
  • B
    3% (1)
  • C
    6% (2)
  • D
    3% (1)

Why each option

In a typical JSON schema, 'object' often defines the type of a JSON structure, indicating it is a collection of key-value pairs.

AobjectCorrect

In a JSON schema, `type: object` is used to specify that the JSON data being described should be an object, which is an unordered collection of key-value pairs enclosed by curly braces. This definition typically appears at a high level within the schema to define the overall structure or for complex nested elements.

Bvalue

A value is the data associated with a key, not the type definition itself.

Ckey

A key is the string label for a field in an object, not a type descriptor for the entire structure.

Darray

An array is an ordered list of values, which would be specified by `type: array` in a JSON schema, not `object`.

Concept tested: JSON schema object type identification

Source: https://json-schema.org/understanding-json-schema/reference/object

Topics

#JSON schema#JSON syntax#Data structures

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice