club.syntax.content.files

syntax.club

{
  "id": "club.syntax.content.files",
  "defs": {
    "file": {
      "type": "object",
      "required": [
        "id",
        "language",
        "content"
      ],
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 64,
          "minLength": 1,
          "description": "Stable identifier unique within the snap (e.g. TID, UUID)."
        },
        "name": {
          "type": "string",
          "description": "Optional file name including extension.",
          "maxGraphemes": 140
        },
        "content": {
          "type": "string",
          "maxLength": 5000,
          "minLength": 1,
          "description": "Raw file content."
        },
        "variant": {
          "type": "string",
          "maxLength": 32,
          "description": "Optional language variant (e.g. jsx, tsx, vue)."
        },
        "language": {
          "type": "string",
          "maxLength": 32,
          "minLength": 1,
          "description": "Canonical programming language identifier."
        },
        "description": {
          "type": "string",
          "description": "Optional description or context.",
          "maxGraphemes": 500
        }
      }
    },
    "main": {
      "type": "object",
      "required": [
        "files",
        "primaryId"
      ],
      "properties": {
        "files": {
          "type": "array",
          "items": {
            "ref": "#file",
            "type": "ref"
          },
          "maxLength": 4,
          "minLength": 1,
          "description": "Ordered list of files defining display and traversal order."
        },
        "primaryId": {
          "type": "string",
          "maxLength": 64,
          "description": "Identifier of the primary file. Must match the `id` of one of the items."
        }
      },
      "description": "A collection of embedded files forming a multi-file code snap."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against club.syntax.content.files

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:vwcdvcrlwwvfs4bfmevarcz5
CID
bafyreiemsdtt3ift3xpp3po3jzvm7ztabricsf7ugduynu5kiwhflapwhi
Indexed At
2026-07-26 20:15 UTC
AT-URI
at://did:plc:vwcdvcrlwwvfs4bfmevarcz5/com.atproto.lexicon.schema/club.syntax.content.files

Lexicon Garden

@