CDB3-455 CDB3-456 CDB3-653 LLE/LLD/LLP make field leaseRules.schedule.other required if other not filled
Summary: make required according to doc
STR:
- Go to /api/procedures/ endpoint
- Create procedure with next body:
{
"auctionPeriod": {
"startDate": "2021-03-16T01:35:00+00:00"
},
"sellingMethod": "legitimatePropertyLease-english-fast",
"lotId": "sd",
"title": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"description": {
"uk_UA": "string",
"en_US": "string"
},
"x_additionalInformation": {
"uk_UA": "string",
"en_US": "string"
},
"value": {
"currency": "UAH",
"amount": 9999999999999.99,
"valueAddedTaxIncluded": false
},
"valueAddedTaxCharged": false,
"calcOnBookValue": 0,
"guarantee": {
"currency": "UAH",
"amount": 2
},
"tenderAttempts": 1,
"accessDetails": {
"uk_UA": "ssss"
},
"minNumberOfQualifiedBids": 1,
"items": [
{
"itemType": "jointPropertyComplex",
"description": {
"uk_UA": "<script>document.body.style.backgroundColor='#f3f3f3'; alert('test');</script>",
"en_US": "string"
},
"classification": {
"scheme": "CAV",
"id": "04000000-8"
},
"unit": {
"code": "MTK"
},
"location": {
"latitude": "sd",
"longitude": "sd"
},
"address": {
"region": {
"uk_UA": "Автономна Республіка Крим"
},
"countryName": {
"uk_UA": "Україна"
}
},
"jpcProps": {
},
"quantity": 23,
"registrationDetails": {}
}
],
"minimalStep": {
"currency": "UAH",
"amount": 0.1
},
"registryId": "6048a0aafa3533ebadb0b32d",
"leaseRules": {
"intendedUseRestrictionMethod": "onlyDescribed",
"intendedUseRestrictionDescription": "wewe",
"schedule": {}
},
"relatedOrganizations": {
"sellingEntity": {
"identifier": {
"scheme": "UA-EDR",
"legalName": {
"uk_UA": "string",
"en_US": "string"
},
"id": "12345637"
},
"address": {
"addressID": {
"scheme": "koatuu",
"id": "0110136600"
},
"streetAddress": {
"uk_UA": "string",
"en_US": "string"
},
"locality": {
"uk_UA": "string",
"en_US": "string"
},
"region": {
"uk_UA": "Автономна Республіка Крим",
"en_US": "string"
},
"countryName": {
"uk_UA": "Україна"
}
},
"contactPoint": {
"email": "Tadmin@example.com",
"telephone": "+380123456789",
"name": {
"uk_UA": "string",
"en_US": "string"
},
"url": "http://string.com"
},
"representativeInfo": "Довіреність № 123 від 22.02.2012, дійсна до 30.03.2012/Наказ № 142 від 14.12.2019/Статут ТОВ Кульбаба від 24.07.2002"
},
"propertyOwner": {
"identifier": {
"scheme": "UA-EDR",
"legalName": {
"uk_UA": "string",
"en_US": "string"
},
"id": "12346437"
},
"address": {
"addressID": {
"scheme": "koatuu",
"id": "0110136600"
},
"streetAddress": {
"uk_UA": "string",
"en_US": "string"
},
"locality": {
"uk_UA": "string",
"en_US": "string"
},
"region": {
"uk_UA": "Автономна Республіка Крим",
"en_US": "string"
},
"countryName": {
"uk_UA": "Україна"
}
},
"contactPoint": {
"email": "Tadmin@example.com",
"telephone": "+380123456789",
"name": {
"uk_UA": "string",
"en_US": "string"
},
"url": "http://string.com"
},
"representativeInfo": "Довіреність № 123 від 22.02.2012, дійсна до 30.03.2012/Наказ № 142 від 14.12.2019/Статут ТОВ Кульбаба від 24.07.2002"
},
"ownershipType": "state"
},
"bankAccounts": {
"advancePaymentAccounts": {
"leaseHolderAccounts": {
"bankAccountsUa": []
}
}
},
"registrationFee": {
"currency": "UAH",
"amount": 3000
},
"valuePeriod": "month",
"leaseDuration": "P4W",
"documents": [
{
"title": {
"uk_UA": "Назва",
"en_US": "Title"
},
"documentOf": "cancellation",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImRzIn0.eyJpZCI6ImE3ZTk1YjZlMDE3MDQxZDJiNjY1NDg0ZWZjYzU2NmRhIiwic2NvcGUiOiJwcml2YXRlIiwiZmlsZW5hbWUiOiJhY3QuZG9jeCIsImRvY3VtZW50VHlwZSI6ImNvbnRyYWN0UHJvZm9ybWEiLCJmb3JtYXQiOiJhcHBsaWNhdGlvbi92bmQub3BlbnhtbGZvcm1hdHMtb2ZmaWNl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IcG8RwnpuUtorP7xtfUJaXBy_bpxQtxXHsi4KdhUQOiS0ou7GeEMx122XhNa2u5bTKEBzvVaZdj3NUkLZcRCD0_DeO0leqDi5R2W8N5SkJByTBlhFQiZKQbIP4dIiqbPVDIvg54fuksHdTBU"
}
]
}
Actual result: successfully created with empty schedule object
Expected result: https://prnt.sc/10lzarp