OpenMiInk/third_party/kde-ci-utilities/resources/jsonschemas/kpluginmetadata.schema.json
Hellings b8c8ff98e2 Hi
2026-10-16 09:05:56 -04:00

118 lines
2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"KPlugin": {
"additionalProperties": true,
"properties": {
"Name": {
"type": "string"
},
"Description": {
"type": "string"
},
"Icon": {
"type": "string"
},
"Authors": {
"type": "array",
"items": {
"$ref": "#/definitions/KAboutPerson"
}
},
"Category": {
"type": "string"
},
"License": {
"type": "string"
},
"Copyright": {
"type": "string"
},
"Id": {
"type": "string"
},
"Version": {
"type": "string"
},
"Website": {
"type": "string"
},
"BugReportUrl": {
"type": "string"
},
"EnabledByDefault": {
"type": "boolean"
},
"MimeTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"FormFactors": {
"type": "array",
"items": {
"type": "string"
}
},
"Translators": {
"type": "array",
"items": {
"$ref": "#/definitions/KAboutPerson"
}
},
"OtherContributors": {
"type": "array",
"items": {
"$ref": "#/definitions/KAboutPerson"
}
},
"InitialPreference": {
"type": "number",
"title": "Only for KParts compatibility"
}
},
"patternProperties": {
"^Name\\[.+\\]$": {
"type": "string",
"title": "Translated name"
},
"^Description\\[.+\\]$": {
"type": "string",
"title": "Translated name"
}
}
}
},
"definitions": {
"KAboutPerson": {
"type": "object",
"additionalProperties": false,
"properties": {
"Name": {
"type": "string"
},
"Email": {
"type": "string"
},
"Task": {
"type": "string"
},
"Website": {
"type": "string"
},
"AvatarUrl": {
"type": "string"
}
},
"patternProperties": {
"^Name\\[.+\\]$": {
"type": "string",
"title": "Translated name"
}
},
"required": ["Name"]
}
}
}