All top-level objects that `sway` supports should have a `getVendorExtensions` API for getting all `x-*` definitions at the root of its schema definition.