diff --git a/src/sg/gov/moh/pdt-healthcert/1.0/schema.json b/src/sg/gov/moh/pdt-healthcert/1.0/schema.json index d4402ef..3a9e516 100644 --- a/src/sg/gov/moh/pdt-healthcert/1.0/schema.json +++ b/src/sg/gov/moh/pdt-healthcert/1.0/schema.json @@ -445,7 +445,7 @@ "entry": { "description": "An entry in a bundle resource - will contain information about Patient, Speciment, Observation or Organization.", "type": "array", - "minItems": 5, + "minItems": 4, "items": { "oneOf": [ { diff --git a/src/sg/gov/moh/pdt-healthcert/1.0/schema.test.ts b/src/sg/gov/moh/pdt-healthcert/1.0/schema.test.ts index 95b36b7..beadfc0 100644 --- a/src/sg/gov/moh/pdt-healthcert/1.0/schema.test.ts +++ b/src/sg/gov/moh/pdt-healthcert/1.0/schema.test.ts @@ -271,9 +271,9 @@ describe("schema", () => { Object { "dataPath": ".fhirBundle.entry", "keyword": "minItems", - "message": "should NOT have fewer than 5 items", + "message": "should NOT have fewer than 4 items", "params": Object { - "limit": 5, + "limit": 4, }, "schemaPath": "#/properties/fhirBundle/properties/entry/minItems", },