From 4dd970bc750c59062cb60863a2be54a48f58f75c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Narciso=20Garc=C3=ADa=20Revington?= Date: Tue, 2 Nov 2021 15:16:59 +0100 Subject: [PATCH] fix broken 2.5 schemas Request schema had bad references (missing /). Response schema pointed to a bad reference `nobid_reason` instead `nobid_reason_code` --- .../resources/schemas/openrtb-schema_bid-request_v2-5.json | 4 ++-- .../resources/schemas/openrtb-schema_bid-response_v2-5.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openrtb-validator/src/main/resources/schemas/openrtb-schema_bid-request_v2-5.json b/openrtb-validator/src/main/resources/schemas/openrtb-schema_bid-request_v2-5.json index 754da9e..8d7f1d4 100644 --- a/openrtb-validator/src/main/resources/schemas/openrtb-schema_bid-request_v2-5.json +++ b/openrtb-validator/src/main/resources/schemas/openrtb-schema_bid-request_v2-5.json @@ -449,7 +449,7 @@ "battr": { "type": "array", "items": { - "$ref": "#definitions/creative_attribute" + "$ref": "#/definitions/creative_attribute" } }, "maxextended": { @@ -483,7 +483,7 @@ "companiontype": { "type": "array", "items": { - "$ref": "#definitions/vast_companion_type" + "$ref": "#/definitions/vast_companion_type" } }, "maxseq": { diff --git a/openrtb-validator/src/main/resources/schemas/openrtb-schema_bid-response_v2-5.json b/openrtb-validator/src/main/resources/schemas/openrtb-schema_bid-response_v2-5.json index 26414de..420ce0b 100644 --- a/openrtb-validator/src/main/resources/schemas/openrtb-schema_bid-response_v2-5.json +++ b/openrtb-validator/src/main/resources/schemas/openrtb-schema_bid-response_v2-5.json @@ -28,7 +28,7 @@ "type": "string" }, "nbr": { - "$ref": "#/definitions/nobid_reason" + "$ref": "#/definitions/nobid_reason_code" }, "ext": { "type": "object"