From f5461ff9810e135a54e9550cea12f02999ce2ec2 Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Tue, 4 Jun 2019 00:34:42 +0800 Subject: [PATCH] Fix a deprecation warning from jsonschema 3.x For example, in https://travis-ci.org/awslabs/serverless-application-model/jobs/538917819: /home/travis/build/awslabs/serverless-application-model/.tox/py36/lib/python3.6/site-packages/jsonschema/validators.py:893: DeprecationWarning: The metaschema specified by $schema was not found. Using the latest draft to validate, but this will raise an error in the future. cls = validator_for(schema) --- samtranslator/policy_templates_data/schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samtranslator/policy_templates_data/schema.json b/samtranslator/policy_templates_data/schema.json index 1e316d981..cb86b5a89 100644 --- a/samtranslator/policy_templates_data/schema.json +++ b/samtranslator/policy_templates_data/schema.json @@ -1,5 +1,5 @@ { - "$schema": "http://json-schema.org/schema#", + "$schema": "http://json-schema.org/draft-07/schema#", "title": "Schema for AWS SAM Policy Templates", "definitions": {