{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/modly-cc/json-schema/modly-cc-config-update-schema.json",
  "title": "ConfigUpdate",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/modly-cc-openapi.json#/components/schemas/ConfigUpdate",
  "type": "object",
  "properties": {
    "config": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {},
      "description": "Complete config; validated against the module's config schema"
    },
    "enabled": {
      "type": "boolean"
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Optimistic locking: the revision you read (0 for a never-saved config)"
    }
  },
  "required": [
    "config",
    "expectedRevision"
  ],
  "additionalProperties": false
}