Traceback (most recent call last):
File "/opt/miniconda3/bin/oj-api", line 8, in <module>
sys.exit(main())
File "/opt/miniconda3/lib/python3.8/site-packages/onlinejudge_api/main.py", line 356, in main
jsonschema.validate(result, schema)
File "/opt/miniconda3/lib/python3.8/site-packages/jsonschema/validators.py", line 1018, in validate
cls.check_schema(schema)
File "/opt/miniconda3/lib/python3.8/site-packages/jsonschema/validators.py", line 190, in check_schema
raise exceptions.SchemaError.create_from(error)
jsonschema.exceptions.SchemaError: [{'type': 'object', 'properties': {'input': {'type': 'string'}, 'output': {'type': 'string'}}, 'required': ['input', 'output'], 'additionalProperties': False}] is not of typ
e 'object', 'boolean'
Failed validating 'type' in metaschema['allOf'][1]['properties']['properties']['additionalProperties']['$dynamicRef']['allOf'][1]['properties']['items']['$dynamicRef']['allOf'][0]:
Summary / 概要
get-problem --compatibility
failed due to schema error, can be reproduced with with any service.Steps to reproduce / 再現方法
environments: Ubuntu 20.04, Python 3.8.12
$ oj --version
) online-judge-api-client 10.10.0Expected behavior / 期待される挙動
Getting a problem JSON
Actual behavior / 実際の挙動
Failed due to schema eror.
Got following ERROR:
Other notes / その他