addedOutput schema / properties / structuredCell / properties / answers / items / properties / temporalRecordedClauses / properties / clauses / items / allOf
Added value: +[
+ {
+ "if": {
+ "properties": {
+ "events": {
+ "properties": {
+ "from": {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "not_established"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "from"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "then": {
+ "properties": {
+ "actors": {
+ "properties": {
+ "from": {
+ "type": "null"
+ }
+ },
+ "type": "object"
+ },
+ "duration_output": {
+ "not": {
+ "required": [
+ "duration_basis"
+ ]
+ },
+ "properties": {
+ "value": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "approx": {
+ "type": "boolean"
+ },
+ "approximate": {
+ "const": true
+ },
+ "bound": {
+ "enum": [
+ "gt",
+ "gte",
+ "lt",
+ "lte"
+ ]
+ },
+ "per": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "jurisdiction": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "calendar_year",
+ "tax_year"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "jurisdiction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "anchor": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "rolling",
+ "preceding",
+ "fixed_period"
+ ]
+ },
+ "length": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "length",
+ "anchor"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "per": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "jurisdiction": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "calendar_year",
+ "tax_year"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "jurisdiction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "anchor": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "rolling",
+ "preceding",
+ "fixed_period"
+ ]
+ },
+ "length": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "length",
+ "anchor"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "range": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "from_inclusive": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "to": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "to_inclusive": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "from_inclusive",
+ "to_inclusive"
+ ],
+ "type": "object"
+ },
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "unit",
+ "range"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "range": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ },
+ "from_inclusive": {
+ "type": "boolean"
+ },
+ "to": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ },
+ "to_inclusive": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "from_inclusive",
+ "to_inclusive"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "range"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "unbounded": {
+ "const": true
+ }
+ },
+ "required": [
+ "unbounded"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value_span_ids",
+ "stage_relation"
+ ],
+ "type": "object"
+ },
+ "event_targets": {
+ "properties": {
+ "from": {
+ "type": "null"
+ }
+ },
+ "type": "object"
+ },
+ "time_kind": {
+ "const": "duration"
+ }
+ },
+ "required": [
+ "duration_output"
+ ],
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "events": {
+ "properties": {
+ "to": {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "not_established"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "to"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "then": {
+ "properties": {
+ "actors": {
+ "properties": {
+ "to": {
+ "type": "null"
+ }
+ },
+ "type": "object"
+ },
+ "duration_output": {
+ "not": {
+ "required": [
+ "duration_basis"
+ ]
+ },
+ "properties": {
+ "value": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "approx": {
+ "type": "boolean"
+ },
+ "approximate": {
+ "const": true
+ },
+ "bound": {
+ "enum": [
+ "gt",
+ "gte",
+ "lt",
+ "lte"
+ ]
+ },
+ "per": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "jurisdiction": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "calendar_year",
+ "tax_year"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "jurisdiction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "anchor": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "rolling",
+ "preceding",
+ "fixed_period"
+ ]
+ },
+ "length": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "length",
+ "anchor"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "per": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "jurisdiction": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "calendar_year",
+ "tax_year"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "jurisdiction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "anchor": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "rolling",
+ "preceding",
+ "fixed_period"
+ ]
+ },
+ "length": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "length",
+ "anchor"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "range": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "from_inclusive": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "to": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "to_inclusive": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "from_inclusive",
+ "to_inclusive"
+ ],
+ "type": "object"
+ },
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "unit",
+ "range"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "range": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ },
+ "from_inclusive": {
+ "type": "boolean"
+ },
+ "to": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ },
+ "to_inclusive": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "from_inclusive",
+ "to_inclusive"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "range"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "unbounded": {
+ "const": true
+ }
+ },
+ "required": [
+ "unbounded"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value_span_ids",
+ "stage_relation"
+ ],
+ "type": "object"
+ },
+ "event_targets": {
+ "properties": {
+ "to": {
+ "type": "null"
+ }
+ },
+ "type": "object"
+ },
+ "time_kind": {
+ "const": "duration"
+ }
+ },
+ "required": [
+ "duration_output"
+ ],
+ "type": "object"
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "duration_output": {
+ "required": [
+ "value_span_ids"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "duration_output"
+ ],
+ "type": "object"
+ },
+ "then": {
+ "properties": {
+ "events": {
+ "anyOf": [
+ {
+ "properties": {
+ "from": {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "not_established"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "from"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "to": {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "not_established"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "to"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+ },
+ "time_kind": {
+ "const": "duration"
+ }
+ },
+ "type": "object"
+ }
+ }
+]
changedOutput schema / properties / structuredCell / properties / answers / items / properties / temporalRecordedClauses / properties / clauses / items / properties / duration_output / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "counting": {
- "enum": [
- "calendar",
- "business",
- "not_stated"
- ]
- },
- "kind": {
- "const": "recorded_source_duration"
- },
- "scalar_applicability": {
- "const": false
- },
- "source_evidence_bound": {
- "const": true
- },
- "stage_relation": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "total_stage"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "stage": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "label": {
- "additionalProperties": false,
- "properties": {
- "en": {
- "type": "string"
- },
- "ru": {
- "type": "string"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "ru",
- "en",
- "spanIds"
- ],
- "type": "object"
- }
- },
- "required": [
- "code",
- "label"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "stage",
- "spanIds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "baseStage": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "label": {
- "additionalProperties": false,
- "properties": {
- "en": {
- "type": "string"
- },
- "ru": {
- "type": "string"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "ru",
- "en",
- "spanIds"
- ],
- "type": "object"
- }
- },
- "required": [
- "code",
- "label"
- ],
- "type": "object"
- },
- "kind": {
- "const": "additional_to"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "stage": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "label": {
- "additionalProperties": false,
- "properties": {
- "en": {
- "type": "string"
- },
- "ru": {
- "type": "string"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "ru",
- "en",
- "spanIds"
- ],
- "type": "object"
- }
- },
- "required": [
- "code",
- "label"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "stage",
- "baseStage",
- "spanIds"
- ],
- "type": "object"
- }
- ]
- },
- "value": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "approx": {
- "type": "boolean"
- },
- "approximate": {
- "const": true
- },
- "bound": {
- "enum": [
- "gt",
- "gte",
- "lt",
- "lte"
- ]
- },
- "per": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "jurisdiction": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "calendar_year",
- "tax_year"
- ]
- }
- },
- "required": [
- "kind",
- "jurisdiction"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "anchor": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "rolling",
- "preceding",
- "fixed_period"
- ]
- },
- "length": {
- "additionalProperties": false,
- "properties": {
- "unit": {
- "enum": [
- "second",
- "hour",
- "day",
- "week",
- "month",
- "year",
- "business_day",
- "tax_year",
- "tax_period"
- ],
- "type": "string"
- },
- "v": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "v",
- "unit"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "length",
- "anchor"
- ],
- "type": "object"
- }
- ]
- },
- "unit": {
- "enum": [
- "second",
- "hour",
- "day",
- "week",
- "month",
- "year",
- "business_day",
- "tax_year",
- "tax_period"
- ],
- "type": "string"
- },
- "v": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "v",
- "unit"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "per": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "jurisdiction": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "calendar_year",
- "tax_year"
- ]
- }
- },
- "required": [
- "kind",
- "jurisdiction"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "anchor": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "rolling",
- "preceding",
- "fixed_period"
- ]
- },
- "length": {
- "additionalProperties": false,
- "properties": {
- "unit": {
- "enum": [
- "second",
- "hour",
- "day",
- "week",
- "month",
- "year",
- "business_day",
- "tax_year",
- "tax_period"
- ],
- "type": "string"
- },
- "v": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "v",
- "unit"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "length",
- "anchor"
- ],
- "type": "object"
- }
- ]
- },
- "range": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "from_inclusive": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "to": {
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "to_inclusive": {
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "required": [
- "from",
- "to",
- "from_inclusive",
- "to_inclusive"
- ],
- "type": "object"
- },
- "unit": {
- "enum": [
- "second",
- "hour",
- "day",
- "week",
- "month",
- "year",
- "business_day",
- "tax_year",
- "tax_period"
- ],
- "type": "string"
- }
- },
- "required": [
- "unit",
- "range"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "range": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "additionalProperties": false,
- "properties": {
- "unit": {
- "enum": [
- "second",
- "hour",
- "day",
- "week",
- "month",
- "year",
- "business_day",
- "tax_year",
- "tax_period"
- ],
- "type": "string"
- },
- "v": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "v",
- "unit"
- ],
- "type": "object"
- },
- "from_inclusive": {
- "type": "boolean"
- },
- "to": {
- "additionalProperties": false,
- "properties": {
- "unit": {
- "enum": [
- "second",
- "hour",
- "day",
- "week",
- "month",
- "year",
- "business_day",
- "tax_year",
- "tax_period"
- ],
- "type": "string"
- },
- "v": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "v",
- "unit"
- ],
- "type": "object"
- },
- "to_inclusive": {
- "type": "boolean"
- }
- },
- "required": [
- "from",
- "to",
- "from_inclusive",
- "to_inclusive"
- ],
- "type": "object"
- }
- },
- "required": [
- "range"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "unbounded": {
- "const": true
- }
- },
- "required": [
- "unbounded"
- ],
- "type": "object"
- }
- ]
- }
- },
- "required": [
- "kind",
- "value",
- "counting",
- "scalar_applicability",
- "source_evidence_bound"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "counting": {
- "enum": [
- "calendar",
- "business",
- "not_stated"
- ]
- },
- "duration_basis": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "const": "actual_individual_grant"
- },
- "kind": {
- "const": "same_actual_prior_grant"
- },
- "referenceStage": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "label": {
- "additionalProperties": false,
- "properties": {
- "en": {
- "type": "string"
- },
- "ru": {
- "type": "string"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "ru",
- "en",
- "spanIds"
- ],
- "type": "object"
- }
- },
- "required": [
- "code",
- "label"
- ],
- "type": "object"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "kind",
- "basis",
- "referenceStage",
- "spanIds"
- ],
- "type": "object"
- },
- "kind": {
- "const": "recorded_source_duration"
- },
- "scalar_applicability": {
- "const": false
- },
- "source_evidence_bound": {
- "const": true
- },
- "stage_relation": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "total_stage"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "stage": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "label": {
- "additionalProperties": false,
- "properties": {
- "en": {
- "type": "string"
- },
- "ru": {
- "type": "string"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "ru",
- "en",
- "spanIds"
- ],
- "type": "object"
- }
- },
- "required": [
- "code",
- "label"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "stage",
- "spanIds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "baseStage": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "label": {
- "additionalProperties": false,
- "properties": {
- "en": {
- "type": "string"
- },
- "ru": {
- "type": "string"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "ru",
- "en",
- "spanIds"
- ],
- "type": "object"
- }
- },
- "required": [
- "code",
- "label"
- ],
- "type": "object"
- },
- "kind": {
- "const": "additional_to"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "stage": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "label": {
- "additionalProperties": false,
- "properties": {
- "en": {
- "type": "string"
- },
- "ru": {
- "type": "string"
- },
- "spanIds": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "ru",
- "en",
- "spanIds"
- ],
- "type": "object"
- }
- },
- "required": [
- "code",
- "label"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "stage",
- "baseStage",
- "spanIds"
- ],
- "type": "object"
- }
- ]
- },
- "value": {
- "type": "null"
- }
- },
- "required": [
- "kind",
- "value",
- "duration_basis",
- "counting",
- "scalar_applicability",
- "source_evidence_bound"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "counting": {
+ "enum": [
+ "calendar",
+ "business",
+ "not_stated"
+ ]
+ },
+ "kind": {
+ "const": "recorded_source_duration"
+ },
+ "scalar_applicability": {
+ "const": false
+ },
+ "source_evidence_bound": {
+ "const": true
+ },
+ "stage_relation": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "total_stage"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "stage": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "label": {
+ "additionalProperties": false,
+ "properties": {
+ "en": {
+ "type": "string"
+ },
+ "ru": {
+ "type": "string"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "ru",
+ "en",
+ "spanIds"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "code",
+ "label"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "stage",
+ "spanIds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "baseStage": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "label": {
+ "additionalProperties": false,
+ "properties": {
+ "en": {
+ "type": "string"
+ },
+ "ru": {
+ "type": "string"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "ru",
+ "en",
+ "spanIds"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "code",
+ "label"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "additional_to"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "stage": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "label": {
+ "additionalProperties": false,
+ "properties": {
+ "en": {
+ "type": "string"
+ },
+ "ru": {
+ "type": "string"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "ru",
+ "en",
+ "spanIds"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "code",
+ "label"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "stage",
+ "baseStage",
+ "spanIds"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "value": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "approx": {
+ "type": "boolean"
+ },
+ "approximate": {
+ "const": true
+ },
+ "bound": {
+ "enum": [
+ "gt",
+ "gte",
+ "lt",
+ "lte"
+ ]
+ },
+ "per": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "jurisdiction": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "calendar_year",
+ "tax_year"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "jurisdiction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "anchor": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "rolling",
+ "preceding",
+ "fixed_period"
+ ]
+ },
+ "length": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "length",
+ "anchor"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "per": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "jurisdiction": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "calendar_year",
+ "tax_year"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "jurisdiction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "anchor": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "rolling",
+ "preceding",
+ "fixed_period"
+ ]
+ },
+ "length": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "length",
+ "anchor"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "range": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "from_inclusive": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "to": {
+ "minimum": 0,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "to_inclusive": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "from_inclusive",
+ "to_inclusive"
+ ],
+ "type": "object"
+ },
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "unit",
+ "range"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "range": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ },
+ "from_inclusive": {
+ "type": "boolean"
+ },
+ "to": {
+ "additionalProperties": false,
+ "properties": {
+ "unit": {
+ "enum": [
+ "second",
+ "hour",
+ "day",
+ "week",
+ "month",
+ "year",
+ "business_day",
+ "tax_year",
+ "tax_period"
+ ],
+ "type": "string"
+ },
+ "v": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "v",
+ "unit"
+ ],
+ "type": "object"
+ },
+ "to_inclusive": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "from_inclusive",
+ "to_inclusive"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "range"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "unbounded": {
+ "const": true
+ }
+ },
+ "required": [
+ "unbounded"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "value_span_ids": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "kind",
+ "value",
+ "counting",
+ "scalar_applicability",
+ "source_evidence_bound"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "counting": {
+ "enum": [
+ "calendar",
+ "business",
+ "not_stated"
+ ]
+ },
+ "duration_basis": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "const": "actual_individual_grant"
+ },
+ "kind": {
+ "const": "same_actual_prior_grant"
+ },
+ "referenceStage": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "label": {
+ "additionalProperties": false,
+ "properties": {
+ "en": {
+ "type": "string"
+ },
+ "ru": {
+ "type": "string"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "ru",
+ "en",
+ "spanIds"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "code",
+ "label"
+ ],
+ "type": "object"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "kind",
+ "basis",
+ "referenceStage",
+ "spanIds"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "recorded_source_duration"
+ },
+ "scalar_applicability": {
+ "const": false
+ },
+ "source_evidence_bound": {
+ "const": true
+ },
+ "stage_relation": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "total_stage"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "stage": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "label": {
+ "additionalProperties": false,
+ "properties": {
+ "en": {
+ "type": "string"
+ },
+ "ru": {
+ "type": "string"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "ru",
+ "en",
+ "spanIds"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "code",
+ "label"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "stage",
+ "spanIds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "baseStage": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "label": {
+ "additionalProperties": false,
+ "properties": {
+ "en": {
+ "type": "string"
+ },
+ "ru": {
+ "type": "string"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "ru",
+ "en",
+ "spanIds"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "code",
+ "label"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "additional_to"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "stage": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "label": {
+ "additionalProperties": false,
+ "properties": {
+ "en": {
+ "type": "string"
+ },
+ "ru": {
+ "type": "string"
+ },
+ "spanIds": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "ru",
+ "en",
+ "spanIds"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "code",
+ "label"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "stage",
+ "baseStage",
+ "spanIds"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "value": {
+ "type": "null"
+ }
+ },
+ "required": [
+ "kind",
+ "value",
+ "duration_basis",
+ "counting",
+ "scalar_applicability",
+ "source_evidence_bound"
+ ],
+ "type": "object"
+ }
+]