Skip to content

Commit

Permalink
LPS-115484 Update token definition schema according to review
Browse files Browse the repository at this point in the history
See liferay-frontend#119 (comment) for more information.
  • Loading branch information
izaera committed Jul 15, 2020
1 parent bc82d5b commit 2f78d92
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,31 @@
"title": "The Language Key of the Token Label",
"type": "string"
},
"mappings": {
"items": {
"additionalProperties": false,
"not": {
"type": "null"
},
"properties": {
"type": {
"title": "The Type of the Mapping",
"type": "string"
},
"value": {
"title": "The Value of the Mapping for the Token",
"type": "string"
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"title": "The Mappings of the Token",
"type": "array"
},
"name": {
"title": "Name of the Token",
"type": "string"
Expand Down

0 comments on commit 2f78d92

Please sign in to comment.