Fixed schemas for additional properties
MODIFY
src/assets/server/rest/v1/schemas/user/user-assign-sites.json
src/assets/server/rest/v1/schemas/user/user-assign-sites.json
{
"title": "Assign sites to a User",
"type": "object",
- "definitions": {
+ "properties": {
"userID": {
"$ref": "user.json#/definitions/id"
},

MODIFY
src/assets/server/rest/v1/schemas/user/user-create.json
src/assets/server/rest/v1/schemas/user/user-create.json
{
"title": "Create one User",
"type": "object",
- "definitions": {
+ "properties": {
"name": {
"$ref": "user.json#/definitions/name"
},

MODIFY
src/assets/server/rest/v1/schemas/user/user-get-default-tag-car.json
src/assets/server/rest/v1/schemas/user/user-get-default-tag-car.json
{
"title": "Get user default tag and car",
"type": "object",
- "definitions": {
+ "properties": {
"UserID": {
"$ref": "user.json#/definitions/id"
},

MODIFY
src/assets/server/rest/v1/schemas/user/user-get-sites.json
src/assets/server/rest/v1/schemas/user/user-get-sites.json
{
"title": "Get User sites",
"type": "object",
- "definitions": {
+ "properties": {
"UserID": {
"$ref": "user.json#/definitions/id"
},

MODIFY
src/assets/server/rest/v1/schemas/user/user-get.json
src/assets/server/rest/v1/schemas/user/user-get.json
{
"title": "Get a User by id",
"type": "object",
- "definitions": {
+ "properties": {
"ID": {
"$ref": "user.json#/definitions/id"
},

MODIFY
src/assets/server/rest/v1/schemas/user/user-update-mobile-token.json
src/assets/server/rest/v1/schemas/user/user-update-mobile-token.json
{
"title": "Update User mobile token",
"type": "object",
- "definitions": {
+ "properties": {
"id": {
"$ref": "user.json#/definitions/id"
},

MODIFY
src/assets/server/rest/v1/schemas/user/user-update.json
src/assets/server/rest/v1/schemas/user/user-update.json
{
"title": "Update a User",
"type": "object",
- "definitions": {
+ "properties": {
"id": {
"$ref": "user.json#/definitions/id"
},

MODIFY
src/assets/server/rest/v1/schemas/user/users-inerror-get.json
src/assets/server/rest/v1/schemas/user/users-inerror-get.json
{
"title": "Get Users in error",
"type": "object",
- "definitions": {
+ "properties": {
"Roles": {
"type": "string",
"sanitize": "mongo",

Fixed schemas for additional properties