From 04504e8a1ec53056e2b540c533b8bdbea805aded Mon Sep 17 00:00:00 2001 From: Daniel Himmelstein Date: Fri, 10 Aug 2018 23:56:22 -0400 Subject: [PATCH] Specify draft via $schema in JSON schema (#153) --- csl-citation.json | 3 ++- csl-data.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/csl-citation.json b/csl-citation.json index 8072b9bc..726c3c15 100644 --- a/csl-citation.json +++ b/csl-citation.json @@ -1,5 +1,6 @@ { - "description": "JSON schema (draft 3) for CSL citation objects", + "description": "JSON schema for CSL citation objects", + "$schema" : "http://json-schema.org/draft-03/schema#", "id": "https://github.com/citation-style-language/schema/raw/master/csl-citation.json", "type": "object", "properties": { diff --git a/csl-data.json b/csl-data.json index 512988e6..4f8d458b 100644 --- a/csl-data.json +++ b/csl-data.json @@ -1,5 +1,6 @@ { - "description": "JSON schema (draft 3) for CSL input data", + "description": "JSON schema for CSL input data", + "$schema" : "http://json-schema.org/draft-03/schema#", "id": "https://github.com/citation-style-language/schema/raw/master/csl-data.json", "type": "array", "items": {