Skip to content

Commit

Permalink
Added arrayVisualization to manifest schema
Browse files Browse the repository at this point in the history
  • Loading branch information
epessina committed Oct 18, 2023
1 parent 7197011 commit 808c905
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Added

- Added `arrayVisualization` to manifest schema

## [0.1.1] - 2023-06-12

### Added
Expand Down
24 changes: 24 additions & 0 deletions schemas/mia.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,30 @@
"enumLabels": {
"type": "object",
"additionalProperties": { "$ref": "#/definitions/localized-text" }
},
"arrayVisualization": {
"oneOf": [
{
"type": "object",
"properties": {
"type": { "const": "table" },
"configuration": {
"title": "ArrayTableConfig",
"type": "object",
"properties": {
"columns": {
"description": "Name of the items properties to visualize in the table",
"type": "array",
"items": { "type": "string" },
"minItems": 1
}
},
"required": ["columns"]
}
},
"required": ["type", "configuration"]
}
]
}
},
"additionalProperties": false
Expand Down

0 comments on commit 808c905

Please sign in to comment.