From 0b2cdc1f03b71f86cdd064f59cf97b6b7400afd4 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 17 Jun 2023 23:44:41 -0400 Subject: Update SPEC.md --- SPEC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SPEC.md') diff --git a/SPEC.md b/SPEC.md index 9517d83..5013db4 100644 --- a/SPEC.md +++ b/SPEC.md @@ -43,7 +43,7 @@ The vast majority of addons are `singleton` `plugin`s. Fields that are required are bolded. * **`id`**: The semantic id of the addon, a string only containing `[a-z0-9\-_]`. -* **`version`**: The addon's semantic version. A string that can contain `[0-9\.]`. +* **`version`**: The addon's semantic version (major.minor.revision). A string that matches the regex `^[0-9]+(\.[0-9]+){0,2}$`. * **`mod_version`**: The mod_version this addon is compatible with. A string that can contain `[0-9\.]`. If `type` is `library`, this field is optional. * `type`: An optional string that specifies the addon type. Valid values are `"plugin"` -- cgit v1.2.3