Skip to content

Commit

Permalink
Added external schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Jun 28, 2022
1 parent 4f42657 commit c79e9f2
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions backend/src/main/resources/external.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"type": "object",
"required": [
"name",
"@type",
"xmlId",
"description"
],
"properties": {
"name": {
"title": "label.metadata-provider-name-dashboard-display-only",
"description": "tooltip.metadata-provider-name-dashboard-display-only",
"type": "string",
"widget": {
"id": "string",
"help": "message.must-be-unique"
}
},
"@type": {
"title": "label.metadata-provider-type",
"description": "tooltip.metadata-provider-type",
"type": "string",
"const": "FilesystemMetadataResolver"
},
"xmlId": {
"title": "label.xml-id",
"description": "tooltip.xml-id",
"type": "string",
"minLength": 1
},
"enabled": {
"title": "label.enable-provider-upon-saving",
"description": "tooltip.enable-provider-upon-saving",
"type": "boolean",
"default": false
},
"description": {
"title": "label.description",
"description": "tooltip.description",
"type": "string"
}
}
}

0 comments on commit c79e9f2

Please sign in to comment.