pokemonCard.json 전체 코드

이 글은 2024-08-09에 최종 업데이트 되었습니다.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.4",
    "body": [
        {
            "type": "Container",
            "items": [
                {
                    "type": "TextBlock",
                    "text": "${name} (${num})",
                    "weight": "Bolder",
                    "size": "ExtraLarge",
                    "spacing": "None",
                    "wrap": true
                }
            ],
            "style": "accent"
        },
        {
            "type": "ColumnSet",
            "columns": [
                {
                    "type": "Column",
                    "width": 1,
                    "items": [
                        {
                            "type": "Image",
                            "url": "${img}"
                        }
                    ]
                },
                {
                    "type": "Column",
                    "width": 1,
                    "items": [
                        {
                            "type": "TextBlock",
                            "text": "타 입 : ${type}",
                            "wrap": true
                        },
                        {
                            "type": "TextBlock",
                            "text": "신 장 : ${height}",
                            "wrap": true
                        },
                        {
                            "type": "TextBlock",
                            "text": "체 중 : ${weight}",
                            "wrap": true
                        },
                        {
                            "type": "TextBlock",
                            "text": "약 점 : ${weaknesses}",
                            "wrap": true
                        },
                        {
                            "type": "TextBlock",
                            "text": "캔 디 : ${candy}",
                            "wrap": true
                        }
                    ]
                }
            ]
        },
        {
            "type": "Container",
            "items": [
                {
                    "type": "TextBlock",
                    "text": "진화 순서",
                    "wrap": true,
                    "size": "Medium",
                    "weight": "Bolder",
                    "isSubtle": true,
                    "horizontalAlignment": "Center"
                }
            ],
            "style": "accent",
            "spacing": "None"
        },
        {
            "type": "ColumnSet",
            "columns": [
                {
                    "type": "Column",
                    "width": "stretch",
                    "items": [
                        {
                            "type": "Image",
                            "url": "${evolimg1}",
                            "horizontalAlignment": "Center",
                            "spacing": "None",
                            "$when": "${evolimg1 != \"\"}"
                        },
                        {
                            "type": "TextBlock",
                            "text": "${evolname1}",
                            "wrap": true,
                            "horizontalAlignment": "Center",
                            "spacing": "None",
                            "$when": "${evolname1 != \"\"}"
                        }
                    ]
                },
                {
                    "type": "Column",
                    "width": "stretch",
                    "items": [
                        {
                            "type": "Image",
                            "url": "${evolimg2}",
                            "horizontalAlignment": "Center",
                            "spacing": "None",
                            "$when": "${evolimg2 != \"\"}"
                        },
                        {
                            "type": "TextBlock",
                            "text": "${evolname2}",
                            "wrap": true,
                            "horizontalAlignment": "Center",
                            "spacing": "None",
                            "$when": "${evolname2 != \"\"}"
                        }
                    ],
                    "spacing": "None"
                },
                {
                    "type": "Column",
                    "width": "stretch",
                    "items": [
                        {
                            "type": "Image",
                            "url": "${evolimg3}",
                            "horizontalAlignment": "Center",
                            "spacing": "None",
                            "$when": "${evolimg3 != \"\"}"
                        },
                        {
                            "type": "TextBlock",
                            "text": "${evolname3}",
                            "wrap": true,
                            "horizontalAlignment": "Center",
                            "spacing": "None",
                            "$when": "${evolname3 != \"\"}"
                        }
                    ]
                },
                {
                    "type": "Column",
                    "width": "stretch",
                    "items": [
                        {
                            "type": "Image",
                            "url": "${evolimg4}",
                            "horizontalAlignment": "Center",
                            "spacing": "None",
                            "$when": "${evolimg4 != \"\"}"
                        },
                        {
                            "type": "TextBlock",
                            "text": "${evolname4}",
                            "wrap": true,
                            "horizontalAlignment": "Center",
                            "spacing": "None",
                            "$when": "${evolname4 != \"\"}"
                        }
                    ]
                }
            ]
        }
    ]
  }