Policy

{
"type": "object",
"required": [
"name",
"organization_id",
"policy_type_name",
"schedule_days",
"schedule_time",
"configuration",
"notes"
],
"properties": {
"configuration": {
"type": "object",
"required": [
"auto_patch",
"auto_reboot"
],
"properties": {
"auto_patch": {
"type": "boolean"
},
"auto_reboot": {
"type": "boolean"
},
"installation_code": {
"type": "string"
},
"os_family": {
"type": "string"
},
"package_name": {
"type": "string"
},
"evaluation_code": {
"type": "string"
},
"remediation_code": {
"type": "string"
},
"test_code": {
"type": "string"
}
}
},
"create_time": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"notes": {
"type": "string"
},
"organization_id": {
"type": "integer",
"format": "int64"
},
"policy_type_name": {
"type": "string"
},
"schedule_days": {
"type": "integer",
"format": "int64"
},
"schedule_time": {
"type": "string"
}
}
}