added tariffID to site area schema
MODIFY
src/assets/schemas/common/common.json
src/assets/schemas/common/common.json
"pattern": "^(\\d\\|?)*$",
"sanitize": "mongo"
},
+ "tariff-id": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 36,
+ "sanitize": "mongo",
+ "nullable": true
+ },
"authSubdomain": {
"type": "string",
"pattern": "^[a-z0-9]*$",

MODIFY
src/assets/server/rest/v1/schemas/site-area/site-area-create.json
src/assets/server/rest/v1/schemas/site-area/site-area-create.json
},
"image": {
"$ref": "site-area#/definitions/image"
+ },
+ "tariffID": {
+ "$ref": "common#/definitions/tariff-id"
}
},
"required": [

MODIFY
src/assets/server/rest/v1/schemas/site-area/site-area-update.json
src/assets/server/rest/v1/schemas/site-area/site-area-update.json
},
"image": {
"$ref": "site-area#/definitions/image"
+ },
+ "tariffID": {
+ "$ref": "common#/definitions/tariff-id"
}
},
"required": [

added tariffID to site area schema