Skip to content

Commit b011389

Browse files
committed
Upgrade to draft 6. Fixes YousefED#156
1 parent 4e3e7c9 commit b011389

File tree

86 files changed

+231
-404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+231
-404
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ will be translated to
103103
```json
104104
{
105105
"$ref": "#/definitions/Shape",
106-
"$schema": "http://json-schema.org/draft-04/schema#",
106+
"$schema": "http://json-schema.org/draft-06/schema#",
107107
"definitions": {
108108
"Shape": {
109109
"properties": {

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,20 @@
4949
"glob": "~7.1.2",
5050
"json-stable-stringify": "^1.0.1",
5151
"typescript": "~2.6.2",
52-
"yargs": "^8.0.2"
52+
"yargs": "^11.0.0"
5353
},
5454
"devDependencies": {
5555
"@types/assertion-error": "^1.0.30",
5656
"@types/chai": "^4.0.1",
5757
"@types/glob": "^5.0.30",
5858
"@types/json-stable-stringify": "^1.0.31",
5959
"@types/mocha": "^2.2.41",
60-
"@types/node": "^8.0.7",
61-
"ajv": "^5.2.0",
62-
"chai": "^4.0.2",
63-
"mocha": "^3.4.2",
64-
"source-map-support": "^0.4.15",
65-
"ts-node": "^3.1.0",
60+
"@types/node": "^9.4.6",
61+
"ajv": "^6.2.0",
62+
"chai": "^4.1.2",
63+
"mocha": "^5.0.1",
64+
"source-map-support": "^0.5.3",
65+
"ts-node": "^5.0.0",
6666
"tslint": "^5.4.3"
6767
},
6868
"scripts": {

test/programs/annotation-default/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-06/schema#",
33
"properties": {
44
"varBoolean": {
55
"default": true,

test/programs/annotation-id/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-06/schema#",
33
"definitions": {
44
"MySubObject": {
55
"id": "filled#",

test/programs/annotation-ref/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-06/schema#",
33
"definitions": {
44
"MySubObject": {
55
"type": "object"

test/programs/annotation-tjs/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-06/schema#",
33
"properties": {
44
"dateTime": {
55
"format": "date-time",

test/programs/array-and-description/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-06/schema#",
33
"properties": {
44
"description": {
55
"type": "string"

test/programs/array-readonly/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-06/schema#",
33
"items": {
44
"type": "number"
55
},

test/programs/array-types/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-06/schema#",
33
"items": {
44
"type": [
55
"string",

test/programs/class-extends/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
2+
"$schema": "http://json-schema.org/draft-06/schema#",
33
"properties": {
44
"propA": {
55
"type": "number"

0 commit comments

Comments
 (0)