{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The deed. Establishes that a world exists, who created it, and what its basic properties are. Ptah conceives the world in his heart — this record is that conception made permanent.",
      "key": "tid",
      "record": {
        "properties": {
          "canonicalStatus": {
            "description": "Whether this world is open for contribution, controlled by the originator, or governed by community consensus.",
            "knownValues": [
              "world.ptah.temp.defs#canonicalStatusOfficial",
              "world.ptah.temp.defs#canonicalStatusCommunity",
              "world.ptah.temp.defs#canonicalStatusApocryphal"
            ],
            "type": "string"
          },
          "createdAt": {
            "description": "Timestamp of world creation.",
            "format": "datetime",
            "type": "string"
          },
          "creatorDID": {
            "description": "The permanent identity of whoever seeded this world. This never changes.",
            "format": "did",
            "type": "string"
          },
          "description": {
            "description": "What kind of world this is, in plain language.",
            "maxGraphemes": 1024,
            "maxLength": 10240,
            "type": "string"
          },
          "governanceMode": {
            "description": "The constitutional posture of the world. Signals how contributions and canon are governed before anyone contributes.",
            "knownValues": [
              "sandbox",
              "governed",
              "constitutional"
            ],
            "type": "string"
          },
          "name": {
            "description": "What the world is called.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "renderingHints": {
            "description": "Loose metadata telling visual rendering layers what kind of world this is — tone, era, genre, aesthetic.",
            "ref": "#renderingHints",
            "type": "ref"
          },
          "sourceReference": {
            "description": "If sourceType is publicDomain, the specific source material this world is derived from.",
            "maxGraphemes": 1024,
            "maxLength": 10240,
            "type": "string"
          },
          "sourceType": {
            "description": "The intellectual property origin of this world.",
            "knownValues": [
              "world.ptah.temp.defs#sourceTypeOriginalIP",
              "world.ptah.temp.defs#sourceTypePublicDomain",
              "world.ptah.temp.defs#sourceTypeCollaborativeCommons"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "creatorDID",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "renderingHints": {
      "description": "Visual and tonal metadata for rendering layers. The world has to feel like something before anything has happened in it yet.",
      "properties": {
        "aesthetic": {
          "description": "Visual texture, materials, atmosphere.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "era": {
          "description": "The temporal setting or period.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "genre": {
          "description": "The narrative genre.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "tone": {
          "description": "The emotional register of the world.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "description": "A world record in The Ptah Protocol. The foundational record — everything else references it. A world must exist before characters, events, or lore can exist inside it.",
  "id": "world.ptah.temp.world",
  "lexicon": 1
}
