Looking to master JSON Schema for OpenAPI?

A 9+ hour course taught by a member of the JSON Schema Technical Steering Committee

xml : Object

xml

Object

Describes how the instance that this schema applies to is represented when the payload is serialized as XML.

Value This keyword must be set to an object that optionally declares the nodeType, name, namespace, prefix, attribute, and wrapped fields Hint: Use the jsonschema metaschema and jsonschema lint commands to catch keywords set to invalid values
Kind Other
Applies To Any
Base Dialect 2020-12
Changed In None
Introduced In OpenAPI 3.1
Vocabulary OpenAPI 3.2
Specification https://spec.openapis.org/oas/v3.2.1.html#schema-xml
Metaschema https://spec.openapis.org/oas/3.2/meta/2026-02-26
Official Tests None
Default None
Annotation None
Affected By
Affects None
Also See