{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-app-config-item-update-schema.json",
  "title": "AppConfigItemUpdate",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-apps-api-openapi.yml#/components/schemas/AppConfigItemUpdate",
  "oneOf": [
    {
      "$ref": "#/$defs/AppConfigItemGenericUpdate"
    },
    {
      "$ref": "#/$defs/AppConfigItemBooleanUpdate"
    },
    {
      "$ref": "#/$defs/AppConfigItemIntegerUpdate"
    },
    {
      "$ref": "#/$defs/AppConfigItemFloatUpdate"
    },
    {
      "$ref": "#/$defs/AppConfigItemDateUpdate"
    },
    {
      "$ref": "#/$defs/AppConfigItemDatetimeUpdate"
    },
    {
      "$ref": "#/$defs/AppConfigItemJsonUpdate"
    }
  ],
  "type": "object",
  "$defs": {
    "AppConfigItemBooleanUpdate": {
      "properties": {
        "type": {
          "enum": [
            "boolean"
          ],
          "type": "string"
        },
        "value": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "value",
        "type"
      ],
      "type": "object"
    },
    "AppConfigItemDateUpdate": {
      "properties": {
        "type": {
          "enum": [
            "date"
          ],
          "type": "string"
        },
        "value": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "value",
        "type"
      ],
      "type": "object"
    },
    "AppConfigItemDatetimeUpdate": {
      "properties": {
        "type": {
          "enum": [
            "datetime"
          ],
          "type": "string"
        },
        "value": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "value",
        "type"
      ],
      "type": "object"
    },
    "AppConfigItemFloatUpdate": {
      "properties": {
        "type": {
          "enum": [
            "float"
          ],
          "type": "string"
        },
        "value": {
          "format": "float",
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "value",
        "type"
      ],
      "type": "object"
    },
    "AppConfigItemGenericUpdate": {
      "properties": {
        "type": {
          "enum": [
            "container_schema",
            "entity_schema",
            "plate_schema",
            "location_schema",
            "box_schema",
            "run_schema",
            "result_schema",
            "legacy_request_schema",
            "entry_schema",
            "workflow_task_schema",
            "dropdown",
            "dropdown_option",
            "field",
            "text",
            "date",
            "datetime",
            "secure_text",
            "json",
            "registry",
            "folder",
            "entry",
            "worklist",
            "project",
            "workflow_task_status",
            "dna_sequence",
            "dna_oligo",
            "aa_sequence",
            "custom_entity",
            "mixture",
            "molecule",
            "rna_oligo",
            "rna_sequence",
            "box",
            "container",
            "location",
            "plate"
          ],
          "type": "string"
        },
        "value": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "value",
        "type"
      ],
      "type": "object"
    },
    "AppConfigItemIntegerUpdate": {
      "properties": {
        "type": {
          "enum": [
            "integer"
          ],
          "type": "string"
        },
        "value": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "value",
        "type"
      ],
      "type": "object"
    },
    "AppConfigItemJsonUpdate": {
      "properties": {
        "type": {
          "enum": [
            "json"
          ],
          "type": "string"
        },
        "value": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "value",
        "type"
      ],
      "type": "object"
    }
  }
}