Updated required fields for assets create/update
MODIFY
src/assets/server/rest/v1/schemas/asset/asset-create.json
src/assets/server/rest/v1/schemas/asset/asset-create.json
"meterID": {
"$ref": "asset.json#/definitions/meterID"
}
- }
+ },
+ "required": [
+ "name",
+ "siteAreaID",
+ "assetType"
+ ]
}

MODIFY
src/assets/server/rest/v1/schemas/asset/asset-update.json
src/assets/server/rest/v1/schemas/asset/asset-update.json
}
},
"required": [
- "id"
+ "id",
+ "name",
+ "siteAreaID",
+ "assetType"
]
}

Updated required fields for assets create/update