Skip to content

events schema: separate individual event type definitions from definition of event collection? #3637

@infotroph

Description

@infotroph

Comment by @infotroph in #3621 (comment) :

I ask this without looking at the rules for JSON schema specs, so apologies if the answer is "this is how it has to work". BUT:

One list of all the possible properties of every event type feels like it will get unmanageable really fast as we add more event types. Is there a way to enumerate the possible event types here without any of their internal details, and then elsewhere in the schema have each event type get its own separate definition of only the properties accepted by that type?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions