Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions output-tests/v1/content/general.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"description": "failed validation produces no annotations",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"$id": "https://json-schema.org/tests/content/v1/general/0",
"type": "string",
"readOnly": true
Expand All @@ -14,7 +14,7 @@
"output": {
"list": {
"$id": "https://json-schema.org/tests/content/v1/general/0/tests/0/basic",
"$ref": "/draft/next/output/schema",
"$ref": "/v1/output/schema",
"properties": {
"details": {
"contains": {
Expand Down
4 changes: 2 additions & 2 deletions output-tests/v1/content/readOnly.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"description": "readOnly generates its value as an annotation",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"$id": "https://json-schema.org/tests/content/v1/readOnly/0",
"readOnly": true
},
Expand All @@ -13,7 +13,7 @@
"output": {
"list": {
"$id": "https://json-schema.org/tests/content/v1/readOnly/0/tests/0/basic",
"$ref": "/draft/next/output/schema",
"$ref": "/v1/output/schema",
"properties": {
"details": {
"contains": {
Expand Down
4 changes: 2 additions & 2 deletions output-tests/v1/content/type.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"description": "incorrect type",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"$id": "https://json-schema.org/tests/content/v1/type/0",
"type": "string"
},
Expand All @@ -13,7 +13,7 @@
"output": {
"list": {
"$id": "https://json-schema.org/tests/content/v1/type/0/tests/0/basic",
"$ref": "/draft/next/output/schema",
"$ref": "/v1/output/schema",
"properties": {
"details": {
"contains": {
Expand Down
4 changes: 2 additions & 2 deletions output-tests/v1/output-schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/next/schema",
"$id": "https://json-schema.org/draft/next/output/schema",
"$schema": "https://json-schema.org/v1",
"$id": "https://json-schema.org/v1/output/schema",
"description": "A schema that validates the minimum requirements for validation output",

"anyOf": [
Expand Down
2 changes: 1 addition & 1 deletion tests/v1/format/hostname.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
{
"description": "validation of A-label (punycode) host names",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "hostname"
},
"tests": [
Expand Down
38 changes: 19 additions & 19 deletions tests/v1/optional/format-annotation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"description": "email format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "email"
},
"tests": [
Expand Down Expand Up @@ -46,7 +46,7 @@
{
"description": "idn-email format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "idn-email"
},
"tests": [
Expand Down Expand Up @@ -90,7 +90,7 @@
{
"description": "regex format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "regex"
},
"tests": [
Expand Down Expand Up @@ -134,7 +134,7 @@
{
"description": "ipv4 format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "ipv4"
},
"tests": [
Expand Down Expand Up @@ -178,7 +178,7 @@
{
"description": "ipv6 format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "ipv6"
},
"tests": [
Expand Down Expand Up @@ -222,7 +222,7 @@
{
"description": "idn-hostname format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "idn-hostname"
},
"tests": [
Expand Down Expand Up @@ -266,7 +266,7 @@
{
"description": "hostname format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "hostname"
},
"tests": [
Expand Down Expand Up @@ -310,7 +310,7 @@
{
"description": "date format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "date"
},
"tests": [
Expand Down Expand Up @@ -354,7 +354,7 @@
{
"description": "date-time format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "date-time"
},
"tests": [
Expand Down Expand Up @@ -398,7 +398,7 @@
{
"description": "time format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "time"
},
"tests": [
Expand Down Expand Up @@ -442,7 +442,7 @@
{
"description": "json-pointer format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "json-pointer"
},
"tests": [
Expand Down Expand Up @@ -486,7 +486,7 @@
{
"description": "relative-json-pointer format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "relative-json-pointer"
},
"tests": [
Expand Down Expand Up @@ -530,7 +530,7 @@
{
"description": "iri format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "iri"
},
"tests": [
Expand Down Expand Up @@ -574,7 +574,7 @@
{
"description": "iri-reference format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "iri-reference"
},
"tests": [
Expand Down Expand Up @@ -618,7 +618,7 @@
{
"description": "uri format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "uri"
},
"tests": [
Expand Down Expand Up @@ -662,7 +662,7 @@
{
"description": "uri-reference format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "uri-reference"
},
"tests": [
Expand Down Expand Up @@ -706,7 +706,7 @@
{
"description": "uri-template format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "uri-template"
},
"tests": [
Expand Down Expand Up @@ -750,7 +750,7 @@
{
"description": "uuid format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "uuid"
},
"tests": [
Expand Down Expand Up @@ -794,7 +794,7 @@
{
"description": "duration format",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"format": "duration"
},
"tests": [
Expand Down
2 changes: 1 addition & 1 deletion tests/v1/optional/unknownKeyword.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "$id inside an unknown keyword is not a real identifier",
"comment": "the implementation must not be confused by an $id in locations we do not know how to parse",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"$schema": "https://json-schema.org/v1",
"$defs": {
"id_in_unknown0": {
"not": {
Expand Down
Loading