Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: tools/json_schema_compiler/test/enums.json

Issue 11827026: Overhaul JSON Schema Compiler to support a number of features required to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "enums", 3 "namespace": "enums",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "Enumeration", 6 "id": "Enumeration",
7 "type": "string",
7 "enum": ["one", "two", "three"] 8 "enum": ["one", "two", "three"]
8 }, 9 },
9 { 10 {
10 "id": "EnumType", 11 "id": "EnumType",
11 "type": "object", 12 "type": "object",
12 "properties": { 13 "properties": {
13 "type": { 14 "type": {
14 "type": "string", 15 "type": "string",
15 "enum": ["one", "two", "three"] 16 "enum": ["one", "two", "three"]
16 } 17 }
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 { 203 {
203 "name": "secondEnum", 204 "name": "secondEnum",
204 "type": "string", 205 "type": "string",
205 "enum": ["spam", "ham", "eggs"] 206 "enum": ["spam", "ham", "eggs"]
206 } 207 }
207 ] 208 ]
208 } 209 }
209 ] 210 ]
210 } 211 }
211 ] 212 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/choices_unittest.cc ('k') | tools/json_schema_compiler/test/enums_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698