refactor: hoist current/past-maintainers keys up (#811)
Co-authored-by: uncenter <[email protected]>
This commit is contained in:
1 parent
09a7f85181
commit
6ca6c43736
7 files changed
+148
-148
No files matched your search
@@ -15,7 +15,7 @@
|
||||
"type": "object",
|
||||
"description": "The directory of the userstyle.",
|
||||
"examples": ["youtube"],
|
||||
"required": ["name", "categories", "readme", "color"],
|
||||
"required": ["name", "categories", "readme", "color", "current-maintainers"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
@@ -79,7 +79,7 @@
|
||||
"title": "README",
|
||||
"description": "Options to help in the auto-generation of the userstyle README.",
|
||||
"type": "object",
|
||||
"required": ["app-link", "current-maintainers"],
|
||||
"required": ["app-link"],
|
||||
"properties": {
|
||||
"app-link": {
|
||||
"$id": "#userstyles/userstyle/readme/app-link",
|
||||
@@ -130,23 +130,23 @@
|
||||
},
|
||||
"required": ["question", "answer"]
|
||||
}
|
||||
},
|
||||
"current-maintainers": {
|
||||
"$id": "#userstyles/userstyle/readme/current-maintainers",
|
||||
"title": "Current Maintainers",
|
||||
"description": "List of all active maintainers for this userstyle.",
|
||||
"type": "array",
|
||||
"$ref": "#/$defs/collaborators"
|
||||
},
|
||||
"past-maintainers": {
|
||||
"$id": "#userstyles/userstyle/readme/past-maintainers",
|
||||
"title": "Past Maintainers",
|
||||
"type":"array",
|
||||
"minItems": 1,
|
||||
"description": "List of all maintainers that have maintained on this userstyle in the past.",
|
||||
"$ref": "#/$defs/collaborators"
|
||||
}
|
||||
}
|
||||
},
|
||||
"current-maintainers": {
|
||||
"$id": "#userstyles/userstyle/current-maintainers",
|
||||
"title": "Current Maintainers",
|
||||
"description": "List of all active maintainers for this userstyle.",
|
||||
"type": "array",
|
||||
"$ref": "#/$defs/collaborators"
|
||||
},
|
||||
"past-maintainers": {
|
||||
"$id": "#userstyles/userstyle/past-maintainers",
|
||||
"title": "Past Maintainers",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"description": "List of all users that have maintained this userstyle in the past.",
|
||||
"$ref": "#/$defs/collaborators"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -182,7 +182,7 @@
|
||||
"required": ["url"]
|
||||
}
|
||||
},
|
||||
"categories": {
|
||||
"categories": {
|
||||
"$id": "#categories",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
|
||||
Reference in new issue
Block a user