changedOutput schema / properties / years / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "bazi": {
- "additionalProperties": false,
- "description": "八字流年断语。",
- "properties": {
- "assertions": {
- "description": "该侧流年断语。",
- "items": {
- "additionalProperties": false,
- "properties": {
- "assertion_id": {
- "description": "Stable assertion id.",
- "type": "string"
- },
- "conclusion": {
- "description": "Deterministic assertion conclusion.",
- "type": "string"
- },
- "event": {
- "description": "事件摘要。",
- "type": "string"
- },
- "event_type": {
- "description": "事件类型。",
- "type": "string"
- },
- "evidence": {
- "description": "Factor evidence used by the rule.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "actual": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "因子实际值。"
- },
- "condition_group": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "条件组编号。"
- },
- "expected": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "因子期望值。"
- },
- "factor": {
- "description": "命中的因子名。",
- "type": "string"
- },
- "gender_scope": {
- "anyOf": [
- {
- "enum": [
- "男",
- "女"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "性别专属因子的作用范围。"
- }
- },
- "required": [
- "factor"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "life_topics": {
- "description": "命中的受控人生问题域。",
- "items": {
- "enum": [
- "marriage",
- "family",
- "children",
- "career",
- "wealth",
- "health",
- "mental",
- "study",
- "personality",
- "appearance",
- "origin",
- "relocation",
- "social",
- "property",
- "adversity",
- "chart_structure"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "rule_id": {
- "description": "命理断语规则 ID。",
- "type": "string"
- },
- "source": {
- "additionalProperties": false,
- "description": "断语规则来源与依据。",
- "properties": {
- "basis": {
- "description": "规则依据。",
- "type": "string"
- },
- "classic_basis": {
- "description": "经典依据。",
- "type": "string"
- },
- "kind": {
- "const": "assertion_table",
- "description": "断语来源类型。",
- "type": "string"
- },
- "rule_domain": {
- "description": "断语规则在来源表中的命理领域。",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "rule_domain",
- "basis",
- "classic_basis"
- ],
- "type": "object"
- }
- },
- "required": [
- "assertion_id",
- "life_topics",
- "rule_id",
- "event_type",
- "event",
- "conclusion",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "counts": {
- "additionalProperties": false,
- "description": "命中与返回计数。",
- "properties": {
- "matched": {
- "description": "来源断语命中次数。",
- "minimum": 0,
- "type": "integer"
- },
- "returned": {
- "description": "过滤后返回的断语数。",
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "matched",
- "returned"
- ],
- "type": "object"
- }
- },
- "required": [
- "assertions",
- "counts"
- ],
- "type": "object"
- },
- "year": {
- "description": "流年年号。",
- "type": "integer"
- },
- "ziwei": {
- "additionalProperties": false,
- "description": "紫微流年断语。",
- "properties": {
- "assertions": {
- "description": "该侧流年断语。",
- "items": {
- "additionalProperties": false,
- "properties": {
- "assertion_id": {
- "description": "Stable assertion id.",
- "type": "string"
- },
- "conclusion": {
- "description": "Deterministic assertion conclusion.",
- "type": "string"
- },
- "event": {
- "description": "事件摘要。",
- "type": "string"
- },
- "event_type": {
- "description": "事件类型。",
- "type": "string"
- },
- "evidence": {
- "description": "Factor evidence used by the rule.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "actual": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "因子实际值。"
- },
- "condition_group": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "条件组编号。"
- },
- "expected": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "因子期望值。"
- },
- "factor": {
- "description": "命中的因子名。",
- "type": "string"
- },
- "gender_scope": {
- "anyOf": [
- {
- "enum": [
- "男",
- "女"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "性别专属因子的作用范围。"
- }
- },
- "required": [
- "factor"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "life_topics": {
- "description": "命中的受控人生问题域。",
- "items": {
- "enum": [
- "marriage",
- "family",
- "children",
- "career",
- "wealth",
- "health",
- "mental",
- "study",
- "personality",
- "appearance",
- "origin",
- "relocation",
- "social",
- "property",
- "adversity",
- "chart_structure"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "rule_id": {
- "description": "命理断语规则 ID。",
- "type": "string"
- },
- "source": {
- "additionalProperties": false,
- "description": "断语规则来源与依据。",
- "properties": {
- "basis": {
- "description": "规则依据。",
- "type": "string"
- },
- "classic_basis": {
- "description": "经典依据。",
- "type": "string"
- },
- "kind": {
- "const": "assertion_table",
- "description": "断语来源类型。",
- "type": "string"
- },
- "rule_domain": {
- "description": "断语规则在来源表中的命理领域。",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "rule_domain",
- "basis",
- "classic_basis"
- ],
- "type": "object"
- }
- },
- "required": [
- "assertion_id",
- "life_topics",
- "rule_id",
- "event_type",
- "event",
- "conclusion",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "counts": {
- "additionalProperties": false,
- "description": "命中与返回计数。",
- "properties": {
- "matched": {
- "description": "来源断语命中次数。",
- "minimum": 0,
- "type": "integer"
- },
- "returned": {
- "description": "过滤后返回的断语数。",
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "matched",
- "returned"
- ],
- "type": "object"
- }
- },
- "required": [
- "assertions",
- "counts"
- ],
- "type": "object"
- }
- },
- "required": [
- "year",
- "bazi",
- "ziwei"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "description": "流年计算失败信息。",
- "properties": {
- "code": {
- "const": "ENGINE_UNAVAILABLE",
- "description": "错误码。",
- "type": "string"
- },
- "message": {
- "description": "错误信息。",
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "year": {
- "description": "流年年号。",
- "type": "integer"
- }
- },
- "required": [
- "year",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bazi": {
+ "additionalProperties": false,
+ "description": "八字流年断语。",
+ "properties": {
+ "assertions": {
+ "description": "该侧流年断语。",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "assertion_id": {
+ "description": "Stable assertion id.",
+ "type": "string"
+ },
+ "conclusion": {
+ "description": "Deterministic assertion conclusion.",
+ "type": "string"
+ },
+ "event": {
+ "description": "事件摘要。",
+ "type": "string"
+ },
+ "event_type": {
+ "description": "事件类型。",
+ "type": "string"
+ },
+ "evidence": {
+ "description": "Factor evidence used by the rule.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actual": {
+ "description": "因子实际值。",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "condition_group": {
+ "description": "条件组编号。",
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "expected": {
+ "description": "因子期望值。",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "factor": {
+ "description": "命中的因子名。",
+ "type": "string"
+ },
+ "gender_scope": {
+ "$ref": "#/$defs/Enum_186f4b1fcd46",
+ "description": "性别专属因子的作用范围。"
+ }
+ },
+ "required": [
+ "factor"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "life_topics": {
+ "description": "命中的受控人生问题域。",
+ "items": {
+ "$ref": "#/$defs/Enum_644023795c29"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "rule_id": {
+ "description": "命理断语规则 ID。",
+ "type": "string"
+ },
+ "source": {
+ "additionalProperties": false,
+ "description": "断语规则来源与依据。",
+ "properties": {
+ "basis": {
+ "description": "规则依据。",
+ "type": "string"
+ },
+ "classic_basis": {
+ "description": "经典依据。",
+ "type": "string"
+ },
+ "kind": {
+ "const": "assertion_table",
+ "description": "断语来源类型。",
+ "type": "string"
+ },
+ "rule_domain": {
+ "description": "断语规则在来源表中的命理领域。",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "rule_domain",
+ "basis",
+ "classic_basis"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "assertion_id",
+ "life_topics",
+ "rule_id",
+ "event_type",
+ "event",
+ "conclusion",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "counts": {
+ "additionalProperties": false,
+ "description": "命中与返回计数。",
+ "properties": {
+ "matched": {
+ "description": "来源断语命中次数。",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "returned": {
+ "description": "过滤后返回的断语数。",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "matched",
+ "returned"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "assertions",
+ "counts"
+ ],
+ "type": "object"
+ },
+ "year": {
+ "description": "流年年号。",
+ "type": "integer"
+ },
+ "ziwei": {
+ "additionalProperties": false,
+ "description": "紫微流年断语。",
+ "properties": {
+ "assertions": {
+ "description": "该侧流年断语。",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "assertion_id": {
+ "description": "Stable assertion id.",
+ "type": "string"
+ },
+ "conclusion": {
+ "description": "Deterministic assertion conclusion.",
+ "type": "string"
+ },
+ "event": {
+ "description": "事件摘要。",
+ "type": "string"
+ },
+ "event_type": {
+ "description": "事件类型。",
+ "type": "string"
+ },
+ "evidence": {
+ "description": "Factor evidence used by the rule.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actual": {
+ "description": "因子实际值。",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "condition_group": {
+ "description": "条件组编号。",
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "expected": {
+ "description": "因子期望值。",
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "factor": {
+ "description": "命中的因子名。",
+ "type": "string"
+ },
+ "gender_scope": {
+ "$ref": "#/$defs/Enum_186f4b1fcd46",
+ "description": "性别专属因子的作用范围。"
+ }
+ },
+ "required": [
+ "factor"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "life_topics": {
+ "description": "命中的受控人生问题域。",
+ "items": {
+ "$ref": "#/$defs/Enum_644023795c29"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "rule_id": {
+ "description": "命理断语规则 ID。",
+ "type": "string"
+ },
+ "source": {
+ "additionalProperties": false,
+ "description": "断语规则来源与依据。",
+ "properties": {
+ "basis": {
+ "description": "规则依据。",
+ "type": "string"
+ },
+ "classic_basis": {
+ "description": "经典依据。",
+ "type": "string"
+ },
+ "kind": {
+ "const": "assertion_table",
+ "description": "断语来源类型。",
+ "type": "string"
+ },
+ "rule_domain": {
+ "description": "断语规则在来源表中的命理领域。",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "rule_domain",
+ "basis",
+ "classic_basis"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "assertion_id",
+ "life_topics",
+ "rule_id",
+ "event_type",
+ "event",
+ "conclusion",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "counts": {
+ "additionalProperties": false,
+ "description": "命中与返回计数。",
+ "properties": {
+ "matched": {
+ "description": "来源断语命中次数。",
+ "minimum": 0,
+ "type": "integer"
+ },
+ "returned": {
+ "description": "过滤后返回的断语数。",
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "matched",
+ "returned"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "assertions",
+ "counts"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "year",
+ "bazi",
+ "ziwei"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "description": "流年计算失败信息。",
+ "properties": {
+ "code": {
+ "const": "ENGINE_UNAVAILABLE",
+ "description": "错误码。",
+ "type": "string"
+ },
+ "message": {
+ "description": "错误信息。",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "year": {
+ "description": "流年年号。",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "year",
+ "error"
+ ],
+ "type": "object"
+ }
+]