# Wrong syntax in Zoom-API's json schema files

**URL:** <https://devforum.zoom.us/t/wrong-syntax-in-zoom-apis-json-schema-files/136493>\
**Category:** API and Webhooks\
**Created:** [August 14, 2025, 1:53pm UTC](https://devforum.zoom.us/t/wrong-syntax-in-zoom-apis-json-schema-files/136493 "2025-08-14T13:53:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas7](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thomas7/32/70733_2.png) [@Thomas7](https://devforum.zoom.us/u/Thomas7)\
**Post date:** [August 14, 2025, 1:53pm UTC](https://devforum.zoom.us/t/wrong-syntax-in-zoom-apis-json-schema-files/136493/1 "2025-08-14T13:53:29Z")

</div>

**Affected API Endpoint(s)**

Zoom Phone APIs, operation id “phoneUserSettings” and others

[zoom]/docs/api/phone/#tag/users/get/phone/users/{userId}/settings

**Description**  
_When using openapi-tools to generate a JAVA client using Zoom’s Phone API json schema file, three syntax errors occur._

**Error?**  
_- in operation “_“/phone/users/{userId}/settings” (id: phoneUserSettings), reponses→200→content→delegation→privileges→items there the syntax error occurs: within, the “enum” attribute is misplaced - it should be within “items”, not below as a sibling attribute.

Same syntax error takes place at two other locations, all sharing the hint, being an enum property of a model where items has got an examples attribute

**How To Reproduce**  
_Steps to reproduce the behavior:_  
_1. feed openapi-tools-java with the Phone.json file from Zoom’s developer website/download_

2. see syntax errors:

> [ERROR] […]/zoom/phone/client/models/AddUserSetting201ResponseDelegation.java:[52,5] enum constant expected here  
> [ERROR] […]/zoom/phone/client/models/PhoneUserSettings200ResponseDelegation.java:[53,5] enum constant expected here  
> [ERROR] […]/zoom/phone/client/models/UpdateUserSettingRequestDelegation.java:[48,5] enum constant expected here

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 18, 2025, 8:27pm UTC](https://devforum.zoom.us/t/wrong-syntax-in-zoom-apis-json-schema-files/136493/2 "2025-08-18T20:27:52Z")

</div>

Hi @Thomas7  
Thanks for bringing this up to our attention.  
I reviewed the specs and identified the issue you mentioned. I reached out to our Engineering team and reported this, I will update you as soon as I hear back from them ( Internal ticket number for reference ZSEE-176583)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 22, 2026, 12:04pm UTC](https://devforum.zoom.us/t/wrong-syntax-in-zoom-apis-json-schema-files/136493/3 "2026-08-22T12:04:05Z")

</div>

Closed on August 22, 2026, 12:04pm UTC

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
