-
Notifications
You must be signed in to change notification settings - Fork 45
Add collection-save and review reference config #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
bharatkashyap
wants to merge
25
commits into
project-sunbird:release-3.9.0
Choose a base branch
from
Samagra-Development:release-3.9.0
base: release-3.9.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
61151e4
Add collection-save reference config
bharatkashyap 922885b
Update reference-sample-config/collection-save.json
bharatkashyap 50a14f2
Update reference-sample-config/collection-save.json
bharatkashyap 3a85b20
Update reference-sample-config/collection-save.json
bharatkashyap 42b1656
Update reference-sample-config/collection-save.json
bharatkashyap 59a88da
Update reference-sample-config/collection-save.json
bharatkashyap d10e699
Update reference-sample-config/collection-save.json
bharatkashyap ba8a7c6
Update reference-sample-config/collection-save.json
bharatkashyap 6087209
Update reference-sample-config/collection-save.json
bharatkashyap ace6e02
Update reference-sample-config/collection-save.json
bharatkashyap fff5a7b
Update reference-sample-config/collection-save.json
bharatkashyap cbb9f54
Add copyrightYear, license and licenseTerms
bharatkashyap 431eab3
Update collection-save.json
bharatkashyap 5bf9aab
Rebase from production configuration
bharatkashyap 8d491c8
Create collection-review.json
bharatkashyap 42f7234
Update indices
bharatkashyap 74c8246
Apply suggestions from code review
bharatkashyap 6a4e8dd
JSON lint
bharatkashyap 7e082c2
JSON lint
bharatkashyap a1b4210
Update collection-save: Add dependency information
bharatkashyap 1c16837
Update collection-review: Add dependency info
bharatkashyap f8816b6
Rename "subtype" to "subType"
bharatkashyap fc7717b
Rename "subType" to "subtype"
bharatkashyap 98ba11a
Update collection-save.json
bharatkashyap 271d4b8
Update collection-review.json
bharatkashyap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,287 @@ | ||
| { "request" : | ||
| { | ||
| "type": "content", | ||
| "subType": "collection", | ||
| "action": "review", | ||
| "component": "", | ||
| "framework": "", | ||
| "rootOrgId":"", | ||
| "data": { | ||
| "templateName": "defaultTemplate", | ||
| "action": "review", | ||
| "fields": [{ | ||
| "code": "appicon", | ||
| "visible": true, | ||
| "editable": true, | ||
| "dataType": "url", | ||
| "renderingHints": {}, | ||
| "name": "App Icon", | ||
| "description": "App Icon", | ||
| "index": 0, | ||
| "inputType": "file", | ||
| "label": "Icon", | ||
| "placeholder": "App Icon", | ||
| "required": true | ||
| }, { | ||
| "code": "name", | ||
| "visible": true, | ||
| "editable": true, | ||
| "displayProperty": "Editable", | ||
| "dataType": "text", | ||
| "renderingHints": { | ||
| "width": "twelve" | ||
| }, | ||
| "description": "Name", | ||
| "index": 1, | ||
| "label": "Name", | ||
| "required": true, | ||
| "name": "Name", | ||
| "inputType": "text", | ||
| "placeholder": "Name", | ||
| "validation": [{ | ||
| "type": "max", | ||
| "message": "Input is Exceded", | ||
| "value": "120" | ||
| }] | ||
| }, { | ||
| "code": "description", | ||
| "visible": true, | ||
| "editable": true, | ||
| "displayProperty": "Editable", | ||
| "dataType": "textarea", | ||
| "renderingHints": { | ||
| "width": "twelve" | ||
| }, | ||
| "description": "description", | ||
| "index": 2, | ||
| "label": "Description", | ||
| "required": false, | ||
| "name": "Description", | ||
| "inputType": "textarea", | ||
| "placeholder": "Description", | ||
| "validation": [{ | ||
| "type": "max", | ||
| "message": "Input is Exceded", | ||
| "value": "1000" | ||
| }] | ||
| }, { | ||
| "code": "keywords", | ||
| "visible": true, | ||
| "editable": true, | ||
| "dataType": "list", | ||
| "name": "Keywords", | ||
| "description": "Keywords for the content", | ||
| "inputType": "keywordsuggestion", | ||
| "label": "keywords", | ||
| "index": 3, | ||
| "placeholder": "Enter Keywords", | ||
| "required": false | ||
| }, { | ||
| "code": "primaryCategory", | ||
| "dataType": "text", | ||
| "description": "Collection Type", | ||
| "editable": false, | ||
| "index": 4, | ||
| "renderingHints": {}, | ||
| "inputType": "text", | ||
| "label": "Collection Type", | ||
| "name": "Collection Type", | ||
| "placeholder": "", | ||
| "required": true, | ||
| "visible": true | ||
| }, { | ||
| "code": "additionalCategories", | ||
| "dataType": "list", | ||
| "description": "Additonal Category of the Content", | ||
| "editable": true, | ||
| "index": 5, | ||
| "inputType": "multiselect", | ||
| "label": "Additional Category", | ||
| "name": "Additional Category", | ||
| "placeholder": "Select Additional Category", | ||
| "renderingHints": {}, | ||
| "range": ["Textbook", "Lesson Plan"], | ||
| "required": false, | ||
| "visible": true | ||
| }, | ||
| { | ||
| "code": "board", | ||
| "dataType": "text", | ||
| "depends": ["medium", "gradeLevel", "subject", "topic"], | ||
| "description": "Board", | ||
| "editable": true, | ||
| "index": 6, | ||
| "inputType": "select", | ||
| "label": "Board", | ||
| "name": "Board", | ||
| "placeholder": "Select Board", | ||
| "renderingHints": {}, | ||
| "required": true, | ||
| "visible": true | ||
| }, { | ||
| "code": "medium", | ||
| "dataType": "list", | ||
| "depends": ["gradeLevel", "subject", "topic"], | ||
| "description": "", | ||
| "editable": true, | ||
| "index": 7, | ||
| "inputType": "select", | ||
| "label": "Medium of Instruction", | ||
| "name": "medium", | ||
| "placeholder": "Select Medium", | ||
| "renderingHints": {}, | ||
| "required": true, | ||
| "visible": true | ||
| }, { | ||
| "code": "gradeLevel", | ||
| "dataType": "list", | ||
| "depends": ["subject", "topic"], | ||
| "description": "Class", | ||
| "editable": true, | ||
| "index": 8, | ||
| "inputType": "multiselect", | ||
| "label": "Class", | ||
| "name": "Class", | ||
| "placeholder": "Select Class", | ||
| "renderingHints": {}, | ||
| "required": true, | ||
| "visible": true | ||
| }, { | ||
| "code": "subject", | ||
| "dataType": "list", | ||
| "depends": ["topic"], | ||
| "description": "", | ||
| "editable": true, | ||
| "index": 9, | ||
| "inputType": "multiselect", | ||
| "label": "Subject", | ||
| "name": "Subject", | ||
| "placeholder": "Select Subject", | ||
| "renderingHints": {}, | ||
| "required": true, | ||
| "visible": true | ||
| }, { | ||
| "code": "topic", | ||
| "dataType": "list", | ||
| "description": "Choose Topics", | ||
| "editable": true, | ||
| "index": 10, | ||
| "inputType": "topicselector", | ||
| "label": "Topics Covered", | ||
| "name": "Topic", | ||
| "placeholder": "Choose Topics", | ||
| "renderingHints": {}, | ||
| "required": false, | ||
| "visible": true | ||
| }, { | ||
| "code": "audience", | ||
| "visible": true, | ||
| "editable": false, | ||
| "dataType": "list", | ||
| "renderingHints": {}, | ||
| "description": "", | ||
| "index": 11, | ||
| "range": ["Administrator", "Parent", "Student", "Teacher"], | ||
| "label": "Audience", | ||
| "required": false, | ||
| "name": "Audience", | ||
| "inputType": "multiselect", | ||
| "placeholder": "Select Audience" | ||
| }, { | ||
| "code": "author", | ||
| "visible": true, | ||
| "editable": true, | ||
| "dataType": "text", | ||
| "renderingHints": {}, | ||
| "name": "Author", | ||
| "description": "Original Author", | ||
| "index": 12, | ||
| "inputType": "text", | ||
| "label": "Original Author", | ||
| "placeholder": "Author", | ||
| "required": false | ||
| }, { | ||
| "code": "attributions", | ||
| "visible": true, | ||
| "editable": true, | ||
| "dataType": "list", | ||
| "renderingHints": {}, | ||
| "name": "attribution", | ||
| "description": "Attributions", | ||
| "index": 13, | ||
| "inputType": "text", | ||
| "label": "Attributions", | ||
| "placeholder": "Attributions", | ||
| "required": false | ||
| }, { | ||
| "code": "copyright", | ||
| "visible": true, | ||
| "editable": true, | ||
| "dataType": "text", | ||
| "renderingHints": {}, | ||
| "name": "Copyright", | ||
| "description": "Copyright", | ||
| "index": 14, | ||
| "inputType": "text", | ||
| "label": "Copyright", | ||
| "placeholder": "Copyright", | ||
| "required": false | ||
| }, { | ||
| "code": "copyrightYear", | ||
| "visible": true, | ||
| "editable": true, | ||
| "dataType": "list", | ||
| "renderingHints": {}, | ||
| "description": "Year of Creation", | ||
| "index": 15, | ||
| "label": "Year of Creation", | ||
| "required": true, | ||
| "name": "Year of Creation", | ||
| "inputType": "number", | ||
| "placeholder": "Enter Year of Creation", | ||
| "validation": [{ | ||
| "type": "min", | ||
| "message": "Maximum length of the year should be 4", | ||
| "value": "4" | ||
| }, { | ||
| "type": "max", | ||
| "message": "Minimum length of the year should be 4", | ||
| "value": "4" | ||
| }] | ||
| }, { | ||
| "code": "license", | ||
| "visible": true, | ||
| "editable": true, | ||
| "dataType": "text", | ||
| "renderingHints": {}, | ||
| "name": "license", | ||
| "description": "License of the content", | ||
| "index": 16, | ||
| "inputType": "licenses", | ||
| "label": "license", | ||
| "placeholder": "license", | ||
| "required": true | ||
| }, { | ||
| "code": "licenseterms", | ||
| "visible": true, | ||
| "editable": true, | ||
| "defaultValue": "By creating any type of content (resources, books, courses etc.) on DIKSHA, you consent to publish it under the Creative Commons License Framework. Please choose the applicable creative commons license you wish to apply to your content.", | ||
| "dataType": "text", | ||
| "renderingHints": { | ||
| "value": { | ||
| "video/x-youtube": "By linking or uploading YouTube videos on DIKSHA, you consent to publishing it as per the terms of the YouTube video license. DIKSHA accepts only videos with YouTube Standard License or Creative Commons License." | ||
| }, | ||
| "class": "twelve wide field" | ||
| }, | ||
| "description": "licenseterms", | ||
| "index": 17, | ||
| "label": "License Terms", | ||
| "required": false, | ||
| "name": "licenseterms", | ||
| "inputType": "label", | ||
| "placeholder": "license" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.