From 1c529e62c99d643dea0d3b68e3ed1d8e2e40d2c6 Mon Sep 17 00:00:00 2001 From: Timo Ley Date: Sun, 27 Feb 2022 20:26:01 +0100 Subject: [PATCH] Add namespace to relation --- docs/schema/relation.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/schema/relation.md b/docs/schema/relation.md index 56e51b1..b49d6f5 100644 --- a/docs/schema/relation.md +++ b/docs/schema/relation.md @@ -2,7 +2,8 @@ ```json { - "id": "namespace:othermod", + "id": "othermod", + "namespace": "com.example", "version": "[1.0]", "repositories": ["repo1"], "flags": [], @@ -14,10 +15,15 @@ ### id -This is the ID or namespaced ID of the addon this relation refers to. +This is the ID of the addon this relation refers to. ## Optional properties +### namespace + +This is the [namespace](../concepts/namespaces.md) of the related addon. This property will be implicitly equal to the +[namespace of the addon](addon.md#namespace), if it was not set explicitly. + ### version This is a [maven version range](../concepts/versioning.md#dependancy-version-requirement-specification) that specifies, which versions