mirror of
https://github.com/Lissy93/awesome-privacy.git
synced 2026-03-11 08:55:33 +00:00
- Updates Python deps - Only run pip install on first time - Corrections to the schema - Adds missing URL field to Picocrypt to avoid failure - Improves the script, with neater output, proper error codes, colors, etc
85 lines
3.1 KiB
JSON
85 lines
3.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"categories": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": { "type": "string" },
|
|
"sections": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": { "type": "string" },
|
|
"services": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": { "type": "string" },
|
|
"description": { "type": "string" },
|
|
"url": { "type": "string" },
|
|
"github": { "type": ["string", "null"] },
|
|
"icon": { "type": ["string", "null"] },
|
|
"followWith": { "type": ["string", "null"] },
|
|
"securityAudited": { "type": ["boolean", "null"] },
|
|
"openSource": { "type": ["boolean", "null"] },
|
|
"acceptsCrypto": { "type": ["boolean", "null"] },
|
|
"tosdrId": { "type": ["number", "null"] },
|
|
"iosApp": { "type": ["string", "null"] },
|
|
"androidApp": { "type": ["string", "null"] },
|
|
"discordInvite": { "type": ["string", "null"] },
|
|
"subreddit": { "type": ["string", "null"] }
|
|
},
|
|
"required": ["name", "description", "url"],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"intro": { "type": ["string", "null"] },
|
|
"notableMentions": {
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": { "type": "string" },
|
|
"description": { "type": "string" },
|
|
"url": { "type": "string" }
|
|
},
|
|
"required": ["name", "url"],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
{ "type": "string" },
|
|
{ "type": "null" }
|
|
]
|
|
},
|
|
"furtherInfo": { "type": ["string", "null"] },
|
|
"wordOfWarning": { "type": ["string", "null"] },
|
|
"alternativeTo": {
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"items": { "type": "string" }
|
|
},
|
|
{ "type": "null" }
|
|
]
|
|
}
|
|
},
|
|
"required": ["name", "services"],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": ["name", "sections"],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": ["categories"],
|
|
"additionalProperties": false
|
|
}
|