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

51 lines
989 B
JSON

{
"id": "file:/project_folders/item.json#",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"attributes": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"name"
]
},
"relationships": {
"type": "object",
"properties": {
"team": {
"type": "object"
},
"parent_folder": {
"type": "object"
},
"projects": {
"type": "object"
},
"project_folders": {
"type": "object"
}
},
"additionalProperties": false,
"required": ["team"]
}
},
"additionalProperties": false,
"required": ["id", "type", "attributes"]
}