Skip to content

Commit

Permalink
feat: begin to add List to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
meenahoda committed Mar 28, 2019
1 parent 31f97b0 commit 2c02b5e
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions lib/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@
{
"$ref": "#/definitions/Table"
},
{
"$ref": "#/definitions/List"
},
{
"$ref": "#/definitions/Media"
},
Expand Down Expand Up @@ -1843,6 +1846,42 @@
"title"
]
},
"List": {
"additionalProperties": true,
"type": "object",
"description": "Displays text, allowing control over font sizes, weight, and color.",
"allOf": [
{
"$ref": "#/definitions/CardElement"
}
],
"properties": {
"id": {
"type": "string",
"description": "A unique identifier associated with the element."
},
"type": {
"type": "string",
"description": "Must be `\"List\"`.",
"enum": [
"List"
]
},
"title": {
"type": "string",
"description": "Title displayed for the `List`."
},
"arrayPath": {
"type": "string",
"description": "Points to the array of data to be displayed."
}
},
"required": [
"id",
"type",
"arrayPath"
]
},
"Table": {
"additionalProperties": true,
"type": "object",
Expand Down

0 comments on commit 2c02b5e

Please sign in to comment.