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 353353 "type" : " string"
354354 },
355355 "schema" : {
356- "$ref" : " #/definitions/schema"
356+ "oneOf" : [
357+ {
358+ "$ref" : " #/definitions/schema"
359+ },
360+ {
361+ "$ref" : " #/definitions/fileSchema"
362+ }
363+ ]
357364 },
358365 "headers" : {
359366 "$ref" : " #/definitions/headers"
766773 "$ref" : " #/definitions/vendorExtension"
767774 }
768775 },
769- "required" : [" required" ],
776+ "required" : [
777+ " required"
778+ ],
770779 "properties" : {
771780 "required" : {
772781 "type" : " boolean" ,
10111020 },
10121021 "additionalProperties" : false
10131022 },
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+ },
10141064 "primitivesItems" : {
10151065 "type" : " object" ,
10161066 "additionalProperties" : false ,
14891539 },
14901540 "jsonReference" : {
14911541 "type" : " object" ,
1492- "required" : [" $ref" ],
1542+ "required" : [
1543+ " $ref"
1544+ ],
14931545 "additionalProperties" : false ,
14941546 "properties" : {
14951547 "$ref" : {
14981550 }
14991551 }
15001552 }
1501- }
1553+ }
You can’t perform that action at this time.
0 commit comments