2015-06-02 23:57:57 +00:00
|
|
|
{
|
2015-06-03 23:48:17 +00:00
|
|
|
"name": "story",
|
2015-06-02 23:57:57 +00:00
|
|
|
"base": "PersistedModel",
|
|
|
|
"trackChanges": false,
|
|
|
|
"idInjection": true,
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string",
|
|
|
|
"unique": true
|
|
|
|
},
|
|
|
|
"headline": {
|
|
|
|
"type": "string",
|
|
|
|
"unique": false
|
|
|
|
},
|
|
|
|
"timePosted": {
|
|
|
|
"type": "number",
|
2015-06-02 23:58:12 +00:00
|
|
|
"default": "0"
|
2015-06-02 23:57:57 +00:00
|
|
|
},
|
|
|
|
"link": {
|
|
|
|
"type": "string",
|
|
|
|
"unique": false
|
|
|
|
},
|
|
|
|
"metaDescription": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "",
|
|
|
|
"unique": false
|
|
|
|
},
|
|
|
|
"description": {
|
|
|
|
"type": "string",
|
|
|
|
"unique": false
|
|
|
|
},
|
|
|
|
"originalStoryAuthorEmail": {
|
|
|
|
"type": "string",
|
|
|
|
"default": ""
|
|
|
|
},
|
|
|
|
"rank": {
|
|
|
|
"type": "number",
|
|
|
|
"default": "-Infinity"
|
|
|
|
},
|
|
|
|
"upVotes": {
|
|
|
|
"type": "array",
|
|
|
|
"default": []
|
|
|
|
},
|
|
|
|
"author": {},
|
|
|
|
"comments": {
|
|
|
|
"type": "array",
|
|
|
|
"default": []
|
|
|
|
},
|
|
|
|
"image": {
|
|
|
|
"type": "string",
|
|
|
|
"default": ""
|
|
|
|
},
|
|
|
|
"storyLink": {
|
|
|
|
"type": "string",
|
|
|
|
"default": ""
|
2015-06-02 23:58:12 +00:00
|
|
|
},
|
2015-06-02 23:57:57 +00:00
|
|
|
"difficulty": "string",
|
|
|
|
"description": "array",
|
|
|
|
"tests": "array",
|
|
|
|
"challengeSeed": "array",
|
|
|
|
"MDNlinks": {
|
|
|
|
"type": "array"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"validations": [],
|
|
|
|
"relations": {},
|
|
|
|
"acls": [],
|
|
|
|
"methods": []
|
|
|
|
}
|