Updated rawtext with examples
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["rawtext"],
|
"required": ["rawtext"],
|
||||||
|
"examples": [{ "rawtext": [] }],
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"rawtext": {
|
"rawtext": {
|
||||||
"title": "Rawtext",
|
"title": "Rawtext",
|
||||||
@@ -28,6 +29,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["selector"],
|
"required": ["selector"],
|
||||||
|
"examples": [{ "selector": "@s" }, { "selector": "@p" }],
|
||||||
"properties": {
|
"properties": {
|
||||||
"selector": {
|
"selector": {
|
||||||
"title": "Selector",
|
"title": "Selector",
|
||||||
@@ -46,6 +48,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["score"],
|
"required": ["score"],
|
||||||
|
"examples": [{ "score": { "name": "*", "objective": "score" } }, { "score": { "name": "@p", "objective": "score" } }],
|
||||||
"properties": {
|
"properties": {
|
||||||
"score": {
|
"score": {
|
||||||
"title": "Score",
|
"title": "Score",
|
||||||
@@ -78,6 +81,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["text"],
|
"required": ["text"],
|
||||||
|
"examples": [{ "text": "" }],
|
||||||
"properties": {
|
"properties": {
|
||||||
"text": {
|
"text": {
|
||||||
"title": "Text",
|
"title": "Text",
|
||||||
@@ -94,6 +98,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": ["translate"],
|
"required": ["translate"],
|
||||||
|
"examples": [{ "translate": "example.translation.key" }, { "translate": "example.translation.key", "with": ["\n"] }],
|
||||||
"properties": {
|
"properties": {
|
||||||
"translate": {
|
"translate": {
|
||||||
"title": "Translate",
|
"title": "Translate",
|
||||||
|
|||||||
Reference in New Issue
Block a user