Files
backstage/microsite/data/plugin-schema.json
T
Andre Wanlin ed3bcf377c Plugins - Added plugin directory validation
Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Correct file check

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Correct file extension

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Minor corrections

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Corrected ldap-auth file

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Added pattern to npmPackageName

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Removing pattern

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Ran prettier

Signed-off-by: Andre Wanlin <awanlin@spotify.com>

Changes based on feedback

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
2026-01-27 18:26:47 -06:00

57 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/plugin",
"definitions": {
"plugin": {
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string"
},
"author": {
"type": "string"
},
"authorUrl": {
"type": "string",
"format": "uri"
},
"category": {
"type": "string"
},
"description": {
"type": "string"
},
"documentation": {
"type": "string",
"format": "uri"
},
"iconUrl": {
"type": "string"
},
"npmPackageName": {
"type": "string"
},
"addedDate": {
"type": "string",
"format": "date"
},
"order": {
"type": "number"
}
},
"required": [
"addedDate",
"author",
"authorUrl",
"category",
"description",
"documentation",
"npmPackageName",
"title"
],
"title": "plugin"
}
}
}