{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/oracle/main/json-schema/oracle-update-approval-template-details-schema.json", "title": "UpdateApprovalTemplateDetails", "description": "The action to be updated.", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/oracle-approvaltemplate-api-openapi.yml#/components/schemas/UpdateApprovalTemplateDetails", "properties": { "approverLevels": { "$ref": "#/$defs/ApproverLevels" }, "autoApprovalState": { "description": "The auto approval state of the lockbox.", "enum": [ "ENABLED", "DISABLED" ], "type": "string", "x-obmcs-top-level-enum": "#/definitions/LockboxAutoApprovalState" }, "definedTags": { "additionalProperties": { "additionalProperties": { "description": "The value of the tag. Only string type is supported.\n", "type": "object" }, "description": "Key-value pair representing predefined tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n", "type": "object" }, "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`\n", "type": "object" }, "displayName": { "description": "approval template identifier", "type": "string" }, "freeformTags": { "additionalProperties": { "type": "string" }, "description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n", "type": "object" } }, "type": "object", "$defs": { "ApproverInfo": { "description": "The approver data for this approver level.", "properties": { "approverId": { "description": "The group or user ocid of the approver for this approver level.", "type": "string" }, "approverType": { "description": "The approver type of this approver level.", "enum": [ "GROUP", "USER" ], "type": "string", "x-obmcs-top-level-enum": "#/definitions/ApproverType" }, "domainId": { "description": "The identity domain ocid of the approver.", "type": "string" } }, "required": [ "approverType", "approverId" ], "type": "object" }, "ApproverLevels": { "description": "The approver levels.", "properties": { "level1": { "$ref": "#/$defs/ApproverInfo" }, "level2": { "$ref": "#/$defs/ApproverInfo" }, "level3": { "$ref": "#/$defs/ApproverInfo" } }, "required": [ "level1" ], "type": "object" } } }