From eb21c2571c4330ff7b9ba0ad706f5b32f078c2c7 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Fri, 8 Oct 2021 14:07:31 +0200 Subject: [PATCH] Updated rawtext with examples --- source/general/rawtext/rawtext.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/general/rawtext/rawtext.json b/source/general/rawtext/rawtext.json index eaf52df2..b4f1645e 100644 --- a/source/general/rawtext/rawtext.json +++ b/source/general/rawtext/rawtext.json @@ -5,6 +5,7 @@ "type": "object", "additionalProperties": false, "required": ["rawtext"], + "examples": [{ "rawtext": [] }], "definitions": { "rawtext": { "title": "Rawtext", @@ -28,6 +29,7 @@ "type": "object", "additionalProperties": false, "required": ["selector"], + "examples": [{ "selector": "@s" }, { "selector": "@p" }], "properties": { "selector": { "title": "Selector", @@ -46,6 +48,7 @@ "type": "object", "additionalProperties": false, "required": ["score"], + "examples": [{ "score": { "name": "*", "objective": "score" } }, { "score": { "name": "@p", "objective": "score" } }], "properties": { "score": { "title": "Score", @@ -78,6 +81,7 @@ "type": "object", "additionalProperties": false, "required": ["text"], + "examples": [{ "text": "" }], "properties": { "text": { "title": "Text", @@ -94,6 +98,7 @@ "type": "object", "additionalProperties": false, "required": ["translate"], + "examples": [{ "translate": "example.translation.key" }, { "translate": "example.translation.key", "with": ["\n"] }], "properties": { "translate": { "title": "Translate",