actor.rpg.generator

rpg.actor

Schema Diff

+0 -0

From

CID
bafyreibdoynjsn4...
Indexed At
2026-10-02 21:40 UTC
View this version

To

CID
bafyreibdoynjsn4...
Indexed At
2026-10-02 21:40 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "Stores the individual recolored layers and configuration used to build a sprite via the generator. Enables recomposition by third-party tools (e.g. adding items/overlays) without the full generator pipeline. One record per user (rkey: self).",
6 6
      "key": "literal:self",
7 7
      "record": {
8 8
        "properties": {
9 9
          "bodyType": {
10 10
            "description": "Body type used (e.g. 'male', 'female').",
11 11
            "maxLength": 20,
12 12
            "type": "string"
13 13
          },
14 14
          "createdAt": {
15 15
            "description": "When this record was first created.",
16 16
            "format": "datetime",
17 17
            "type": "string"
18 18
          },
19 19
          "eyes": {
20 20
            "description": "Eye color configuration.",
21 21
            "properties": {
22 22
              "hex": {
23 23
                "description": "Custom eye hex color.",
24 24
                "maxLength": 7,
25 25
                "type": "string"
26 26
              },
27 27
              "mode": {
28 28
                "description": "'gradient' or 'custom'.",
29 29
                "maxLength": 10,
30 30
                "type": "string"
31 31
              },
32 32
              "tone": {
33 33
                "description": "Gradient eye tone index.",
34 34
                "maximum": 100,
35 35
                "minimum": 0,
36 36
                "type": "integer"
37 37
              }
38 38
            },
39 39
            "type": "object"
40 40
          },
41 41
          "items": {
42 42
            "description": "Freeform item identifiers applied on top of the sprite (e.g. 'popcorn').",
43 43
            "items": {
44 44
              "maxLength": 50,
45 45
              "type": "string"
46 46
            },
47 47
            "maxLength": 20,
48 48
            "type": "array"
49 49
          },
50 50
          "layers": {
51 51
            "description": "Ordered array of recolored layer images, back-to-front. Body is always index 0.",
52 52
            "items": {
53 53
              "properties": {
54 54
                "assetName": {
55 55
                  "description": "Generator asset filename (e.g. '001_basic_short').",
56 56
                  "maxLength": 100,
57 57
                  "type": "string"
58 58
                },
59 59
                "blob": {
60 60
                  "accept": [
61 61
                    "image/png"
62 62
                  ],
63 63
                  "description": "The recolored layer PNG.",
64 64
                  "maxSize": 1000000,
65 65
                  "type": "blob"
66 66
                },
67 67
                "colors": {
68 68
                  "description": "Color selections applied to this layer.",
69 69
                  "properties": {
70 70
                    "main": {
71 71
                      "maxLength": 7,
72 72
                      "type": "string"
73 73
                    },
74 74
                    "sub1": {
75 75
                      "maxLength": 7,
76 76
                      "type": "string"
77 77
                    },
78 78
                    "sub2": {
79 79
                      "maxLength": 7,
80 80
                      "type": "string"
81 81
                    },
82 82
                    "sub3": {
83 83
                      "maxLength": 7,
84 84
                      "type": "string"
85 85
                    }
86 86
                  },
87 87
                  "type": "object"
88 88
                },
89 89
                "id": {
90 90
                  "description": "Layer category identifier (e.g. 'body', 'tops', 'hair', 'bangs').",
91 91
                  "maxLength": 30,
92 92
                  "type": "string"
93 93
                },
94 94
                "title": {
95 95
                  "description": "Human-readable name derived from the asset filename.",
96 96
                  "maxLength": 100,
97 97
                  "type": "string"
98 98
                }
99 99
              },
100 100
              "required": [
101 101
                "id",
102 102
                "blob"
103 103
              ],
104 104
              "type": "object"
105 105
            },
106 106
            "maxLength": 20,
107 107
            "type": "array"
108 108
          },
109 109
          "skin": {
110 110
            "description": "Skin configuration.",
111 111
            "properties": {
112 112
              "hex": {
113 113
                "description": "Custom skin hex color (if mode is custom).",
114 114
                "maxLength": 7,
115 115
                "type": "string"
116 116
              },
117 117
              "mode": {
118 118
                "description": "'gradient' or 'custom'.",
119 119
                "maxLength": 10,
120 120
                "type": "string"
121 121
              },
122 122
              "tone": {
123 123
                "description": "Gradient skin tone index.",
124 124
                "maximum": 100,
125 125
                "minimum": 0,
126 126
                "type": "integer"
127 127
              }
128 128
            },
129 129
            "type": "object"
130 130
          },
131 131
          "updatedAt": {
132 132
            "description": "When this record was last modified.",
133 133
            "format": "datetime",
134 134
            "type": "string"
135 135
          },
136 136
          "version": {
137 137
            "description": "Generator version that produced this record.",
138 138
            "maximum": 100,
139 139
            "minimum": 1,
140 140
            "type": "integer"
141 141
          }
142 142
        },
143 143
        "required": [
144 144
          "version",
145 145
          "bodyType",
146 146
          "layers",
147 147
          "createdAt"
148 148
        ],
149 149
        "type": "object"
150 150
      },
151 151
      "type": "record"
152 152
    }
153 153
  },
154 154
  "description": "Generator metadata and decomposed layers for a sprite built with the rpg.actor sprite generator.",
155 155
  "id": "actor.rpg.generator",
156 156
  "lexicon": 1
157 157
}

Compare Other Versions

Lexicon Garden

@