Loading 103120/schema/json/ts_103120_TrafficPolicy.schema.json +64 −18 Original line number Original line Diff line number Diff line Loading @@ -111,9 +111,6 @@ }, }, "tp:Action": { "tp:Action": { "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" }, "tp:Parameters": { "$ref": "#/$defs/ActionParameters" } } }, }, "required": [ "required": [ Loading Loading @@ -157,6 +154,28 @@ "required": [ "required": [ "tp:MobileAccessPolicyCriteria" "tp:MobileAccessPolicyCriteria" ] ] }, { "type": "object", "properties": { "tp:EthernetPolicyCriteria": { "$ref": "#/$defs/EthernetPolicyCriteria" } }, "required": [ "tp:EthernetPolicyCriteria" ] }, { "type": "object", "properties": { "tp:RCSPolicyCriteria": { "$ref": "#/$defs/RCSPolicyCriteria" } }, "required": [ "tp:RCSPolicyCriteria" ] } } ] ] }, }, Loading Loading @@ -197,35 +216,62 @@ }, }, "required": [] "required": [] }, }, "ActionParameters": { "EthernetPolicyCriteria": { "type": "object", "properties": { "tp:SourceMACAddress": { "$ref": "ts_103280_2017_07#/$defs/MACAddress" }, "tp:DestinationMACAddress": { "$ref": "ts_103280_2017_07#/$defs/MACAddress" }, "tp:BothDirections": { "type": "boolean" }, "tp:VLANCriteria": { "$ref": "#/$defs/VLANCriteria" } }, "required": [] }, "VLANCriteria": { "oneOf": [ "oneOf": [ { { "type": "object", "type": "object", "properties": { "properties": { "tp:TruncateActionParameters": { "tp:OuterVLANs": { "$ref": "#/$defs/TruncateActionParameters" "$ref": "#/$defs/VLANIDList" } } }, }, "required": [ "required": [ "tp:TruncateActionParameters" "tp:OuterVLANs" ] ] } } ] ] } }, }, "TruncateActionParameters": { "VLANIDList": { "type": "object", "type": "object", "properties": { "properties": { "tp:NumberOfOctets": { "tp:VLANID": { "type": "integer", "type": "array", "minimum": 0 "items": { "$ref": "ts_103280_2017_07#/$defs/VLANID" }, }, "tp:ProvideOriginalLength": { "minItems": 1 "type": "boolean" } }, "required": [] }, "RCSPolicyCriteria": { "type": "object", "properties": { "tp:CommunicationServiceID": { "$ref": "ts_103280_2017_07#/$defs/ShortString" } } }, }, "required": [ "required": [ "tp:NumberOfOctets" "tp:CommunicationServiceID" ] ] } } } } } Loading
103120/schema/json/ts_103120_TrafficPolicy.schema.json +64 −18 Original line number Original line Diff line number Diff line Loading @@ -111,9 +111,6 @@ }, }, "tp:Action": { "tp:Action": { "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" "$ref": "ts_103120_Common_2016_02#/$defs/DictionaryEntry" }, "tp:Parameters": { "$ref": "#/$defs/ActionParameters" } } }, }, "required": [ "required": [ Loading Loading @@ -157,6 +154,28 @@ "required": [ "required": [ "tp:MobileAccessPolicyCriteria" "tp:MobileAccessPolicyCriteria" ] ] }, { "type": "object", "properties": { "tp:EthernetPolicyCriteria": { "$ref": "#/$defs/EthernetPolicyCriteria" } }, "required": [ "tp:EthernetPolicyCriteria" ] }, { "type": "object", "properties": { "tp:RCSPolicyCriteria": { "$ref": "#/$defs/RCSPolicyCriteria" } }, "required": [ "tp:RCSPolicyCriteria" ] } } ] ] }, }, Loading Loading @@ -197,35 +216,62 @@ }, }, "required": [] "required": [] }, }, "ActionParameters": { "EthernetPolicyCriteria": { "type": "object", "properties": { "tp:SourceMACAddress": { "$ref": "ts_103280_2017_07#/$defs/MACAddress" }, "tp:DestinationMACAddress": { "$ref": "ts_103280_2017_07#/$defs/MACAddress" }, "tp:BothDirections": { "type": "boolean" }, "tp:VLANCriteria": { "$ref": "#/$defs/VLANCriteria" } }, "required": [] }, "VLANCriteria": { "oneOf": [ "oneOf": [ { { "type": "object", "type": "object", "properties": { "properties": { "tp:TruncateActionParameters": { "tp:OuterVLANs": { "$ref": "#/$defs/TruncateActionParameters" "$ref": "#/$defs/VLANIDList" } } }, }, "required": [ "required": [ "tp:TruncateActionParameters" "tp:OuterVLANs" ] ] } } ] ] } }, }, "TruncateActionParameters": { "VLANIDList": { "type": "object", "type": "object", "properties": { "properties": { "tp:NumberOfOctets": { "tp:VLANID": { "type": "integer", "type": "array", "minimum": 0 "items": { "$ref": "ts_103280_2017_07#/$defs/VLANID" }, }, "tp:ProvideOriginalLength": { "minItems": 1 "type": "boolean" } }, "required": [] }, "RCSPolicyCriteria": { "type": "object", "properties": { "tp:CommunicationServiceID": { "$ref": "ts_103280_2017_07#/$defs/ShortString" } } }, }, "required": [ "required": [ "tp:NumberOfOctets" "tp:CommunicationServiceID" ] ] } } } } }