type: object
properties:
data:
oneOf:
- type: object
properties:
emails:
description: >-
Adds one or more email addresses to your GitHub account. Must
contain at least one email address. **Note:** Alternatively, you
can pass a single email address or an `array` of emails addresses
directly, but we recommend that you pass an object using the
`emails` key.
type: array
example: []
items:
type: string
example:
[email protected]
minItems: 1
required:
- emails
example:
emails:
-
[email protected]
-
[email protected]
- type: array
items:
type: string
example:
[email protected]
minItems: 1
- type: string
title: Data
type: array
items:
type: object
title: Email
properties:
email:
type: string
format: email
example:
[email protected]
primary:
type: boolean
example: true
verified:
type: boolean
example: true
visibility:
type: string
example: public
nullable: true