freeCodeCamp/common/models/challenge.json

95 lines
1.5 KiB
JSON
Raw Normal View History

{
"name": "challenge",
"base": "PersistedModel",
"idInjection": true,
2015-06-11 06:59:42 +00:00
"trackChanges": false,
"properties": {
"name": {
"type": "string",
"index": {
"mongodb": {
"unique": true,
"background": true
}
}
},
2015-07-14 01:30:51 +00:00
"title": {
"type": "string"
},
2015-08-08 06:37:32 +00:00
"type": {
"type": "string"
},
"order": {
"type": "number"
},
2015-06-14 07:56:47 +00:00
"dashedName": {
"type": "string"
},
2015-06-11 06:59:42 +00:00
"difficulty": {
"type": "string"
},
"description": {
"type": "array"
},
"tests": {
"type": "array"
},
"challengeSeed": {
"type": "array"
},
"challengeType": {
"type": "string"
},
"MDNlinks": {
"type": "array"
},
"nameCn": {
"type": "string"
},
"descriptionCn": {
"type": "array"
},
"nameFr": {
"type": "string"
},
"descriptionFr": {
"type": "array"
},
"nameRu": {
"type": "string"
},
"descriptionRu": {
"type": "array"
},
"nameEs": {
"type": "string"
},
"descriptionEs": {
"type": "array"
},
"namePt": {
"type": "string"
},
"descriptionPt": {
"type": "array"
}
},
"validations": [],
"relations": {},
2015-06-11 06:59:42 +00:00
"acls": [
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "DENY"
},
{
"accessType": "READ",
"principalType": "ROLE",
2015-06-24 15:23:49 +00:00
"principalId": "$everyone",
2015-06-11 06:59:42 +00:00
"permission": "ALLOW"
}
],
"methods": []
2015-06-11 06:59:42 +00:00
}