Loading schema/common.json +160 −148 Original line number Diff line number Diff line Loading @@ -23,7 +23,8 @@ "format": "date-time" }, "LdContext": { "anyOf": [{ "anyOf": [ { "type": "object" }, { Loading @@ -34,7 +35,8 @@ "type": "array", "minItems": 1, "items": { "anyOf": [{ "anyOf": [ { "type": "string", "format": "uri" }, Loading Loading @@ -103,7 +105,8 @@ ] }, "georel": { "anyOf": [{ "anyOf": [ { "type": "string", "enum": [ "equals", Loading @@ -121,7 +124,8 @@ ] }, "coordinates": { "oneOf": [{ "oneOf": [ { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#/definitions/position" }, { Loading @@ -145,6 +149,14 @@ "Polygon", "MultiPolygon" ] }, "timerel": { "type": "string", "enum": [ "before", "after", "between" ] } } } spec/updated/temporal/temporal-entities-spec.json +14 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,16 @@ "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name" } }, "lastN": { "name": "lastN", "description": "Only retrieve last N instances", "in": "query", "required": false, "schema": { "type": "integer", "minValue": 1 } }, "options": { "name": "options", "description": "Options dictionary", Loading Loading @@ -93,7 +103,7 @@ "$ref": "#/components/parameters/timerel" }, { "$ref": "#/components/parameters/temporalproperty" "$ref": "#/components/parameters/timeproperty" }, { "$ref": "#/components/parameters/time" Loading @@ -109,6 +119,9 @@ }, { "$ref": "#/components/parameters/options" }, { "$ref": "#/components/parameters/lastN" } ], "responses": { Loading Loading
schema/common.json +160 −148 Original line number Diff line number Diff line Loading @@ -23,7 +23,8 @@ "format": "date-time" }, "LdContext": { "anyOf": [{ "anyOf": [ { "type": "object" }, { Loading @@ -34,7 +35,8 @@ "type": "array", "minItems": 1, "items": { "anyOf": [{ "anyOf": [ { "type": "string", "format": "uri" }, Loading Loading @@ -103,7 +105,8 @@ ] }, "georel": { "anyOf": [{ "anyOf": [ { "type": "string", "enum": [ "equals", Loading @@ -121,7 +124,8 @@ ] }, "coordinates": { "oneOf": [{ "oneOf": [ { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#/definitions/position" }, { Loading @@ -145,6 +149,14 @@ "Polygon", "MultiPolygon" ] }, "timerel": { "type": "string", "enum": [ "before", "after", "between" ] } } }
spec/updated/temporal/temporal-entities-spec.json +14 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,16 @@ "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/Name" } }, "lastN": { "name": "lastN", "description": "Only retrieve last N instances", "in": "query", "required": false, "schema": { "type": "integer", "minValue": 1 } }, "options": { "name": "options", "description": "Options dictionary", Loading Loading @@ -93,7 +103,7 @@ "$ref": "#/components/parameters/timerel" }, { "$ref": "#/components/parameters/temporalproperty" "$ref": "#/components/parameters/timeproperty" }, { "$ref": "#/components/parameters/time" Loading @@ -109,6 +119,9 @@ }, { "$ref": "#/components/parameters/options" }, { "$ref": "#/components/parameters/lastN" } ], "responses": { Loading