Creating a component event

For posterity; posting the solution to the issue with the script editor:

As I vaguely alluded to, you're not able to (unfortunately) get the automatic parsing of schemas out of a single file that we use internally - which means that the main issue with your module at present is the single event object schema being supplied for all four component event descriptors. So, to start off, you'll want to move them into separate files, and also flatten them - you don't need separate name, description (we'll get back to the description in a minute), or schema keys - just put everything in the schema key on the top level:


Then you'll want to individually create each ComponentEventDescriptor in ATCalendar.java - I made a simple wrapper class to fetch the individual schema resources more easily:

Now, as for the description, which you can't specify now? If you bump your SDK version from 8.0.3 to 8.0.5+, you'll be able to specify a 3-arg constructor for ComponentEventDescriptor - String name, String desc, JsonSchema schema - and that description will be automatically added in the rendered docstring.