2021-06-23 22:06:21 +02:00
|
|
|
# Index Object
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"versions": {
|
|
|
|
"1.0": "https://example.json/mymod-1.0.json"
|
|
|
|
},
|
|
|
|
"addons": {
|
|
|
|
"othermod": "https://example.com/othermod.json"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Optional Properties
|
|
|
|
|
|
|
|
### versions
|
|
|
|
|
2021-08-12 17:36:22 +02:00
|
|
|
This is an object, with version numbers as keys and [URLs](../url.md) to AddonScript files as values. The AddonScript file which the URL
|
2021-07-18 12:32:57 +02:00
|
|
|
points to must include the version number, which is the key in the map, and its addon ID must match the addon ID of the AddonScript
|
|
|
|
file which includes the index object.
|
2021-06-23 22:06:21 +02:00
|
|
|
|
|
|
|
### addons
|
|
|
|
|
2021-08-12 17:36:22 +02:00
|
|
|
This is an object, with addon IDs as keys and [URLs](../url.md) to AddonScript files as values. The addon ID of the AddonScript file, to
|
2021-06-23 22:06:21 +02:00
|
|
|
which the URL points, must match the key in the map.
|