{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/drip-apex-com/json-schema/drip-apex-com-patch-api-v1-flags-id-code-request-schema.json",
  "title": "PatchApiV1FlagsIdCodeRequest",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/drip-apex-com-openapi-generated.yml#/components/schemas/PatchApiV1FlagsIdCodeRequest",
  "type": "object",
  "properties": {
    "custom_js": {
      "type": "string",
      "description": "JavaScript code for the On variant (null clears)"
    },
    "custom_css": {
      "type": "string",
      "description": "CSS code for the On variant (null clears)"
    },
    "expected_updated_at": {
      "type": "string",
      "description": "Timestamp from GET /flags/{id} to ensure version consistency"
    }
  },
  "required": [
    "expected_updated_at"
  ]
}