Destination 跳转页面
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface Destination {
"concept": "Destination", // 产品概念
"label": string, // 跳转页面标题
"viewNamespace": string, // viewNamespace
"viewName": string, // viewName
"arguments": Array<Argument>, // 实际参数
"target": string, // 目标窗口
"anchor": Anchor, // 锚点参数
}
class DestinationTreeNode {
ConceptEnum concept; // 产品概念
String label; // 跳转页面标题
String viewNamespace; // viewNamespace
String viewName; // viewName
List<ArgumentTreeNode> arguments; // 实际参数
String target; // 目标窗口
AnchorTreeNode anchor; // 锚点参数
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/Destination",
"definitions": {
"Destination": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "Destination"
},
"label": {
"type": "string"
},
"viewNamespace": {
"type": "string"
},
"viewName": {
"type": "string"
},
"arguments": {
"type": "array",
"items": {
"$ref": "#/definitions/Argument"
}
},
"target": {
"type": "string"
},
"anchor": {
"$ref": "#/definitions/Anchor"
}
},
"required": [
"concept",
"label",
"viewNamespace",
"viewName",
"arguments",
"target",
"anchor"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "Destination",
"label": "跳转页面",
"viewNamespace": null,
"viewName": null,
"arguments": [],
"target": "_self",
"anchor": null
}
concept: Destination
label: 跳转页面
viewNamespace: null
viewName: null
arguments: []
target: _self
anchor: null