gitee.com/zhongguo168a/gocodes@v0.0.0-20230609140523-e1828349603f/datax/generate/schema_export/one.json (about) 1 { 2 "_generate": "generate file: tag=schema_export: time=20220627 10:16:58.317", 3 "schemas": [ 4 { 5 "Fields": [ 6 { 7 "Name": "Int", 8 "Tags": {}, 9 "Type": { 10 "Kind": 5, 11 "_type": "basic" 12 } 13 }, 14 { 15 "Name": "String", 16 "Tags": {}, 17 "Type": { 18 "Kind": 12, 19 "_type": "basic" 20 } 21 }, 22 { 23 "Name": "Enum3", 24 "Tags": {}, 25 "Type": { 26 "Decl": "Enum3", 27 "_type": "enum" 28 } 29 } 30 ], 31 "Name": "Class1", 32 "Package": "sample", 33 "Tags": {}, 34 "_type": "classdecl" 35 }, 36 { 37 "Fields": [ 38 { 39 "Name": "A", 40 "Value": "0" 41 }, 42 { 43 "Name": "B", 44 "Value": "1" 45 }, 46 { 47 "Name": "C", 48 "Value": "2" 49 } 50 ], 51 "Kind": 2, 52 "Name": "Enum1", 53 "Package": "sample", 54 "_type": "enumdecl" 55 }, 56 { 57 "Fields": [ 58 { 59 "Name": "A", 60 "Value": "1" 61 }, 62 { 63 "Name": "B", 64 "Value": "2" 65 }, 66 { 67 "Name": "C", 68 "Value": "4" 69 } 70 ], 71 "Kind": 6, 72 "Name": "Enum2", 73 "Package": "sample", 74 "_type": "enumdecl" 75 }, 76 { 77 "Fields": [ 78 { 79 "Name": "Bool", 80 "Tags": {}, 81 "Type": { 82 "Kind": 1, 83 "_type": "basic" 84 } 85 } 86 ], 87 "Name": "Parent", 88 "Package": "sample", 89 "Tags": {}, 90 "_type": "classdecl" 91 }, 92 { 93 "Fields": [ 94 { 95 "Name": "String", 96 "Tags": { 97 "descz": "_id", 98 "view": "popup" 99 }, 100 "Type": { 101 "Kind": 12, 102 "_type": "basic" 103 } 104 }, 105 { 106 "Name": "int32", 107 "Tags": {}, 108 "Type": { 109 "Kind": 4, 110 "_type": "basic" 111 } 112 }, 113 { 114 "Name": "Float32", 115 "Tags": {}, 116 "Type": { 117 "Kind": 10, 118 "_type": "basic" 119 } 120 }, 121 { 122 "Name": "Enum", 123 "Tags": {}, 124 "Type": { 125 "Decl": "Enum1", 126 "_type": "enum" 127 } 128 }, 129 { 130 "Name": "Enum2", 131 "Tags": {}, 132 "Type": { 133 "Decl": "Enum2", 134 "_type": "enum" 135 } 136 }, 137 { 138 "Name": "Enum3", 139 "Tags": {}, 140 "Type": { 141 "Decl": "Enum3", 142 "_type": "enum" 143 } 144 }, 145 { 146 "Name": "SubEnum", 147 "Tags": {}, 148 "Type": { 149 "Decl": "SubEnum", 150 "_type": "enum" 151 } 152 }, 153 { 154 "Name": "Class1", 155 "Tags": {}, 156 "Type": { 157 "Decl": "Class1", 158 "_type": "class" 159 } 160 }, 161 { 162 "Name": "Sub", 163 "Tags": {}, 164 "Type": { 165 "Decl": "Sub", 166 "_type": "class" 167 } 168 }, 169 { 170 "Name": "Array", 171 "Tags": {}, 172 "Type": { 173 "Elem": { 174 "Decl": "Enum1", 175 "_type": "enum" 176 }, 177 "_type": "array" 178 } 179 }, 180 { 181 "Name": "ArraySt", 182 "Tags": {}, 183 "Type": { 184 "Elem": { 185 "Decl": "Sub", 186 "_type": "class" 187 }, 188 "_type": "array" 189 } 190 }, 191 { 192 "Name": "Map", 193 "Tags": {}, 194 "Type": { 195 "Key": { 196 "Decl": "Enum3", 197 "_type": "enum" 198 }, 199 "Value": { 200 "Decl": "Enum3", 201 "_type": "enum" 202 }, 203 "_type": "map" 204 } 205 }, 206 { 207 "Name": "MapSt", 208 "Tags": {}, 209 "Type": { 210 "Key": { 211 "Decl": "Enum3", 212 "_type": "enum" 213 }, 214 "Value": { 215 "Decl": "Class1", 216 "_type": "class" 217 }, 218 "_type": "map" 219 } 220 }, 221 { 222 "Name": "Any", 223 "Tags": {}, 224 "Type": { 225 "_type": "any" 226 } 227 } 228 ], 229 "Name": "sampleClass", 230 "Package": "sample", 231 "Parent": "Parent", 232 "Tags": {}, 233 "_type": "classdecl" 234 }, 235 { 236 "Fields": [ 237 { 238 "Name": "A", 239 "Value": "0" 240 } 241 ], 242 "Kind": 2, 243 "Name": "Enum3", 244 "Package": "enums", 245 "_type": "enumdecl" 246 }, 247 { 248 "Fields": [ 249 { 250 "Name": "Bool", 251 "Tags": {}, 252 "Type": { 253 "Kind": 1, 254 "_type": "basic" 255 } 256 } 257 ], 258 "Name": "Sub", 259 "Package": "sub", 260 "Parent": "Sub1", 261 "Tags": {}, 262 "_type": "classdecl" 263 }, 264 { 265 "Fields": [ 266 { 267 "Name": "Map", 268 "Tags": {}, 269 "Type": { 270 "Key": { 271 "Kind": 12, 272 "_type": "basic" 273 }, 274 "Value": { 275 "Kind": 12, 276 "_type": "basic" 277 }, 278 "_type": "map" 279 } 280 }, 281 { 282 "Name": "Array", 283 "Tags": {}, 284 "Type": { 285 "Elem": { 286 "Kind": 12, 287 "_type": "basic" 288 }, 289 "_type": "array" 290 } 291 } 292 ], 293 "Name": "Sub1", 294 "Package": "sub", 295 "Tags": {}, 296 "_type": "classdecl" 297 }, 298 { 299 "Fields": [ 300 { 301 "Name": "A", 302 "Value": "0" 303 }, 304 { 305 "Name": "B", 306 "Value": "1" 307 } 308 ], 309 "Kind": 5, 310 "Name": "SubEnum", 311 "Package": "sub", 312 "_type": "enumdecl" 313 }, 314 { 315 "Name": "J技能", 316 "Package": "sample", 317 "Tags": { 318 "config": "技能" 319 }, 320 "_type": "classdecl" 321 }, 322 { 323 "Name": "J技能", 324 "Package": "sample", 325 "Tags": { 326 "config": "技能" 327 }, 328 "_type": "classdecl" 329 }, 330 { 331 "Name": "J技能攻击", 332 "Package": "sample", 333 "Parent": "J技能", 334 "Tags": { 335 "config": "技能" 336 }, 337 "_type": "classdecl" 338 }, 339 { 340 "Name": "J技能", 341 "Package": "sample", 342 "Tags": { 343 "config": "技能" 344 }, 345 "_type": "classdecl" 346 }, 347 { 348 "Name": "J技能移动", 349 "Package": "sample", 350 "Parent": "J技能", 351 "Tags": { 352 "config": "技能" 353 }, 354 "_type": "classdecl" 355 }, 356 { 357 "Name": "M1Args", 358 "Package": "sample", 359 "Tags": {}, 360 "_type": "classdecl" 361 }, 362 { 363 "Name": "M1Resp", 364 "Package": "sample", 365 "Tags": {}, 366 "_type": "classdecl" 367 }, 368 { 369 "Fields": [ 370 { 371 "Name": "Method1", 372 "Tags": {}, 373 "Type": { 374 "Args": [ 375 { 376 "Name": "args", 377 "Type": { 378 "Kind": 12, 379 "_type": "basic" 380 }, 381 "Value": "empty", 382 "_type": "field" 383 }, 384 { 385 "Name": "resp", 386 "Type": { 387 "Decl": "sample.M1Resp", 388 "_type": "class" 389 }, 390 "_type": "field" 391 } 392 ], 393 "Results": [ 394 { 395 "Name": "err", 396 "Type": { 397 "Kind": 12, 398 "_type": "basic" 399 }, 400 "Value": "error", 401 "_type": "field" 402 } 403 ], 404 "_type": "func" 405 } 406 }, 407 { 408 "Name": "Method2", 409 "Tags": {}, 410 "Type": { 411 "Args": [ 412 { 413 "Name": "args", 414 "Type": { 415 "Decl": "sample.M1Args", 416 "_type": "class" 417 }, 418 "_type": "field" 419 }, 420 { 421 "Name": "resp", 422 "Type": { 423 "Decl": "sample.M1Resp", 424 "_type": "class" 425 }, 426 "_type": "field" 427 } 428 ], 429 "Results": [ 430 { 431 "Name": "err", 432 "Type": { 433 "Kind": 12, 434 "_type": "basic" 435 }, 436 "Value": "error", 437 "_type": "field" 438 } 439 ], 440 "_type": "func" 441 } 442 } 443 ], 444 "Name": "RouteGroup", 445 "Package": "sample", 446 "_type": "interface" 447 }, 448 { 449 "Fields": [ 450 { 451 "Name": "Bool", 452 "Tags": {}, 453 "Type": { 454 "Kind": 1, 455 "_type": "basic" 456 } 457 } 458 ], 459 "Name": "Sub", 460 "Package": "sub", 461 "Parent": "Sub1", 462 "Tags": {}, 463 "_type": "classdecl" 464 }, 465 { 466 "Fields": [ 467 { 468 "Name": "Map", 469 "Tags": {}, 470 "Type": { 471 "Key": { 472 "Kind": 12, 473 "_type": "basic" 474 }, 475 "Value": { 476 "Kind": 12, 477 "_type": "basic" 478 }, 479 "_type": "map" 480 } 481 }, 482 { 483 "Name": "Array", 484 "Tags": {}, 485 "Type": { 486 "Elem": { 487 "Kind": 12, 488 "_type": "basic" 489 }, 490 "_type": "array" 491 } 492 } 493 ], 494 "Name": "Sub1", 495 "Package": "sub", 496 "Tags": {}, 497 "_type": "classdecl" 498 } 499 ] 500 }