summaryrefslogtreecommitdiffstats
path: root/src/s3select/rapidjson/bin/unittestschema/idandref.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/s3select/rapidjson/bin/unittestschema/idandref.json
parentInitial commit. (diff)
downloadceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz
ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/s3select/rapidjson/bin/unittestschema/idandref.json')
-rw-r--r--src/s3select/rapidjson/bin/unittestschema/idandref.json69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/s3select/rapidjson/bin/unittestschema/idandref.json b/src/s3select/rapidjson/bin/unittestschema/idandref.json
new file mode 100644
index 000000000..ad485d29f
--- /dev/null
+++ b/src/s3select/rapidjson/bin/unittestschema/idandref.json
@@ -0,0 +1,69 @@
+{
+ "id": "http://example.com/root.json",
+ "definitions": {
+ "A": {
+ "id": "#foo",
+ "type": "integer"
+ },
+ "B": {
+ "id": "other.json",
+ "definitions": {
+ "X": {
+ "id": "#bar",
+ "type": "boolean"
+ },
+ "Y": {
+ "$ref": "#/definitions/X"
+ },
+ "W": {
+ "$ref": "#/definitions/Y"
+ },
+ "Z": {
+ "$ref": "#bar"
+ },
+ "N": {
+ "properties": {
+ "NX": {
+ "$ref": "#/definitions/X"
+ }
+ }
+ }
+ }
+ }
+ },
+ "properties": {
+ "PA1": {
+ "$ref": "http://example.com/root.json#/definitions/A"
+ },
+ "PA2": {
+ "$ref": "#/definitions/A"
+ },
+ "PA3": {
+ "$ref": "#foo"
+ },
+ "PX1": {
+ "$ref": "#/definitions/B/definitions/X"
+ },
+ "PX2Y": {
+ "$ref": "#/definitions/B/definitions/Y"
+ },
+ "PX3Z": {
+ "$ref": "#/definitions/B/definitions/Z"
+ },
+ "PX4": {
+ "$ref": "http://example.com/other.json#/definitions/X"
+ },
+ "PX5": {
+ "$ref": "other.json#/definitions/X"
+ },
+ "PX6": {
+ "$ref": "other.json#bar"
+ },
+ "PX7W": {
+ "$ref": "#/definitions/B/definitions/W"
+ },
+ "PX8N": {
+ "$ref": "#/definitions/B/definitions/N"
+ }
+ }
+} \ No newline at end of file