-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: run generator (12-14-2021) (#309)
Co-authored-by: Google Bot <yoshi-code-bot@google.com>
- Loading branch information
1 parent
32c6af6
commit b4173ab
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
jsonschema/google/events/firebase/firebasealerts/v1/AlertData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$id": "https://googleapis.github.io/google-cloudevents/jsonschema/google/events/firebase/firebasealerts/v1/AlertData.json", | ||
"name": "AlertData", | ||
"examples": [], | ||
"package": "google.events.firebase.firebasealerts.v1", | ||
"datatype": "google.events.firebase.firebasealerts.v1.AlertData", | ||
"cloudeventTypes": [ | ||
"google.firebase.firebasealerts.alerts.v1.published" | ||
], | ||
"product": "Firebase Alerts", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"$ref": "#/definitions/AlertData", | ||
"definitions": { | ||
"AlertData": { | ||
"properties": { | ||
"createTime": { | ||
"type": "string", | ||
"description": "Time that the event has created", | ||
"format": "date-time" | ||
}, | ||
"endTime": { | ||
"type": "string", | ||
"description": "Time that the event has ended. Optional, only present for alertsthat are\n ongoing", | ||
"format": "date-time" | ||
}, | ||
"payload": { | ||
"additionalProperties": true, | ||
"type": "object", | ||
"description": "Payload of the event, which includes the details of the specific alert.\n It's a map of keys of String type and values of various types" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"type": "object", | ||
"description": "The data within all Firebase Alerts." | ||
} | ||
} | ||
} |