ExternalDestination 外部链接
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface ExternalDestination {
"concept": "ExternalDestination", // 产品概念
"link": LogicItem, // 外部链接
"target": string, // target
"anchor": Anchor, // 锚点参数
}
class ExternalDestinationTreeNode {
ConceptEnum concept; // 产品概念
LogicItemTreeNode link; // 外部链接
String target; // target
AnchorTreeNode anchor; // 锚点参数
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/ExternalDestination",
"definitions": {
"ExternalDestination": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "ExternalDestination"
},
"link": {
"$ref": "#/definitions/LogicItem"
},
"target": {
"type": "string"
},
"anchor": {
"$ref": "#/definitions/Anchor"
}
},
"required": [
"concept",
"link",
"target",
"anchor"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "ExternalDestination",
"link": null,
"target": "_self",
"anchor": null
}
concept: ExternalDestination
link: null
target: _self
anchor: null