|
34 | 34 | },
|
35 | 35 | "schema": { "$ref": "#" }
|
36 | 36 | }
|
37 |
| - } |
38 |
| - }, |
39 |
| - "allOf": [ |
40 |
| - { |
41 |
| - "$ref": "http://json-schema.org/draft-05/schema" |
42 |
| - } |
43 |
| - ], |
44 |
| - "properties": { |
45 |
| - "additionalItems": { |
46 |
| - "anyOf": [ |
47 |
| - { "type": "boolean" }, |
48 |
| - { "$ref": "#" } |
49 |
| - ] |
50 |
| - }, |
51 |
| - "additionalProperties": { |
52 |
| - "anyOf": [ |
53 |
| - { "type": "boolean" }, |
54 |
| - { "$ref": "#" } |
55 |
| - ] |
56 |
| - }, |
57 |
| - "dependencies": { |
58 |
| - "additionalProperties": { |
59 |
| - "anyOf": [ |
60 |
| - { "$ref": "#" }, |
61 |
| - { "type": "array" } |
62 |
| - ] |
63 |
| - } |
64 |
| - }, |
65 |
| - "items": { |
66 |
| - "anyOf": [ |
67 |
| - { "$ref": "#" }, |
68 |
| - { "$ref": "#/definitions/schemaArray" } |
69 |
| - ] |
70 |
| - }, |
71 |
| - "definitions": { |
72 |
| - "additionalProperties": { "$ref": "#" } |
73 |
| - }, |
74 |
| - "patternProperties": { |
75 |
| - "additionalProperties": { "$ref": "#" } |
76 |
| - }, |
77 |
| - "properties": { |
78 |
| - "additionalProperties": { "$ref": "#" } |
79 |
| - }, |
80 |
| - "allOf": { "$ref": "#/definitions/schemaArray" }, |
81 |
| - "anyOf": { "$ref": "#/definitions/schemaArray" }, |
82 |
| - "oneOf": { "$ref": "#/definitions/schemaArray" }, |
83 |
| - "not": { "$ref": "#" }, |
84 |
| - |
85 |
| - "base": { |
86 |
| - "type": "string" |
87 |
| - }, |
88 |
| - "links": { |
89 |
| - "type": "array", |
90 |
| - "items": { "$ref": "#/definitions/linkDescription" } |
91 |
| - }, |
92 |
| - "readOnly": { |
93 |
| - "type": "boolean", |
94 |
| - "default": false |
95 | 37 | },
|
96 |
| - "media": { |
97 |
| - "type": "object", |
| 38 | + "hyperSchemaObject": { |
98 | 39 | "properties": {
|
99 |
| - "type": { |
100 |
| - "type": "string" |
| 40 | + "additionalItems": { |
| 41 | + "anyOf": [ |
| 42 | + { "type": "boolean" }, |
| 43 | + { "$ref": "#" } |
| 44 | + ] |
| 45 | + }, |
| 46 | + "additionalProperties": { |
| 47 | + "anyOf": [ |
| 48 | + { "type": "boolean" }, |
| 49 | + { "$ref": "#" } |
| 50 | + ] |
| 51 | + }, |
| 52 | + "dependencies": { |
| 53 | + "additionalProperties": { |
| 54 | + "anyOf": [ |
| 55 | + { "$ref": "#" }, |
| 56 | + { "type": "array" } |
| 57 | + ] |
| 58 | + } |
| 59 | + }, |
| 60 | + "items": { |
| 61 | + "anyOf": [ |
| 62 | + { "$ref": "#" }, |
| 63 | + { "$ref": "#/definitions/schemaArray" } |
| 64 | + ] |
| 65 | + }, |
| 66 | + "definitions": { |
| 67 | + "additionalProperties": { "$ref": "#" } |
101 | 68 | },
|
102 |
| - "binaryEncoding": { |
| 69 | + "patternProperties": { |
| 70 | + "additionalProperties": { "$ref": "#" } |
| 71 | + }, |
| 72 | + "properties": { |
| 73 | + "additionalProperties": { "$ref": "#" } |
| 74 | + }, |
| 75 | + "allOf": { "$ref": "#/definitions/schemaArray" }, |
| 76 | + "anyOf": { "$ref": "#/definitions/schemaArray" }, |
| 77 | + "oneOf": { "$ref": "#/definitions/schemaArray" }, |
| 78 | + "not": { "$ref": "#" }, |
| 79 | + |
| 80 | + "base": { |
103 | 81 | "type": "string"
|
| 82 | + }, |
| 83 | + "links": { |
| 84 | + "type": "array", |
| 85 | + "items": { "$ref": "#/definitions/linkDescription" } |
| 86 | + }, |
| 87 | + "readOnly": { |
| 88 | + "type": "boolean", |
| 89 | + "default": false |
| 90 | + }, |
| 91 | + "media": { |
| 92 | + "type": "object", |
| 93 | + "properties": { |
| 94 | + "type": { |
| 95 | + "type": "string" |
| 96 | + }, |
| 97 | + "binaryEncoding": { |
| 98 | + "type": "string" |
| 99 | + } |
| 100 | + } |
104 | 101 | }
|
105 | 102 | }
|
106 | 103 | }
|
107 | 104 | },
|
| 105 | + "oneOf": [ |
| 106 | + "allOf": [ |
| 107 | + { "$ref": "http://json-schema.org/draft-05/schema#/definitions/schemaObject" }, |
| 108 | + { "$ref": "#/definitions/hyperSchemaObject" } |
| 109 | + ], |
| 110 | + { "$ref": "http://json-schema.org/draft-05/schema#/definitions/jsonReference" } |
| 111 | + ], |
108 | 112 | "links": [
|
109 | 113 | {
|
110 | 114 | "rel": "self",
|
|
0 commit comments