OI4 / oi4-oec-service

An OI4-compliant base service covering most of the "mandatory" functionality by the development guideline
MIT License
2 stars 0 forks source link

JSON validation error in containerConfig.json #29

Open chrfranz opened 2 years ago

chrfranz commented 2 years ago

Validating the file containerConfig.json against the schema file config.schema.json gives a validation error. This file is used by the OEC registry: Currently the OEC registry fails its own conformity test.

The reason is that the context group has only one entry: name. According the JSON schema a group must contain at least two entries, e.g. name and description.

packages/oi4-oec-service-node/src/Config/containerConfig.json

Here the validation message from the Newtonsoft JSON schema validator: Object property count 1 is less than minimum count of 2. Path 'context', line 83, position 16.