ai.newnal.trustsquare.defs

bezalel-newnal.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "actorView": {
      "properties": {
        "affiliation": {
          "type": "string"
        },
        "avatar": {
          "format": "uri",
          "type": "string"
        },
        "channelUrl": {
          "format": "uri",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "trustLevel": {
          "type": "integer"
        },
        "verificationStatus": {
          "knownValues": [
            "active",
            "expired",
            "revoked",
            "none"
          ],
          "type": "string"
        }
      },
      "required": [
        "did",
        "handle",
        "displayName",
        "trustLevel",
        "verificationStatus"
      ],
      "type": "object"
    },
    "disclosure": {
      "description": "What the account holder chose to reveal. Signed by the verifier inside the attestation.",
      "properties": {
        "affiliation": {
          "description": "Level 3 only. Self-declared.",
          "maxGraphemes": 100,
          "maxLength": 1000,
          "type": "string"
        },
        "channelUrl": {
          "description": "Level 3 only. Self-declared.",
          "format": "uri",
          "type": "string"
        },
        "displayName": {
          "description": "Masked name at level 1, verified real name at level 2 and 3.",
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "level": {
          "maximum": 3,
          "minimum": 1,
          "type": "integer"
        },
        "title": {
          "description": "Level 3 only. Self-declared.",
          "maxGraphemes": 100,
          "maxLength": 1000,
          "type": "string"
        }
      },
      "required": [
        "level",
        "displayName"
      ],
      "type": "object"
    },
    "replyRef": {
      "properties": {
        "parent": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "root": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "root",
        "parent"
      ],
      "type": "object"
    },
    "squareSettings": {
      "properties": {
        "allowChat": {
          "default": true,
          "type": "boolean"
        },
        "allowComments": {
          "default": true,
          "type": "boolean"
        },
        "minTrustLevel": {
          "default": 1,
          "maximum": 3,
          "minimum": 1,
          "type": "integer"
        },
        "slowModeSeconds": {
          "default": 3,
          "maximum": 600,
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "syncState": {
      "description": "AppView knowledge about a record: written to PDS but not yet seen on the network, or confirmed from the firehose.",
      "knownValues": [
        "optimistic",
        "confirmed"
      ],
      "type": "string"
    },
    "youtubeVideo": {
      "description": "A YouTube video or live stream that a Square is attached to.",
      "properties": {
        "channelId": {
          "maxLength": 64,
          "type": "string"
        },
        "url": {
          "description": "Canonical https://www.youtube.com/watch?v=... URL.",
          "format": "uri",
          "type": "string"
        },
        "videoId": {
          "description": "YouTube video id.",
          "maxLength": 16,
          "minLength": 11,
          "type": "string"
        }
      },
      "required": [
        "videoId",
        "url"
      ],
      "type": "object"
    }
  },
  "id": "ai.newnal.trustsquare.defs",
  "lexicon": 1
}

Validate Record

Validate a record against ai.newnal.trustsquare.defs

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:75qhtany5zmo7d3i2ni5d7nf
CID
bafyreieywivxj54eq2uob2svzo3lx52ro4hbj5exansilsa6ao6zzwjgva
Indexed At
2026-09-13 05:13 UTC
AT-URI
at://did:plc:75qhtany5zmo7d3i2ni5d7nf/com.atproto.lexicon.schema/ai.newnal.trustsquare.defs

Version History (4 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@