Skip to content

[Schema Inaccuracy] organization-full and team-organization: company and email are still not nullable #7058

Description

@EfeDurmaz16

Schema Inaccuracy

organization-full and team-organization declare company and email as
type: string, but the API returns null for both.

Reported in #2507 and closed as completed on 2025-11-04. Both schemas on main
still carry the old types, so the fix does not appear to have landed.

Reproduction

No authentication needed.

curl https://api.github.com/orgs/github     # company: null, email: null
curl https://api.github.com/orgs/rust-lang  # company: null

Current vs expected

"company":          { "type": "string" },
"email":            { "type": "string", "format": "email" },
"twitter_username": { "type": ["string", "null"] }

twitter_username in the same object already has the shape company and email
need.

The comments on #2507 also mention location, name and blog. I did not see a
null for those on either org, so I am not claiming them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions