Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit d61f023

Browse files
author
Chrusty
committed
Regenerating sample schemas with new features
1 parent e93e7a3 commit d61f023

File tree

4 files changed

+31
-3
lines changed

4 files changed

+31
-3
lines changed

jsonschemas/GoogleValue.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424
],
2525
"title": "Value",
26-
"description": "`Value` represents a dynamically typed value which can be either\n null, a number, a string, a boolean, a recursive struct value, or a\n list of values. A producer of value is expected to set one of these\n variants. Absence of any variant indicates an error.\n\n The JSON representation for `Value` is JSON value."
26+
"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."
2727
}
2828
},
2929
"additionalProperties": true,

jsonschemas/NoPackage.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"$ref": "#/definitions/NoPackage",
4+
"definitions": {
5+
"NoPackage": {
6+
"properties": {
7+
"name": {
8+
"type": "string"
9+
},
10+
"timestamp": {
11+
"type": "string"
12+
},
13+
"id": {
14+
"type": "integer"
15+
},
16+
"rating": {
17+
"type": "number"
18+
},
19+
"complete": {
20+
"type": "boolean"
21+
}
22+
},
23+
"additionalProperties": true,
24+
"type": "object",
25+
"title": "No Package"
26+
}
27+
}
28+
}

jsonschemas/PayloadMessage2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"additionalProperties": true,
5757
"type": "object",
5858
"title": "Payload Message 2",
59-
"description": "PayloadMessage2 contains some common types\n \n PayloadMessage2 is used throughout the test suite\n and can have multi-line comments"
59+
"description": "PayloadMessage2 contains some common types PayloadMessage2 is used throughout the test suite and can have multi-line comments"
6060
}
6161
}
6262
}

jsonschemas/WellKnown.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"items": {
2626
"type": "integer",
2727
"title": "Int 32 Value",
28-
"description": "Wrapper message for `int32`.\n\n The JSON representation for `Int32Value` is JSON number."
28+
"description": "Wrapper message for `int32`. The JSON representation for `Int32Value` is JSON number."
2929
},
3030
"type": "array"
3131
},

0 commit comments

Comments
 (0)