Skip to content

Commit

Permalink
fix: revert use HTTPS on $schema urls to avoid mixed content
Browse files Browse the repository at this point in the history
This reverts commit 73cef7a.
  • Loading branch information
smoya authored Nov 2, 2021
1 parent e4a9173 commit eca1fa7
Show file tree
Hide file tree
Showing 8 changed files with 133 additions and 133 deletions.
70 changes: 35 additions & 35 deletions schemas/1.0.0.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "AsyncAPI 1.0 schema.",
"id": "http://asyncapi.hitchhq.com/v1/schema.json#",
"$schema": "https://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"asyncapi",
Expand Down Expand Up @@ -306,58 +306,58 @@
"type": "string"
},
"title": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/title"
"$ref": "http://json-schema.org/draft-04/schema#/properties/title"
},
"description": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/description"
"$ref": "http://json-schema.org/draft-04/schema#/properties/description"
},
"default": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/default"
"$ref": "http://json-schema.org/draft-04/schema#/properties/default"
},
"multipleOf": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/multipleOf"
"$ref": "http://json-schema.org/draft-04/schema#/properties/multipleOf"
},
"maximum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/maximum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/maximum"
},
"exclusiveMaximum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
},
"minimum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/minimum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/minimum"
},
"exclusiveMinimum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
},
"maxLength": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveInteger"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
},
"minLength": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},
"pattern": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/pattern"
"$ref": "http://json-schema.org/draft-04/schema#/properties/pattern"
},
"maxItems": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveInteger"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
},
"minItems": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},
"uniqueItems": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/uniqueItems"
"$ref": "http://json-schema.org/draft-04/schema#/properties/uniqueItems"
},
"maxProperties": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveInteger"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
},
"minProperties": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},
"required": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/stringArray"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/stringArray"
},
"enum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/enum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/enum"
},
"additionalProperties": {
"anyOf": [
Expand All @@ -371,7 +371,7 @@
"default": {}
},
"type": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/type"
"$ref": "http://json-schema.org/draft-04/schema#/properties/type"
},
"items": {
"anyOf": [
Expand Down Expand Up @@ -801,49 +801,49 @@
}
},
"title": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/title"
"$ref": "http://json-schema.org/draft-04/schema#/properties/title"
},
"description": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/description"
"$ref": "http://json-schema.org/draft-04/schema#/properties/description"
},
"default": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/default"
"$ref": "http://json-schema.org/draft-04/schema#/properties/default"
},
"multipleOf": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/multipleOf"
"$ref": "http://json-schema.org/draft-04/schema#/properties/multipleOf"
},
"maximum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/maximum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/maximum"
},
"exclusiveMaximum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
},
"minimum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/minimum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/minimum"
},
"exclusiveMinimum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
},
"maxLength": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveInteger"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
},
"minLength": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},
"pattern": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/pattern"
"$ref": "http://json-schema.org/draft-04/schema#/properties/pattern"
},
"maxItems": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveInteger"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
},
"minItems": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},
"uniqueItems": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/uniqueItems"
"$ref": "http://json-schema.org/draft-04/schema#/properties/uniqueItems"
},
"enum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/enum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/enum"
}
}
}
70 changes: 35 additions & 35 deletions schemas/1.1.0.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "AsyncAPI 1.1.0 schema.",
"id": "http://asyncapi.hitchhq.com/v1/schema.json#",
"$schema": "https://json-schema.org/draft-04/schema#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"asyncapi",
Expand Down Expand Up @@ -308,58 +308,58 @@
"type": "string"
},
"title": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/title"
"$ref": "http://json-schema.org/draft-04/schema#/properties/title"
},
"description": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/description"
"$ref": "http://json-schema.org/draft-04/schema#/properties/description"
},
"default": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/default"
"$ref": "http://json-schema.org/draft-04/schema#/properties/default"
},
"multipleOf": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/multipleOf"
"$ref": "http://json-schema.org/draft-04/schema#/properties/multipleOf"
},
"maximum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/maximum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/maximum"
},
"exclusiveMaximum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
},
"minimum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/minimum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/minimum"
},
"exclusiveMinimum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
},
"maxLength": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveInteger"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
},
"minLength": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},
"pattern": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/pattern"
"$ref": "http://json-schema.org/draft-04/schema#/properties/pattern"
},
"maxItems": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveInteger"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
},
"minItems": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},
"uniqueItems": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/uniqueItems"
"$ref": "http://json-schema.org/draft-04/schema#/properties/uniqueItems"
},
"maxProperties": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveInteger"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
},
"minProperties": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},
"required": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/stringArray"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/stringArray"
},
"enum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/enum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/enum"
},
"additionalProperties": {
"anyOf": [
Expand All @@ -373,7 +373,7 @@
"default": {}
},
"type": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/type"
"$ref": "http://json-schema.org/draft-04/schema#/properties/type"
},
"items": {
"anyOf": [
Expand Down Expand Up @@ -873,49 +873,49 @@
}
},
"title": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/title"
"$ref": "http://json-schema.org/draft-04/schema#/properties/title"
},
"description": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/description"
"$ref": "http://json-schema.org/draft-04/schema#/properties/description"
},
"default": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/default"
"$ref": "http://json-schema.org/draft-04/schema#/properties/default"
},
"multipleOf": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/multipleOf"
"$ref": "http://json-schema.org/draft-04/schema#/properties/multipleOf"
},
"maximum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/maximum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/maximum"
},
"exclusiveMaximum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum"
},
"minimum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/minimum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/minimum"
},
"exclusiveMinimum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum"
},
"maxLength": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveInteger"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
},
"minLength": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},
"pattern": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/pattern"
"$ref": "http://json-schema.org/draft-04/schema#/properties/pattern"
},
"maxItems": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveInteger"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger"
},
"minItems": {
"$ref": "https://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
"$ref": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0"
},
"uniqueItems": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/uniqueItems"
"$ref": "http://json-schema.org/draft-04/schema#/properties/uniqueItems"
},
"enum": {
"$ref": "https://json-schema.org/draft-04/schema#/properties/enum"
"$ref": "http://json-schema.org/draft-04/schema#/properties/enum"
}
}
}
Loading

0 comments on commit eca1fa7

Please sign in to comment.