{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-simpledb/refs/heads/main/json-schema/amazon-simpledb-update-condition-schema.json",
"title": "UpdateCondition",
"description": " Specifies the conditions under which data should be updated. If an update condition is specified for a request, the data will only be updated if the condition is satisfied. For example, if an attribute with a specific name and value exists, or if a specific attribute doesn't exist. ",
"type": "object",
"properties": {
"Name": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "The name of the attribute involved in the condition."
}
]
},
"Value": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "The value of an attribute. This value can only be specified when the Exists parameter is equal to true."
}
]
},
"Exists": {
"allOf": [
{
"$ref": "#/components/schemas/Boolean"
},
{
"description": "A value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied. Specify true if the attribute must exist for the update condition to be satisfied. Specify false if the attribute should not exist in order for the update condition to be satisfied."
}
]
}
}
}