Refactored into a script using zod based on feedback

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Andre Wanlin
2026-01-27 19:14:44 -06:00
parent ed3bcf377c
commit 4977f58b9a
6 changed files with 94 additions and 127 deletions
-56
View File
@@ -1,56 +0,0 @@
{
"$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"
}
}
}