From 44bfd8b238a8d46ff76284003fff474ba29d795d Mon Sep 17 00:00:00 2001 From: Eliot Berriot <contact@eliotberriot.com> Date: Wed, 17 Apr 2019 22:30:23 +0200 Subject: [PATCH] Support URL on retribution means --- schemas/0.1/example.json | 1 + schemas/0.1/schema.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/schemas/0.1/example.json b/schemas/0.1/example.json index f36773a..45b28e1 100644 --- a/schemas/0.1/example.json +++ b/schemas/0.1/example.json @@ -22,6 +22,7 @@ "id": "freetips", "name": "Tip me on freetips", "weight": 2, + "url": "https://freetips.com/@Alice", "summary": "This is the best place to tip me" } ] diff --git a/schemas/0.1/schema.json b/schemas/0.1/schema.json index 6e9bf10..8ac9322 100644 --- a/schemas/0.1/schema.json +++ b/schemas/0.1/schema.json @@ -42,7 +42,7 @@ }, "definitions": { "mean": { - "description": "A single retribution mean", + "description": "A single retribution mean. The type and id must form a unique combination", "type": "object", "required": ["provider", "id", "weight"], "minItems": 1, @@ -68,6 +68,9 @@ "name": { "type": "string" }, + "url": { + "type": "string" + }, "summary": { "type": "string" }, -- GitLab