Commit 2fd411a1 authored by Elian Kraja's avatar Elian Kraja
Browse files

Update MEC013 schemas to v2.1.1

parent de62a1f9
Loading
Loading
Loading
Loading
Loading
+239 −244
Original line number Diff line number Diff line
{
	"type": "object",
	"properties": {
		"accessPointInfo": {
        "description": "A type containing access point information.",
        "properties": {
          "accessPointId": {
@@ -78,7 +75,7 @@
                "x-etsi-mec-origin-type": "UnsignedInt"
              },
              "latitude": {
							"description": "Location latitude, expressed in the range -90 deg to +90 deg. Cardinality greater than one only if \"shape\" equals 7.",
                "description": "Location latitude, expressed in the range -90° to +90°. Cardinality greater than one only if \"shape\" equals 7.",
                "items": {
                  "format": "float",
                  "type": "number"
@@ -89,7 +86,7 @@
                "x-etsi-mec-origin-type": "Float"
              },
              "longitude": {
							"description": "Location longitude, expressed in the range -180 deg to +180 deg. Cardinality greater than one only if \"shape\" equals 7.",
                "description": "Location longitude, expressed in the range -180° to +180°. Cardinality greater than one only if \"shape\" equals 7.",
                "items": {
                  "format": "float",
                  "type": "number"
@@ -106,7 +103,7 @@
                "x-etsi-mec-origin-type": "UnsignedInt"
              },
              "orientationMajorAxis": {
							"description": "Angle of orientation of the major axis, expressed in the range 0 deg to 180 deg, as defined in [14]. Present only if \"shape\" equals 4 or 6",
                "description": "Angle of orientation of the major axis, expressed in the range 0° to 180°, as defined in [14]. Present only if \"shape\" equals 4 or 6",
                "type": "integer",
                "x-etsi-mec-cardinality": "0..1",
                "x-etsi-mec-origin-type": "UnsignedInt"
@@ -121,14 +118,14 @@
                "properties": {
                  "nanoSeconds": {
                    "description": "The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.",
									"format": "int32",
                    "format": "uint32",
                    "type": "integer",
                    "x-etsi-mec-cardinality": "1",
                    "x-etsi-mec-origin-type": "Uint32"
                  },
                  "seconds": {
                    "description": "The seconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.",
									"format": "int32",
                    "format": "uint32",
                    "type": "integer",
                    "x-etsi-mec-cardinality": "1",
                    "x-etsi-mec-origin-type": "Uint32"
@@ -148,10 +145,10 @@
                "x-etsi-mec-origin-type": "UnsignedInt"
              },
              "velocity": {
							"description": "Structure with attributes relating to the target's velocity, as defined in [14].",
                "description": "Structure with attributes relating to the target entity’s velocity, as defined in [14].",
                "properties": {
                  "bearing": {
									"description": "Bearing, expressed in the range 0 deg to 360 deg, as defined in [14].",
                    "description": "Bearing, expressed in the range 0° to 360°, as defined in [14].",
                    "type": "integer",
                    "x-etsi-mec-cardinality": "1",
                    "x-etsi-mec-origin-type": "UnsignedInt"
@@ -241,5 +238,3 @@
        ],
        "type": "object"
      }
 No newline at end of file
	}
}
 No newline at end of file
+267 −269
Original line number Diff line number Diff line
{
	"accessPointList": {
        "description": "A type containing list of access points.",
        "properties": {
          "accessPoint": {
@@ -81,7 +80,7 @@
                      "x-etsi-mec-origin-type": "UnsignedInt"
                    },
                    "latitude": {
									"description": "Location latitude, expressed in the range -90 to +90. Cardinality greater than one only if \"shape\" equals 7.",
                      "description": "Location latitude, expressed in the range -90° to +90°. Cardinality greater than one only if \"shape\" equals 7.",
                      "items": {
                        "format": "float",
                        "type": "number"
@@ -92,7 +91,7 @@
                      "x-etsi-mec-origin-type": "Float"
                    },
                    "longitude": {
									"description": "Location longitude, expressed in the range -180 to +180. Cardinality greater than one only if \"shape\" equals 7.",
                      "description": "Location longitude, expressed in the range -180° to +180°. Cardinality greater than one only if \"shape\" equals 7.",
                      "items": {
                        "format": "float",
                        "type": "number"
@@ -109,7 +108,7 @@
                      "x-etsi-mec-origin-type": "UnsignedInt"
                    },
                    "orientationMajorAxis": {
									"description": "Angle of orientation of the major axis, expressed in the range 0 to 180, as defined in [14]. Present only if \"shape\" equals 4 or 6",
                      "description": "Angle of orientation of the major axis, expressed in the range 0° to 180°, as defined in [14]. Present only if \"shape\" equals 4 or 6",
                      "type": "integer",
                      "x-etsi-mec-cardinality": "0..1",
                      "x-etsi-mec-origin-type": "UnsignedInt"
@@ -124,14 +123,14 @@
                      "properties": {
                        "nanoSeconds": {
                          "description": "The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.",
											"format": "int32",
                          "format": "uint32",
                          "type": "integer",
                          "x-etsi-mec-cardinality": "1",
                          "x-etsi-mec-origin-type": "Uint32"
                        },
                        "seconds": {
                          "description": "The seconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.",
											"format": "int32",
                          "format": "uint32",
                          "type": "integer",
                          "x-etsi-mec-cardinality": "1",
                          "x-etsi-mec-origin-type": "Uint32"
@@ -151,10 +150,10 @@
                      "x-etsi-mec-origin-type": "UnsignedInt"
                    },
                    "velocity": {
									"description": "Structure with attributes relating to the target entity's velocity, as defined in [14].",
                      "description": "Structure with attributes relating to the target entitys velocity, as defined in [14].",
                      "properties": {
                        "bearing": {
											"description": "Bearing, expressed in the range 0 deg to 360 deg, as defined in [14].",
                          "description": "Bearing, expressed in the range 0° to 360°, as defined in [14].",
                          "type": "integer",
                          "x-etsi-mec-cardinality": "1",
                          "x-etsi-mec-origin-type": "UnsignedInt"
@@ -267,4 +266,3 @@
        ],
        "type": "object"
      }
 No newline at end of file
}
 No newline at end of file
+154 −176
Original line number Diff line number Diff line
{
	"type": "object",
	"properties": {
		"circleNotificationSubscription": {
        "description": "A type containing data for notifications, when the area is defined as a circle.",
        "properties": {
          "address": {
@@ -59,7 +56,7 @@
            "x-etsi-mec-origin-type": "int"
          },
          "duration": {
					"description": "Period of time (in seconds) notifications are provided for. If set to 0 (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications.",
            "description": "Period of time (in seconds) notifications are provided for. If set to “0” (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications.",
            "type": "integer",
            "x-etsi-mec-cardinality": "0..1",
            "x-etsi-mec-origin-type": "int"
@@ -156,22 +153,3 @@
        ],
        "type": "object"
      }
 No newline at end of file
	},
	"example": {
		"circleNotificationSubscription": {
			"clientCorrelator": "0123",
			"callbackReference": {
				"callbackData": "1234",
				"notifyURL": "http://clientApp.example.com/location_notifications/123456"
			},
			"address": "acr:10.0.0.1",
			"checkImmediate": true,
			"enteringLeavingCriteria": "Entering",
			"frequency": 10,
			"latitude": -80.88,
			"longitude": 41.277,
			"radius": 500,
			"trackingAccuracy": 10
		}
	}
}
 No newline at end of file
+706 −714
Original line number Diff line number Diff line
{
	"type": "object",
	"required": [
		"notificationSubscriptionList"
	],
	"properties": {
		"notificationSubscriptionList": {
        "properties": {
          "circleNotificationSubscription": {
            "description": "Collection of CircleNotificationSubscription elements, see note 2.",
@@ -66,7 +60,7 @@
                  "x-etsi-mec-origin-type": "int"
                },
                "duration": {
								"description": "Period of time (in seconds) notifications are provided for. If set to 0 (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications.",
                  "description": "Period of time (in seconds) notifications are provided for. If set to “0” (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications.",
                  "type": "integer",
                  "x-etsi-mec-cardinality": "0..1",
                  "x-etsi-mec-origin-type": "int"
@@ -235,7 +229,7 @@
                  "x-etsi-mec-origin-type": "float"
                },
                "duration": {
								"description": "Period of time (in seconds) notifications are provided for. If set to 0 (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications.",
                  "description": "Period of time (in seconds) notifications are provided for. If set to “0” (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications.",
                  "type": "integer",
                  "x-etsi-mec-cardinality": "0..1",
                  "x-etsi-mec-origin-type": "int"
@@ -373,7 +367,7 @@
                  "x-etsi-mec-origin-type": "string"
                },
                "duration": {
								"description": "Period of time (in seconds) notifications are provided for. If set to 0 (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications.",
                  "description": "Period of time (in seconds) notifications are provided for. If set to “0” (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications.",
                  "type": "integer",
                  "x-etsi-mec-cardinality": "0..1",
                  "x-etsi-mec-origin-type": "int"
@@ -563,7 +557,7 @@
                  "x-etsi-mec-origin-type": "string"
                },
                "duration": {
								"description": "Period (in seconds) of time notifications are provided for. If set to 0 (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications. This element MAY be given by the client during resource creation in order to signal the desired lifetime of the subscription. The server MUST return in this element the   period of time for which the subscription will still be valid.",
                  "description": "Period (in seconds) of time notifications are provided for. If set to \"0\" (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications. This element MAY be given by the client during resource creation in order to signal the desired lifetime of the subscription. The server MUST return in this element the   period of time for which the subscription will still be valid.",
                  "type": "integer",
                  "x-etsi-mec-cardinality": "0..1",
                  "x-etsi-mec-origin-type": "unsignedInt"
@@ -711,5 +705,3 @@
        "x-etsi-notes": "NOTE 1:\tAs specified in [5], clause 5.2.2.8.\nNOTE 2: \tAs specified in [6], clause 5.2.2.7.",
        "x-etsi-ref": "6.3.3"
      }
 No newline at end of file
	}
}
 No newline at end of file
+44 −49
Original line number Diff line number Diff line
{
	"type": "object",
	"properties": {
		"terminalDistance": {
        "description": "A type containing information about the distance from a terminal to a location or between two terminals, in addition the accuracy and a timestamp of the information are provided.",
        "properties": {
          "accuracy": {
@@ -20,14 +17,14 @@
            "properties": {
              "nanoSeconds": {
                "description": "The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.",
							"format": "int32",
                "format": "uint32",
                "type": "integer",
                "x-etsi-mec-cardinality": "1",
                "x-etsi-mec-origin-type": "Uint32"
              },
              "seconds": {
                "description": "The seconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.",
							"format": "int32",
                "format": "uint32",
                "type": "integer",
                "x-etsi-mec-cardinality": "1",
                "x-etsi-mec-origin-type": "Uint32"
@@ -46,5 +43,3 @@
        ],
        "type": "object"
      }
 No newline at end of file
	}
}
 No newline at end of file
Loading