{
  "fixtures": [
    {
      "name": "slow_schema_validator",
      "description": "Schema validation exceeds the configured timeout threshold",
      "input": {
        "validator_name": "deep_schema_check",
        "timeout_ms": 500,
        "simulated_duration_ms": 2000,
        "payload": {"nested": {"deeply": {"value": "test"}}}
      },
      "expected_error": "validation timeout: deep_schema_check exceeded 500ms deadline"
    },
    {
      "name": "deadline_exceeded_on_batch",
      "description": "Batch validation of multiple items exceeds aggregate deadline",
      "input": {
        "validator_name": "batch_validator",
        "timeout_ms": 1000,
        "batch_size": 50,
        "simulated_per_item_ms": 100
      },
      "expected_error": "deadline exceeded: batch_validator processing 50 items"
    },
    {
      "name": "zero_timeout_immediate_fail",
      "description": "Timeout of zero milliseconds causes immediate failure",
      "input": {
        "validator_name": "instant_validator",
        "timeout_ms": 0,
        "payload": {"key": "value"}
      },
      "expected_error": "validation timeout: instant_validator exceeded 0ms deadline"
    },
    {
      "name": "negative_timeout_rejected",
      "description": "Negative timeout value is rejected as invalid configuration",
      "input": {
        "validator_name": "any_validator",
        "timeout_ms": -100,
        "payload": {"key": "value"}
      },
      "expected_error": "invalid timeout: -100ms (must be non-negative)"
    },
    {
      "name": "timeout_with_partial_results",
      "description": "Validator times out after producing partial results",
      "input": {
        "validator_name": "streaming_validator",
        "timeout_ms": 300,
        "simulated_duration_ms": 600,
        "items_before_timeout": 5,
        "total_items": 20
      },
      "expected_error": "validation timeout: streaming_validator completed 5/20 items before deadline"
    }
  ]
}
