Commit 31599667 authored by canterafonsj's avatar canterafonsj
Browse files

Fix common schema. At last

parent 88f28fba
Loading
Loading
Loading
Loading
+149 −153
Original line number Original line Diff line number Diff line
@@ -23,8 +23,7 @@
			"format": "date-time"
			"format": "date-time"
		},
		},
		"LdContext": {
		"LdContext": {
      "anyOf": [
			"anyOf": [{
        {
					"type": "object"
					"type": "object"
				},
				},
				{
				{
@@ -35,8 +34,7 @@
					"type": "array",
					"type": "array",
					"minItems": 1,
					"minItems": 1,
					"items": {
					"items": {
            "anyOf": [
						"anyOf": [{
              {
								"type": "string",
								"type": "string",
								"format": "uri"
								"format": "uri"
							},
							},
@@ -85,7 +83,6 @@
			"required": [
			"required": [
				"type"
				"type"
			]
			]
    }
		},
		},
		"ProblemDetails": {
		"ProblemDetails": {
			"type": "object",
			"type": "object",
@@ -106,8 +103,7 @@
			]
			]
		},
		},
		"georel": {
		"georel": {
    "anyOf": [
			"anyOf": [{
      {
					"type": "string",
					"type": "string",
					"enum": [
					"enum": [
						"equals",
						"equals",
@@ -125,8 +121,7 @@
			]
			]
		},
		},
		"coordinates": {
		"coordinates": {
    "oneOf": [
			"oneOf": [{
      {
					"$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#/definitions/position"
					"$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/geometry-schema.json#/definitions/position"
				},
				},
				{
				{
@@ -152,3 +147,4 @@
			]
			]
		}
		}
	}
	}
}
 No newline at end of file