[Schema Inaccuracy] scim-enterprise-user examples use "User" (capital U) but user-role schema enum only defines "user" (lowercase)
@shawnHartsell is already working on this.
Since Jun 29, 2026.
Assessment
This issue has not been assessed yet.
Description
Schema Inaccuracy
The scim-enterprise-user and scim-enterprise-user-list examples both have roles[].value set to "User" (capital U), but the user-role schema defines value as an enum whose only user-role entry is "user" (all lowercase).
Identified at schema commit ef4e98d.
Affected examples:
#/components/examples/scim-enterprise-user/value#/components/examples/scim-enterprise-user-list/value
Expected
The roles[].value field in both examples should use "user" (lowercase) to match the enum values defined in #/components/schemas/user-role/items/properties/value.
Reproduction Steps
The schema defines the enum as:
# /components/schemas/user-role/items/properties/value
enum:
- user
- guest_collaborator
- enterprise_owner
- billing_manager
- ...
But both examples contain:
"roles": [{ "value": "User", "primary": false }]
- Dominant language
- No language data
- Stars
- 1.6k
- Forks
- 342
- Avg merge
- 2h 23m
- Merged PRs (30d)
- 57
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/rest-api-description
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
github/rest-api-description#7220 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
github/rest-api-description#7201 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
github/rest-api-description#7163 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
github/rest-api-description#7162 ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
github/rest-api-description#7135 ·