Commit 46ca55f2 authored by Boxiang Sun's avatar Boxiang Sun

peertube: Input schema update

parent 0226ee01
Pipeline #24650 passed with stage
in 0 seconds
...@@ -5,58 +5,76 @@ ...@@ -5,58 +5,76 @@
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"name": { "name": {
"description": "Instance Title", "title": "Instance Title",
"description": "The name of your peertube instance.",
"default": "Peertube in Slapos", "default": "Peertube in Slapos",
"type": "string" "type": "string"
}, },
"short_description": { "short_description": {
"description": "PeerTube short description", "title": "PeerTube Short Description",
"description": "Short description of your peertube instance.",
"default": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.", "default": "PeerTube, an ActivityPub-federated video streaming platform using P2P directly in your web browser.",
"type": "string" "type": "string"
}, },
"description": { "description": {
"description": "Peertube instance description", "title": "Peertube Long Description",
"description": "The description of your instance",
"default": "Welcome to this PeerTube instance!", "default": "Welcome to this PeerTube instance!",
"textarea": true,
"type": "string" "type": "string"
}, },
"terms": { "terms": {
"title": "Terms",
"description": "", "description": "",
"default": "No terms for now.", "default": "No terms for now.",
"textarea": true,
"type": "string" "type": "string"
}, },
"code_of_conduct": { "code_of_conduct": {
"title": "Code of Conduct",
"description": "", "description": "",
"default": "", "default": "",
"textarea": true,
"type": "string" "type": "string"
}, },
"moderation_information": { "moderation_information": {
"title": "Moderation Information",
"description": "Who moderates the instance? What is the policy regarding NSFW videos? Political videos? etc", "description": "Who moderates the instance? What is the policy regarding NSFW videos? Political videos? etc",
"default": "", "default": "",
"textarea": true,
"type": "string" "type": "string"
}, },
"creation_reason": { "creation_reason": {
"title": "Creation Reason",
"description": "Why did you create this instance?", "description": "Why did you create this instance?",
"default": "", "default": "",
"textarea": true,
"type": "string" "type": "string"
}, },
"administrator": { "administrator": {
"title":"Administrator",
"description": "Who is behind the instance? A single person? A non profit?", "description": "Who is behind the instance? A single person? A non profit?",
"default": "", "default": "",
"type": "string" "type": "string"
}, },
"maintenance_lifetime": { "maintenance_lifetime": {
"title": "Maintenance Lifetime",
"description": "How long do you plan to maintain this instance?", "description": "How long do you plan to maintain this instance?",
"default": "", "default": "",
"type": "string" "type": "string"
}, },
"business_model": { "business_model": {
"title": "Business Model",
"description": "How will you pay the PeerTube instance server? With your own funds? With users donations? Advertising?", "description": "How will you pay the PeerTube instance server? With your own funds? With users donations? Advertising?",
"default": "", "default": "",
"textarea": true,
"type": "string" "type": "string"
}, },
"hardware_information": { "hardware_information": {
"title": "Hardware Information",
"description": "", "description": "",
"default": "", "default": "",
"textarea": true,
"type": "string" "type": "string"
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment