6
6
@pytest .fixture
7
7
def schema ():
8
8
return {
9
- "$schema" : "http ://json-schema.org/draft-07/schema" ,
10
- "$id" : "http ://example.com/example.json" ,
9
+ "$schema" : "https ://json-schema.org/draft-07/schema" ,
10
+ "$id" : "https ://example.com/example.json" ,
11
11
"type" : "object" ,
12
12
"title" : "Sample schema" ,
13
13
"description" : "The root schema comprises the entire JSON document." ,
@@ -33,8 +33,8 @@ def schema():
33
33
@pytest .fixture
34
34
def schema_default ():
35
35
return {
36
- "$schema" : "http ://json-schema.org/draft-07/schema" ,
37
- "$id" : "http ://example.com/example.json" ,
36
+ "$schema" : "https ://json-schema.org/draft-07/schema" ,
37
+ "$id" : "https ://example.com/example.json" ,
38
38
"type" : "object" ,
39
39
"title" : "Sample schema" ,
40
40
"description" : "The root schema comprises the entire JSON document." ,
@@ -61,8 +61,8 @@ def schema_default():
61
61
@pytest .fixture
62
62
def schema_array ():
63
63
return {
64
- "$schema" : "http ://json-schema.org/draft-07/schema" ,
65
- "$id" : "http ://example.com/example.json" ,
64
+ "$schema" : "https ://json-schema.org/draft-07/schema" ,
65
+ "$id" : "https ://example.com/example.json" ,
66
66
"type" : "array" ,
67
67
"title" : "Sample schema" ,
68
68
"description" : "Sample JSON Schema for dummy data in an array" ,
@@ -99,8 +99,8 @@ def schema_array():
99
99
@pytest .fixture
100
100
def schema_response ():
101
101
return {
102
- "$schema" : "http ://json-schema.org/draft-07/schema" ,
103
- "$id" : "http ://example.com/example.json" ,
102
+ "$schema" : "https ://json-schema.org/draft-07/schema" ,
103
+ "$id" : "https ://example.com/example.json" ,
104
104
"type" : "object" ,
105
105
"title" : "Sample outgoing schema" ,
106
106
"description" : "The root schema comprises the entire JSON document." ,
@@ -117,7 +117,7 @@ def schema_response():
117
117
def schema_refs ():
118
118
return {
119
119
"ParentSchema" : {
120
- "$schema" : "http ://json-schema.org/draft-07/schema" ,
120
+ "$schema" : "https ://json-schema.org/draft-07/schema" ,
121
121
"$id" : "testschema://ParentSchema" ,
122
122
"type" : "object" ,
123
123
"title" : "Sample schema" ,
@@ -132,7 +132,7 @@ def schema_refs():
132
132
},
133
133
},
134
134
"ChildSchema" : {
135
- "$schema" : "http ://json-schema.org/draft-07/schema" ,
135
+ "$schema" : "https ://json-schema.org/draft-07/schema" ,
136
136
"$id" : "testschema://ChildSchema" ,
137
137
"type" : "object" ,
138
138
"title" : "Sample schema" ,
@@ -440,7 +440,7 @@ def cloudwatch_logs_event():
440
440
@pytest .fixture
441
441
def cloudwatch_logs_schema ():
442
442
return {
443
- "$schema" : "http ://json-schema.org/draft-07/schema" ,
443
+ "$schema" : "https ://json-schema.org/draft-07/schema" ,
444
444
"$id" : "http://example.com/example.json" ,
445
445
"type" : "array" ,
446
446
"title" : "Sample schema" ,
@@ -655,7 +655,7 @@ def eventbridge_schema_registry_cloudtrail_v2_s3():
655
655
@pytest .fixture
656
656
def schema_datetime_format ():
657
657
return {
658
- "$schema" : "http ://json-schema.org/draft-07/schema" ,
658
+ "$schema" : "https ://json-schema.org/draft-07/schema" ,
659
659
"$id" : "http://example.com/example.json" ,
660
660
"type" : "object" ,
661
661
"title" : "Sample schema with string date-time format" ,
0 commit comments