| { |
| "title": "Body", |
| "body": { |
| "content": { |
| "application/json": { |
| "schema": { |
| "properties": { |
| "description": { |
| "description": "Group description", |
| "maxLength": 512, |
| "minLength": 0, |
| "nullable": true, |
| "type": "string" |
| }, |
| "label": { |
| "description": "Group label", |
| "maxLength": 150, |
| "minLength": 0, |
| "nullable": true, |
| "type": "string" |
| }, |
| "name": { |
| "description": "Group name", |
| "maxLength": 100, |
| "minLength": 1, |
| "type": "string" |
| }, |
| "roles": { |
| "description": "Group roles", |
| "items": { "type": "integer" }, |
| "type": "array" |
| }, |
| "users": { |
| "description": "Group users", |
| "items": { "type": "integer" }, |
| "type": "array" |
| } |
| }, |
| "required": ["name"], |
| "type": "object", |
| "title": "GroupPostSchema" |
| }, |
| "example": { |
| "description": "string", |
| "label": "string", |
| "name": "string", |
| "roles": [1], |
| "users": [1] |
| } |
| } |
| }, |
| "description": "Model schema", |
| "required": true |
| } |
| } |