files.com 1.1.684 → 1.1.686

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/docs/expectation.md CHANGED
@@ -12,7 +12,7 @@
12
12
  "source": "*.csv",
13
13
  "exclude_pattern": "*.tmp",
14
14
  "disabled": true,
15
- "expectations_version": 1,
15
+ "expectations_version": 2,
16
16
  "trigger": "manual",
17
17
  "interval": "day",
18
18
  "recurring_day": 3,
@@ -67,7 +67,7 @@
67
67
  * `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
68
68
  * `inactivity_interval` (int64): How many quiet seconds are required before final closure.
69
69
  * `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
70
- * `criteria` (object): Structured criteria v1 definition for the expectation.
70
+ * `criteria` (object): Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
71
71
  * `last_evaluated_at` (date-time): Last time this expectation was evaluated.
72
72
  * `last_success_at` (date-time): Last time this expectation closed successfully.
73
73
  * `last_failure_at` (date-time): Last time this expectation closed with a failure result.
@@ -152,7 +152,7 @@ Files::Expectation.create(
152
152
  * `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
153
153
  * `inactivity_interval` (int64): How many quiet seconds are required before final closure.
154
154
  * `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
155
- * `criteria` (object): Structured criteria v1 definition for the expectation.
155
+ * `criteria` (object): Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
156
156
  * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
157
157
 
158
158
 
@@ -217,7 +217,7 @@ Files::Expectation.update(id,
217
217
  * `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
218
218
  * `inactivity_interval` (int64): How many quiet seconds are required before final closure.
219
219
  * `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
220
- * `criteria` (object): Structured criteria v1 definition for the expectation.
220
+ * `criteria` (object): Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
221
221
  * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
222
222
 
223
223
 
@@ -299,7 +299,7 @@ expectation.update(
299
299
  * `late_acceptance_interval` (int64): How many seconds a schedule-driven window may remain eligible to close as late.
300
300
  * `inactivity_interval` (int64): How many quiet seconds are required before final closure.
301
301
  * `max_open_interval` (int64): Hard-stop duration in seconds for unscheduled expectations.
302
- * `criteria` (object): Structured criteria v1 definition for the expectation.
302
+ * `criteria` (object): Versioned success criteria definition for the expectation, including optional Files Transform Script content validation in criteria v2.
303
303
  * `workspace_id` (int64): Workspace ID. `0` means the default workspace.
304
304
 
305
305
 
@@ -45,7 +45,7 @@
45
45
  * `closed_at` (date-time): When the evaluation row was finalized.
46
46
  * `matched_files` (array(object)): Captured evidence for files that matched the window.
47
47
  * `missing_files` (array(object)): Captured evidence for required files that were missing.
48
- * `criteria_errors` (array(string)): Captured criteria failures for the window.
48
+ * `criteria_errors` (array(string)): Captured criteria failures for the window, including file-scoped FTS errors and returned validation details.
49
49
  * `summary` (object): Compact evaluator summary payload.
50
50
  * `created_at` (date-time): Creation time.
51
51
  * `updated_at` (date-time): Last update time.