Commit d239659c authored by canterafonsj's avatar canterafonsj
Browse files

Refactoring to make things easier for OAS

parent 6cfb8973
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -3,8 +3,15 @@
  "id": "https://uri.etsi.org/ngsi-ld/schema/EntityList.json",
  "title": "NGSI-LD EntityList",
  "description": "NGSI-LD EntityList",
  "definitions": {
    "EntityList": {
      "type": "array",
      "items": {
    "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#"
        "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/Entity"
      }
    }
  },
  "allOf": [{
    "$ref": "#/definitions/EntityList"
  }]
}
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
    "data": {
      "type": "array",
      "items": {
        "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#"
        "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/Entity"
      },
      "minItems": 1
    }
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@
          "content": {
            "application/json;application/ld+json": {
              "schema": {
                "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#"
                "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#/definitions/Entity"
              }
            }
          }