{
  "name": "Astral Forge RPG Example",
  "schemaGuid": "3b50ca8a-18d1-4e62-a48e-7d3f0d5880b1",
  "schemaVersion": 1,
  "collections": [
    {
      "path": "locations",
      "label": "Locations",
      "itemLabelPath": "name",
      "itemGuidPath": "locationGuid",
      "categories": [
        {
          "id": "identity",
          "label": "Identity",
          "icon": "◆",
          "description": "Core location identity."
        },
        {
          "id": "world",
          "label": "World",
          "icon": "⌂",
          "description": "Region and danger information."
        }
      ],
      "fields": [
        {
          "path": "locationGuid",
          "label": "Location GUID",
          "type": "string",
          "required": true,
          "category": "identity"
        },
        {
          "path": "name",
          "label": "Name",
          "type": "string",
          "required": true,
          "category": "identity"
        },
        {
          "path": "region",
          "label": "Region",
          "type": "string",
          "enum": [
            "Heartlands",
            "Ash Coast",
            "Frostmarch"
          ],
          "category": "world",
          "default": "Heartlands"
        },
        {
          "path": "recommendedLevel",
          "label": "Recommended Level",
          "type": "number",
          "min": 1,
          "max": 100,
          "category": "world",
          "default": 1
        },
        {
          "path": "description",
          "label": "Description",
          "type": "text",
          "category": "world",
          "default": ""
        }
      ],
      "identity": {
        "type": "uuid-v7",
        "generate": "on-create",
        "editable": false
      }
    },
    {
      "path": "items",
      "label": "Items",
      "itemLabelPath": "name",
      "itemGuidPath": "itemGuid",
      "categories": [
        {
          "id": "identity",
          "label": "Identity",
          "icon": "◆"
        },
        {
          "id": "stats",
          "label": "Stats",
          "icon": "✦"
        },
        {
          "id": "world",
          "label": "World",
          "icon": "⌂"
        }
      ],
      "fields": [
        {
          "path": "itemGuid",
          "label": "Item GUID",
          "type": "string",
          "required": true,
          "category": "identity"
        },
        {
          "path": "name",
          "label": "Name",
          "type": "string",
          "required": true,
          "category": "identity"
        },
        {
          "path": "type",
          "label": "Type",
          "type": "string",
          "enum": [
            "Weapon",
            "Armor",
            "Consumable",
            "Quest Item"
          ],
          "category": "identity",
          "default": "Weapon"
        },
        {
          "path": "rarity",
          "label": "Rarity",
          "type": "string",
          "enum": [
            "Common",
            "Uncommon",
            "Rare",
            "Epic",
            "Legendary"
          ],
          "category": "identity",
          "default": "Common"
        },
        {
          "path": "value",
          "label": "Gold Value",
          "type": "number",
          "min": 0,
          "category": "stats",
          "default": 0
        },
        {
          "path": "power",
          "label": "Power",
          "type": "number",
          "min": 0,
          "category": "stats",
          "default": 0
        },
        {
          "path": "foundAt",
          "label": "Found At",
          "type": "reference",
          "category": "world",
          "reference": {
            "collection": "locations",
            "valuePath": "locationGuid",
            "labelPath": "name"
          }
        },
        {
          "path": "description",
          "label": "Description",
          "type": "text",
          "category": "world",
          "default": ""
        }
      ],
      "identity": {
        "type": "uuid-v7",
        "generate": "on-create",
        "editable": false
      }
    },
    {
      "path": "classes",
      "label": "Classes",
      "itemLabelPath": "name",
      "itemGuidPath": "classGuid",
      "categories": [
        {
          "id": "identity",
          "label": "Identity",
          "icon": "◆"
        },
        {
          "id": "progression",
          "label": "Progression",
          "icon": "✧"
        }
      ],
      "fields": [
        {
          "path": "classGuid",
          "label": "Class GUID",
          "type": "string",
          "required": true,
          "category": "identity"
        },
        {
          "path": "name",
          "label": "Name",
          "type": "string",
          "required": true,
          "category": "identity"
        },
        {
          "path": "role",
          "label": "Role",
          "type": "string",
          "enum": [
            "Tank",
            "Damage",
            "Support"
          ],
          "category": "identity",
          "default": "Damage"
        },
        {
          "path": "startingItem",
          "label": "Starting Item",
          "type": "reference",
          "category": "progression",
          "reference": {
            "collection": "items",
            "valuePath": "itemGuid",
            "labelPath": "name"
          }
        },
        {
          "path": "baseHealth",
          "label": "Base Health",
          "type": "number",
          "min": 1,
          "category": "progression",
          "default": 100
        },
        {
          "path": "baseMana",
          "label": "Base Mana",
          "type": "number",
          "min": 0,
          "category": "progression",
          "default": 100
        },
        {
          "path": "description",
          "label": "Description",
          "type": "text",
          "category": "progression",
          "default": ""
        }
      ],
      "identity": {
        "type": "uuid-v7",
        "generate": "on-create",
        "editable": false
      }
    },
    {
      "path": "enemies",
      "label": "Enemies",
      "itemLabelPath": "name",
      "itemGuidPath": "enemyGuid",
      "categories": [
        {
          "id": "identity",
          "label": "Identity",
          "icon": "◆"
        },
        {
          "id": "combat",
          "label": "Combat",
          "icon": "⚔"
        },
        {
          "id": "world",
          "label": "World",
          "icon": "⌂"
        }
      ],
      "fields": [
        {
          "path": "enemyGuid",
          "label": "Enemy GUID",
          "type": "string",
          "required": true,
          "category": "identity"
        },
        {
          "path": "name",
          "label": "Name",
          "type": "string",
          "required": true,
          "category": "identity"
        },
        {
          "path": "family",
          "label": "Family",
          "type": "string",
          "enum": [
            "Beast",
            "Humanoid",
            "Undead",
            "Elemental"
          ],
          "category": "identity",
          "default": "Beast"
        },
        {
          "path": "level",
          "label": "Level",
          "type": "number",
          "min": 1,
          "max": 100,
          "category": "combat",
          "default": 1
        },
        {
          "path": "health",
          "label": "Health",
          "type": "number",
          "min": 1,
          "category": "combat",
          "default": 100
        },
        {
          "path": "damage",
          "label": "Damage",
          "type": "number",
          "min": 0,
          "category": "combat",
          "default": 10
        },
        {
          "path": "location",
          "label": "Location",
          "type": "reference",
          "category": "world",
          "reference": {
            "collection": "locations",
            "valuePath": "locationGuid",
            "labelPath": "name"
          }
        },
        {
          "path": "dropItem",
          "label": "Notable Drop",
          "type": "reference",
          "category": "world",
          "reference": {
            "collection": "items",
            "valuePath": "itemGuid",
            "labelPath": "name"
          }
        }
      ],
      "identity": {
        "type": "uuid-v7",
        "generate": "on-create",
        "editable": false
      }
    },
    {
      "path": "quests",
      "label": "Quests",
      "itemLabelPath": "name",
      "itemGuidPath": "questGuid",
      "categories": [
        {
          "id": "identity",
          "label": "Identity",
          "icon": "◆"
        },
        {
          "id": "requirements",
          "label": "Requirements",
          "icon": "☑"
        },
        {
          "id": "rewards",
          "label": "Rewards",
          "icon": "★"
        }
      ],
      "fields": [
        {
          "path": "questGuid",
          "label": "Quest GUID",
          "type": "string",
          "required": true,
          "category": "identity"
        },
        {
          "path": "name",
          "label": "Name",
          "type": "string",
          "required": true,
          "category": "identity"
        },
        {
          "path": "questType",
          "label": "Quest Type",
          "type": "string",
          "enum": [
            "Main",
            "Side",
            "Bounty"
          ],
          "category": "identity",
          "default": "Side"
        },
        {
          "path": "location",
          "label": "Location",
          "type": "reference",
          "category": "requirements",
          "reference": {
            "collection": "locations",
            "valuePath": "locationGuid",
            "labelPath": "name"
          }
        },
        {
          "path": "targetEnemy",
          "label": "Target Enemy",
          "type": "reference",
          "category": "requirements",
          "reference": {
            "collection": "enemies",
            "valuePath": "enemyGuid",
            "labelPath": "name"
          }
        },
        {
          "path": "requiredLevel",
          "label": "Required Level",
          "type": "number",
          "min": 1,
          "max": 100,
          "category": "requirements",
          "default": 1
        },
        {
          "path": "rewardItem",
          "label": "Reward Item",
          "type": "reference",
          "category": "rewards",
          "reference": {
            "collection": "items",
            "valuePath": "itemGuid",
            "labelPath": "name"
          }
        },
        {
          "path": "rewardGold",
          "label": "Reward Gold",
          "type": "number",
          "min": 0,
          "category": "rewards",
          "default": 0
        },
        {
          "path": "description",
          "label": "Description",
          "type": "text",
          "category": "requirements",
          "default": ""
        }
      ],
      "identity": {
        "type": "uuid-v7",
        "generate": "on-create",
        "editable": false
      }
    }
  ]
}
