ConfigPropertyValue 配置属性值
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface ConfigPropertyValue {
"concept": "ConfigPropertyValue", // 产品概念
"env": string, // env
"value": string, // 配置属性值的值
}
class ConfigPropertyValueTreeNode {
ConceptEnum concept; // 产品概念
String env; // env
String value; // 配置属性值的值
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/ConfigPropertyValue",
"definitions": {
"ConfigPropertyValue": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "ConfigPropertyValue"
},
"env": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"concept",
"env",
"value"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "ConfigPropertyValue",
"env": "dev",
"value": "http://192.168.10.2"
}
concept: ConfigPropertyValue
env: dev
value: http://192.168.10.2