feat: ship deterministic parser and lifecycle release
This commit is contained in:
1 parent
208c434b31
commit
7b5d855b09
176 files changed
+20248
-1362
No files matched your search
@@ -280,6 +280,37 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"action": { "const": "confirmation_export" },
|
||||
"data": {
|
||||
"properties": {
|
||||
"existing_refs": {
|
||||
"properties": { "kind": { "const": "shared_plan" } },
|
||||
"required": ["kind"]
|
||||
}
|
||||
},
|
||||
"required": ["existing_refs"]
|
||||
}
|
||||
},
|
||||
"required": ["action", "data"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
"data": {
|
||||
"required": ["confirmation"],
|
||||
"not": { "required": ["export_types"] },
|
||||
"properties": {
|
||||
"confirmation": {
|
||||
"required": ["type"],
|
||||
"properties": { "type": { "const": "visitor-list" } }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"$defs": {
|
||||
@@ -397,6 +428,16 @@
|
||||
"DBL": { "type": "integer", "minimum": 1 }
|
||||
}
|
||||
},
|
||||
"passengerLeaderContact": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["sequence", "name", "phone"],
|
||||
"properties": {
|
||||
"sequence": { "type": "integer", "minimum": 1, "maximum": 5000 },
|
||||
"name": { "type": "string", "minLength": 1, "maxLength": 200 },
|
||||
"phone": { "type": "string", "minLength": 1, "maxLength": 200 }
|
||||
}
|
||||
},
|
||||
"passengerList": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -405,7 +446,8 @@
|
||||
"operation": { "enum": ["import", "full_replace"] },
|
||||
"confirmed": { "type": "boolean" },
|
||||
"row_count": { "type": "integer", "minimum": 1, "description": "用户本次提供的游客行数,不代表订单总人数。" },
|
||||
"text": { "type": "string", "minLength": 1, "description": "一个或多个完整 13 列游客行;序号用于定位对应游客位。" }
|
||||
"text": { "type": "string", "minLength": 1, "description": "一个或多个完整 13 列游客行;序号用于定位对应游客位。" },
|
||||
"leader_contact": { "$ref": "#/$defs/passengerLeaderContact" }
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user