Skip to content

Conversation

@mailsongabriel
Copy link
Contributor

Correct the required arrays for multiple schemas to exclude nullable fields and include type where it was missing:

  • admin: add missing type field
  • article_list_item: exclude nullable description, body, statistics
  • company: add missing type field
  • contact: exclude 16+ nullable fields that were incorrectly required
  • conversation: add required fields excluding nullable ones
  • data_event: add missing type field
  • message: exclude subject (only present for email type)
  • note: exclude nullable contact and author fields
  • ticket: exclude nullable ticket_type field
  • visitor: add required fields (was missing entirely)

Correct the `required` arrays for multiple schemas to exclude nullable
fields and include `type` where it was missing:

- admin: add missing `type` field
- article_list_item: exclude nullable `description`, `body`, `statistics`
- company: add missing `type` field
- contact: exclude 16+ nullable fields that were incorrectly required
- conversation: add required fields excluding nullable ones
- data_event: add missing `type` field
- message: exclude `subject` (only present for email type)
- note: exclude nullable `contact` and `author` fields
- ticket: exclude nullable `ticket_type` field
- visitor: add required fields (was missing entirely)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@mailsongabriel mailsongabriel merged commit bdfe250 into main Feb 2, 2026
10 checks passed
@mailsongabriel mailsongabriel deleted the fix/schema-required-fields branch February 2, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants