{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "RSE admin configuration - abilities, characters, systems and collections",
      "key": "literal:self",
      "record": {
        "properties": {
          "ability": {
            "description": "Ability/attribute definitions",
            "items": {
              "properties": {
                "color": {
                  "description": "Color code (e.g., #ffd700)",
                  "type": "string"
                },
                "id": {
                  "description": "Ability ID",
                  "type": "integer"
                },
                "kind": {
                  "description": "Attribute type (consciousness, matter)",
                  "type": "string"
                },
                "level": {
                  "description": "Hierarchy level (0=fundamental)",
                  "type": "integer"
                },
                "multiplier": {
                  "description": "Damage multiplier percent (e.g., 150 = 1.5x)",
                  "type": "integer"
                },
                "name": {
                  "description": "Ability name (ai, quark, neutron, atom, sun)",
                  "type": "string"
                },
                "phantom": {
                  "description": "Whether this ability is phantom/lost",
                  "type": "boolean"
                },
                "relation": {
                  "description": "Advantage IDs",
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                },
                "weakness": {
                  "description": "Weakness IDs",
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                }
              },
              "required": [
                "id",
                "name",
                "kind"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "character": {
            "description": "Character definitions",
            "items": {
              "properties": {
                "ability": {
                  "description": "Ability ID reference",
                  "type": "integer"
                },
                "id": {
                  "description": "Character ID",
                  "type": "integer"
                },
                "mode": {
                  "description": "Character mode",
                  "type": "integer"
                },
                "name": {
                  "description": "Character name",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "ability",
                "mode"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "collection": {
            "description": "ATProto collection definitions",
            "items": {
              "properties": {
                "id": {
                  "description": "Collection ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Collection short name",
                  "type": "string"
                },
                "nsid": {
                  "description": "Namespaced identifier (e.g., ai.syui.card)",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "nsid",
                "name"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "item": {
            "description": "Item definitions",
            "items": {
              "properties": {
                "id": {
                  "description": "Item ID",
                  "type": "integer"
                },
                "name": {
                  "description": "Item name",
                  "type": "string"
                },
                "text": {
                  "description": "Item description (localized)",
                  "properties": {
                    "en": {
                      "description": "English text",
                      "type": "string"
                    },
                    "ja": {
                      "description": "Japanese text",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              },
              "required": [
                "id",
                "name",
                "text"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "system": {
            "description": "System definitions",
            "items": {
              "properties": {
                "domain": {
                  "description": "System domain (ability, unique, account, planet, origin)",
                  "type": "string"
                },
                "id": {
                  "description": "System ID",
                  "type": "integer"
                },
                "name": {
                  "description": "System name",
                  "type": "string"
                }
              },
              "required": [
                "id",
                "name",
                "domain"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "ability",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.syui.rse.admin",
  "lexicon": 1
}
