freeCodeCamp/common/models/job.json

69 lines
1.1 KiB
JSON
Raw Normal View History

{
"name": "job",
"base": "PersistedModel",
"idInjection": true,
2015-06-11 06:59:42 +00:00
"trackChanges": false,
"properties": {
2015-06-11 06:59:42 +00:00
"position": {
"type": "string"
},
"company": {
"type": "string"
},
2015-07-26 04:32:18 +00:00
"logo": {
2015-06-11 06:59:42 +00:00
"type": "string"
},
2015-07-26 04:32:18 +00:00
"city": {
2015-06-11 06:59:42 +00:00
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
2015-07-26 04:32:18 +00:00
"type": "string"
},
"state": {
"type": "string"
},
"country": {
"type": "string"
},
"location": {
"type": "geopoint"
},
"description": {
"type": "string"
},
"isApproverd": {
2015-07-26 04:59:52 +00:00
"type": "boolean"
2015-07-26 04:32:18 +00:00
},
"isHighlighted": {
2015-07-26 04:59:52 +00:00
"type": "boolean"
2015-07-26 04:32:18 +00:00
},
2015-07-26 04:59:52 +00:00
"isPaid": {
"type": "boolean"
2015-07-26 04:32:18 +00:00
},
"postedOn": {
"type": "date",
"defaultFn": "now"
2015-06-11 06:59:42 +00:00
}
},
"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": []
}