Loading 103120/schema/json/ts_103120_TrafficPolicy.schema.json +18 −64 Original line number Original line Diff line number Diff line Loading @@ -111,6 +111,9 @@ }, }, "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 @@ -154,28 +157,6 @@ "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 @@ -216,62 +197,35 @@ }, }, "required": [] "required": [] }, }, "EthernetPolicyCriteria": { "ActionParameters": { "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:OuterVLANs": { "tp:TruncateActionParameters": { "$ref": "#/$defs/VLANIDList" "$ref": "#/$defs/TruncateActionParameters" } } }, }, "required": [ "required": [ "tp:OuterVLANs" "tp:TruncateActionParameters" ] ] } } ] ] }, "VLANIDList": { "type": "object", "properties": { "tp:VLANID": { "type": "array", "items": { "$ref": "ts_103280_2017_07#/$defs/VLANID" }, "minItems": 1 } } }, }, "required": [] "TruncateActionParameters": { }, "RCSPolicyCriteria": { "type": "object", "type": "object", "properties": { "properties": { "tp:CommunicationServiceID": { "tp:NumberOfOctets": { "$ref": "ts_103280_2017_07#/$defs/ShortString" "type": "integer", "minimum": 0 }, "tp:ProvideOriginalLength": { "type": "boolean" } } }, }, "required": [ "required": [ "tp:CommunicationServiceID" "tp:NumberOfOctets" ] ] } } } } } Loading
103120/schema/json/ts_103120_TrafficPolicy.schema.json +18 −64 Original line number Original line Diff line number Diff line Loading @@ -111,6 +111,9 @@ }, }, "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 @@ -154,28 +157,6 @@ "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 @@ -216,62 +197,35 @@ }, }, "required": [] "required": [] }, }, "EthernetPolicyCriteria": { "ActionParameters": { "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:OuterVLANs": { "tp:TruncateActionParameters": { "$ref": "#/$defs/VLANIDList" "$ref": "#/$defs/TruncateActionParameters" } } }, }, "required": [ "required": [ "tp:OuterVLANs" "tp:TruncateActionParameters" ] ] } } ] ] }, "VLANIDList": { "type": "object", "properties": { "tp:VLANID": { "type": "array", "items": { "$ref": "ts_103280_2017_07#/$defs/VLANID" }, "minItems": 1 } } }, }, "required": [] "TruncateActionParameters": { }, "RCSPolicyCriteria": { "type": "object", "type": "object", "properties": { "properties": { "tp:CommunicationServiceID": { "tp:NumberOfOctets": { "$ref": "ts_103280_2017_07#/$defs/ShortString" "type": "integer", "minimum": 0 }, "tp:ProvideOriginalLength": { "type": "boolean" } } }, }, "required": [ "required": [ "tp:CommunicationServiceID" "tp:NumberOfOctets" ] ] } } } } }