Skip to content

Commit e3ad404

Browse files
Add MXL transport parameters constraints schema and update constraints-schema to reference it
1 parent 463fade commit e3ad404

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"type": "object",
4+
"description": "Used to express the dynamic constraints on MXL transport parameters. These constraints may be set and changed at run time. Every transport parameter must have an entry, even if it is only an empty object. See BCP-007-03.",
5+
"required": [
6+
"mxl_domain_id",
7+
"mxl_flow_id"
8+
],
9+
"additionalProperties": false,
10+
"patternProperties": {
11+
"^ext_[a-zA-Z0-9_]+$": {
12+
"$ref": "constraint-schema.json#/definitions/constraint"
13+
}
14+
},
15+
"properties": {
16+
"mxl_domain_id": {
17+
"$ref": "constraint-schema.json#/definitions/constraint"
18+
},
19+
"mxl_flow_id": {
20+
"$ref": "constraint-schema.json#/definitions/constraint"
21+
}
22+
}
23+
}

Development/third_party/is-05/v1.2-dev/APIs/schemas/constraints-schema.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
"items": {
2020
"$ref": "constraints-schema-mqtt.json"
2121
}
22+
},
23+
{
24+
"type": "array",
25+
"items": {
26+
"$ref": "constraints-schema-mxl.json"
27+
}
2228
}
2329
]
2430
}

0 commit comments

Comments
 (0)