File tree Expand file tree Collapse file tree 1 file changed +56
-4
lines changed Expand file tree Collapse file tree 1 file changed +56
-4
lines changed Original file line number Diff line number Diff line change 353
353
"type" : " string"
354
354
},
355
355
"schema" : {
356
- "$ref" : " #/definitions/schema"
356
+ "oneOf" : [
357
+ {
358
+ "$ref" : " #/definitions/schema"
359
+ },
360
+ {
361
+ "$ref" : " #/definitions/fileSchema"
362
+ }
363
+ ]
357
364
},
358
365
"headers" : {
359
366
"$ref" : " #/definitions/headers"
766
773
"$ref" : " #/definitions/vendorExtension"
767
774
}
768
775
},
769
- "required" : [" required" ],
776
+ "required" : [
777
+ " required"
778
+ ],
770
779
"properties" : {
771
780
"required" : {
772
781
"type" : " boolean" ,
1011
1020
},
1012
1021
"additionalProperties" : false
1013
1022
},
1023
+ "fileSchema" : {
1024
+ "type" : " object" ,
1025
+ "description" : " A deterministic version of a JSON Schema object." ,
1026
+ "patternProperties" : {
1027
+ "^x-" : {
1028
+ "$ref" : " #/definitions/vendorExtension"
1029
+ }
1030
+ },
1031
+ "properties" : {
1032
+ "format" : {
1033
+ "type" : " string"
1034
+ },
1035
+ "title" : {
1036
+ "$ref" : " http://json-schema.org/draft-04/schema#/properties/title"
1037
+ },
1038
+ "description" : {
1039
+ "$ref" : " http://json-schema.org/draft-04/schema#/properties/description"
1040
+ },
1041
+ "default" : {
1042
+ "$ref" : " http://json-schema.org/draft-04/schema#/properties/default"
1043
+ },
1044
+ "required" : {
1045
+ "$ref" : " http://json-schema.org/draft-04/schema#/definitions/stringArray"
1046
+ },
1047
+ "type" : {
1048
+ "type" : " string" ,
1049
+ "enum" : [
1050
+ " file"
1051
+ ]
1052
+ },
1053
+ "readOnly" : {
1054
+ "type" : " boolean" ,
1055
+ "default" : false
1056
+ },
1057
+ "externalDocs" : {
1058
+ "$ref" : " #/definitions/externalDocs"
1059
+ },
1060
+ "example" : {}
1061
+ },
1062
+ "additionalProperties" : false
1063
+ },
1014
1064
"primitivesItems" : {
1015
1065
"type" : " object" ,
1016
1066
"additionalProperties" : false ,
1489
1539
},
1490
1540
"jsonReference" : {
1491
1541
"type" : " object" ,
1492
- "required" : [" $ref" ],
1542
+ "required" : [
1543
+ " $ref"
1544
+ ],
1493
1545
"additionalProperties" : false ,
1494
1546
"properties" : {
1495
1547
"$ref" : {
1498
1550
}
1499
1551
}
1500
1552
}
1501
- }
1553
+ }
You can’t perform that action at this time.
0 commit comments