@@ -52,7 +52,7 @@ for (const [key, field] of Object.entries(formSchema)) {
|
||||
...(field.options ? { enum: [...Object.keys(field.options), null] } : {}),
|
||||
...(field.type === 'date' ? { format: 'date' } : {}), description: field.en };
|
||||
}
|
||||
payload.properties.wizard_version = { type: ['string', 'null'], enum: ['1', null] };
|
||||
payload.properties.wizard_version = { type: ['string', 'null'], enum: ['1', '2', null] };
|
||||
payload.properties.wizard_step = { type: ['string', 'null'], pattern: '^[1-8]$' };
|
||||
input.properties.sector_id = { type: ['integer', 'null'], description: 'Existing active public.sectors identifier; required on wizard submission.' };
|
||||
document.paths['/listings/{id}'].put.requestBody.content['application/json'].schema.properties.sector_id = input.properties.sector_id;
|
||||
|
||||
Reference in New Issue
Block a user