ai.newnal.trustsquare.defs

bezalel-newnal.bsky.social

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

Lexicon Garden

@