jx/internal/resource/schemas/package.jsonschema

20 lines
413 B
Plaintext
Raw Normal View History

2024-04-03 19:27:16 +00:00
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "package",
"type": "object",
2024-04-05 17:22:17 +00:00
"required": [ "name", "version", "type" ],
2024-04-03 19:27:16 +00:00
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"type": {
"type": "string",
"description": "package type",
2024-04-05 17:22:17 +00:00
"enum": [ "rpm", "deb", "yum", "dnf", "apt", "apk", "pip", "go" ]
2024-04-03 19:27:16 +00:00
}
}
}