JSON schema files required while developing Google Workspace add-ons with alternative runtimes
These schema files are taken from guide to build Google Workspace add-ons using alternative runtimes and were later modify to correct inconsistencies in the schema.
Example generation using quicktype
mkdir generated
quicktype --just-types --lang typescript -s schema --src RenderActionResponse.schema.json -o generated/RenderAction.ts
quicktype --just-types --lang typescript -s schema --src Card.schema.json -o generated/Card.ts
quicktype --just-types --lang typescript -s schema --src CommonEvent.schema.json -o generated/Event.ts
quicktype --just-types --lang typescript -s schema --src Deployment.schema.json -o generated/Deployment.ts
If you want to use the pre-generated types, you can find them for:
- Typescript
- Kotlin (Work in progress)
- Java (Work in progress)