addonscript-spec/docs/schema/version.md

852 B

Version Object

{
  "version": "1.0",
  "files": [],
  "relations": [],
  "flags": ["server", "client"],
  "meta": {}
}

Required properties

version

This is the version number of this version. It should follow Maven version naming conventions, as they are used to comparing versions.

Optional properties

files

This is an array of file objects, including the files, belonging to this version.

relations

This is an array of relation objects, which represents related addons.

flags

This is an array of flags for this version. If this property is not present in a version object, the version will have the flags, which are set as default for versions.

meta

This is a meta object.