freeCodeCamp/common/models/job.json

73 lines
1.2 KiB
JSON

{
"name": "job",
"base": "PersistedModel",
"idInjection": true,
"trackChanges": false,
"properties": {
"id": {
"type": "string",
"id": true
},
"position": {
"type": "string"
},
"company": {
"type": "string"
},
"logo": {
"type": "string"
},
"city": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
},
"state": {
"type": "string"
},
"country": {
"type": "string"
},
"location": {
"type": "geopoint"
},
"description": {
"type": "string"
},
"isApproverd": {
"type": "boolean"
},
"isHighlighted": {
"type": "boolean"
},
"isPaid": {
"type": "boolean"
},
"postedOn": {
"type": "date",
"defaultFn": "now"
}
},
"validations": [],
"relations": {},
"acls": [
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "DENY"
},
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
],
"methods": []
}