From 956cc32e45d65566cc2768507275505061e4adf9 Mon Sep 17 00:00:00 2001 From: Prawn Date: Wed, 19 Apr 2023 08:33:06 +1200 Subject: [PATCH] Updating sample JSONSchemas --- jsonschemas/EnumOptions.json | 4 ++++ jsonschemas/GoogleValue.json | 4 ++++ jsonschemas/MessageWithComments.json | 3 +++ 3 files changed, 11 insertions(+) diff --git a/jsonschemas/EnumOptions.json b/jsonschemas/EnumOptions.json index 9cd00df3..848ced02 100644 --- a/jsonschemas/EnumOptions.json +++ b/jsonschemas/EnumOptions.json @@ -15,6 +15,10 @@ "enums_trim_prefix": { "type": "boolean", "description": "Enums tagged with this will have enum name prefix removed from values:" + }, + "ignore": { + "type": "boolean", + "description": "Enums tagged with this will not be processed" } }, "additionalProperties": true, diff --git a/jsonschemas/GoogleValue.json b/jsonschemas/GoogleValue.json index ebcfe801..19dfe4f4 100644 --- a/jsonschemas/GoogleValue.json +++ b/jsonschemas/GoogleValue.json @@ -24,6 +24,10 @@ ], "title": "Value", "description": "`Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error. The JSON representation for `Value` is JSON value." + }, + "some_list": { + "additionalProperties": true, + "type": "array" } }, "additionalProperties": true, diff --git a/jsonschemas/MessageWithComments.json b/jsonschemas/MessageWithComments.json index dcd3c434..84d8fcab 100644 --- a/jsonschemas/MessageWithComments.json +++ b/jsonschemas/MessageWithComments.json @@ -7,6 +7,9 @@ "name1": { "type": "string", "description": "This field is supposed to represent blahblahblah" + }, + "excludedComment": { + "type": "string" } }, "additionalProperties": true,