input_type to choose the control; options and unit drive the UI:options as [label1, label2] or default ["No", "Yes"].unit beside it (e.g. "Volt", "°C").options (array of strings or { value, label }).options (e.g. "Abnormal"/"Normal", "100%"/"80%"/...).is_required for validation. Order sections and items by position.curl --location '/api/v1/partner/contracts//modular/template' \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"template": {
"id": 0,
"name": "string",
"description": "string",
"status": "string",
"sections": [
{
"id": 0,
"name": "string",
"position": 0,
"items": [
{
"id": 0,
"label": "string",
"input_type": "string",
"is_required": true,
"options": [
"string"
],
"position": 0,
"unit": "string"
}
]
}
]
}
}
}