{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An immutable Cartesium 2D or 3D document publication with a portable document snapshot, optional 3D presentation, and social preview.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "discoverability": {
            "description": "Whether discovery surfaces may list this otherwise public publication. Old records without this field are listed.",
            "knownValues": [
              "listed",
              "unlisted"
            ],
            "type": "string"
          },
          "kind": {
            "knownValues": [
              "2d",
              "3d"
            ],
            "type": "string"
          },
          "preview": {
            "accept": [
              "image/png"
            ],
            "maxSize": 5000000,
            "type": "blob"
          },
          "snapshot": {
            "accept": [
              "application/json"
            ],
            "maxSize": 500000,
            "type": "blob"
          },
          "title": {
            "maxGraphemes": 500,
            "maxLength": 2000,
            "type": "string"
          }
        },
        "required": [
          "kind",
          "createdAt",
          "snapshot",
          "preview"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.cartesium.dev.calc.publicationV2",
  "lexicon": 1
}
