gitee.com/zhongguo168a/gocodes@v0.0.0-20230609140523-e1828349603f/datax/generate/schema_export/one_detail.json (about)

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