Creates an object conforming to the h5p.json schema.
these objects will be merged into the newly created object
Optionala11yOptionalauthorOptionalauthorOptionalauthorsOptionalchangesOptionalcontentOptionaldynamicOptionaleditorOptionalhOptionallicenseOptionallicenseOptionalmetaOptionalmetaA flat list of all dependencies required for the content to be displayed. Note that this list is a flat representation of the full dependency tree that is created by looking up all dependencies of the main library.
OptionalsourceOptionalwOptionalyearsOptionalyearsStatictoDetermines the main library and returns the ubername for it (e.g. "H5P.Example 1.0").
the metadata object (=h5p.json)
the ubername with a whitespace as separator
Content metadata object with defaults for required values and sanitization to make sure it the metadata conforms to the schema.