changedOutput schema / properties / period / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "calendar_dates_touched": {
- "minimum": 0,
- "type": "integer"
- },
- "days": {
- "type": "number"
- },
- "duration_hours": {
- "type": "number"
- },
- "end": {
- "type": "string"
- },
- "reference_bounds": {
- "const": "start_inclusive_end_exclusive",
- "type": "string"
- },
- "reference_end_at": {
- "format": "date-time",
- "type": "string"
- },
- "reference_start_at": {
- "format": "date-time",
- "type": "string"
- },
- "source_alignment": {
- "enum": [
- "exact",
- "mixed"
- ],
- "type": "string"
- },
- "source_boundaries": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "applies_to": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "boundary": {
- "enum": [
- "reference_timestamp_window",
- "database_statement_time_window",
- "jst_calendar_dates_from_reference_start",
- "jst_calendar_dates_from_database_window_start",
- "jst_calendar_dates_inclusive",
- "account_registry_not_period_scoped",
- "derived_previous_daily_window",
- "derived_from_current_and_previous",
- "defined_per_output_item"
- ],
- "type": "string"
- }
- },
- "required": [
- "applies_to",
- "boundary"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "start": {
- "type": "string"
- },
- "timezone": {
- "type": "string"
- },
- "window_type": {
- "enum": [
- "rolling",
- "calendar_to_date",
- "comparison",
- "calendar_range"
- ],
- "type": "string"
- }
- },
- "required": [
- "start",
- "end",
- "days",
- "reference_start_at",
- "reference_end_at",
- "window_type",
- "reference_bounds",
- "timezone",
- "duration_hours",
- "calendar_dates_touched",
- "source_alignment",
- "source_boundaries"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "days": {
- "type": "number"
- },
- "end": {
- "type": "string"
- },
- "start": {
- "type": "string"
- }
- },
- "required": [
- "start",
- "end",
- "days"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "calendar_dates_touched": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "days": {
+ "type": "number"
+ },
+ "duration_hours": {
+ "type": "number"
+ },
+ "end": {
+ "type": "string"
+ },
+ "preset": {
+ "enum": [
+ "last_4_weeks",
+ "last_12_weeks",
+ "year_to_date"
+ ],
+ "type": "string"
+ },
+ "reference_bounds": {
+ "const": "start_inclusive_end_exclusive",
+ "type": "string"
+ },
+ "reference_end_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "reference_start_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "source_alignment": {
+ "enum": [
+ "exact",
+ "mixed"
+ ],
+ "type": "string"
+ },
+ "source_boundaries": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "applies_to": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "boundary": {
+ "enum": [
+ "reference_timestamp_window",
+ "database_statement_time_window",
+ "jst_calendar_dates_from_reference_start",
+ "jst_calendar_dates_from_database_window_start",
+ "jst_calendar_dates_inclusive",
+ "account_registry_not_period_scoped",
+ "derived_previous_daily_window",
+ "derived_from_current_and_previous",
+ "defined_per_output_item"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "applies_to",
+ "boundary"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "start": {
+ "type": "string"
+ },
+ "timezone": {
+ "type": "string"
+ },
+ "window_type": {
+ "enum": [
+ "rolling",
+ "calendar_to_date",
+ "comparison",
+ "calendar_range"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "start",
+ "end",
+ "days",
+ "reference_start_at",
+ "reference_end_at",
+ "window_type",
+ "reference_bounds",
+ "timezone",
+ "duration_hours",
+ "calendar_dates_touched",
+ "source_alignment",
+ "source_boundaries"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "days": {
+ "type": "number"
+ },
+ "end": {
+ "type": "string"
+ },
+ "start": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "start",
+ "end",
+ "days"
+ ],
+ "type": "object"
+ }
+]