schemas: Descriptions must be strings
```
$ python3 -c 'import json; import jsonschema; schema = json.load(open("schemas/global.json")); cls = jsonschema.validators.validator_for(schema); cls.check_schema(schema)'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/jsonschema/validators.py", line 204, in check_schema
raise exceptions.SchemaError.create_from(error)
jsonschema.exceptions.SchemaError: ['The schema for an entity manager configuration file. An entity ', 'mananger configuration file can consist of a single object, or an ', 'array of objects. Objects must be of type EMConfig.'] is not of type 'string'
Failed validating 'type' in metaschema['properties']['description']:
{'type': 'string'}
On schema['description']:
['The schema for an entity manager configuration file. An entity ',
'mananger configuration file can consist of a single object, or an ',
'array of objects. Objects must be of type EMConfig.']
```
Change-Id: I2b8102e7d6047c8a7e624e182465065268fb8ad9
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 1752c3b..511799e 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -2,11 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Aggregate": {
- "description": [
- "Don't add additional properties to this schema. Consult ",
- "README.schema for instructions on adding new Exposes element ",
- "sub-schema."
- ],
+ "description": "Don't add additional properties to this schema. Consult README.schema for instructions on adding new Exposes element sub-schema.",
"additionalProperties": false,
"properties": {
"Address": {