Commit 1e394895 authored by marthy's avatar marthy Committed by Mark Canterbury
Browse files

Revert "Update ts_103120_TrafficPolicy.schema.json"

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