{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anthid-com/json-schema/anthid-com-patch-time-control-request-schema.json",
  "title": "PatchTimeControlRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anthid-com-account-time-controls-api-openapi.yml#/components/schemas/PatchTimeControlRequest",
  "type": "object",
  "properties": {
    "clear": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TimeControlField"
      }
    },
    "stale_order_millis": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64"
    },
    "trading_end": {
      "type": [
        "string",
        "null"
      ]
    },
    "trading_start": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$defs": {
    "TimeControlField": {
      "type": "string",
      "description": "Fields of a time control a PATCH may remove.",
      "enum": [
        "trading_start",
        "trading_end",
        "stale_order_millis"
      ]
    }
  }
}