scinote-web/spec/support/api/schemas/project_folders/item.json

52 lines
989 B
JSON
Raw Normal View History

2020-11-23 14:09:10 +08:00
{
"id": "file:/project_folders/item.json#",
2020-11-23 14:09:10 +08:00
"type": "object",
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"attributes": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
2020-11-23 14:09:10 +08:00
}
},
"additionalProperties": false,
"required": [
"name"
]
},
"relationships": {
"type": "object",
"properties": {
"team": {
"type": "object"
},
"parent_folder": {
"type": "object"
},
"projects": {
"type": "object"
},
"project_folders": {
"type": "object"
2020-11-23 14:09:10 +08:00
}
},
"additionalProperties": false,
"required": ["team"]
}
},
"additionalProperties": false,
"required": ["id", "type", "attributes"]
}