us.polhem.skywrite.collection

A record containing user settings for how to manage a collection in Skywrite.

Details · record, key nsid
Kindrecord
Record keynsid
Authorityskywrite.polhem.us
Commit rev3n335576l2m2b
Indexed

Showing version bafyreibicftpfcl3ytu5aq3juda55hrbq3utirfbs45opy7lqb7cooy5be. Show the latest

cid bafyreibicftpfcl3ytu5aq3juda55hrbq3utirfbs45opy7lqb7cooy5be

Checks

Valid
  • unlimited-string defs.main.record.properties.editorContentFields.itemsNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.editorMetaFields.itemsNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.tableColumnFields.itemsNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A record containing user settings for how to manage a collection in Skywrite.",
      "key": "nsid",
      "record": {
        "properties": {
          "backlinks": {
            "description": "Records from other collections that link to this collection's records, shown in the record editor and table views.",
            "items": {
              "ref": "us.polhem.skywrite.defs#backlink",
              "type": "ref"
            },
            "type": "array"
          },
          "creatable": {
            "description": "New records can be made in the collection. Absent: true.",
            "type": "boolean"
          },
          "customColumns": {
            "description": "Custom column definitions for the collection's table view.",
            "items": {
              "ref": "us.polhem.skywrite.defs#customColumn",
              "type": "ref"
            },
            "type": "array"
          },
          "deletable": {
            "description": "Its records can be deleted. Absent: true.",
            "type": "boolean"
          },
          "editable": {
            "description": "Its records can be changed. Absent: true. Bluesky’s app view ignores edits, so Skywrite’s defaults make most of its collections read-only.",
            "type": "boolean"
          },
          "editorContentFields": {
            "description": "Ordered list of field names for the main editor area.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "editorMetaFields": {
            "description": "Ordered list of field names for the secondary editor area.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "pluralLabel": {
            "description": "Plural noun describing multiple of the collection's records.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          },
          "previewFields": {
            "description": "Preview field definitions for records in this collection.",
            "ref": "us.polhem.skywrite.defs#previewFields",
            "type": "ref"
          },
          "quickCompose": {
            "description": "What a Quick Compose box on the dashboard asks for when writing a new record in the collection. Absent: worked out from the collection's lexicon.",
            "ref": "us.polhem.skywrite.defs#quickCompose",
            "type": "ref"
          },
          "references": {
            "description": "The collection each of the record's link fields points into, so the editor offers that collection's records to pick.",
            "items": {
              "ref": "us.polhem.skywrite.defs#reference",
              "type": "ref"
            },
            "type": "array"
          },
          "richTextFields": {
            "description": "Text written in one of the record's fields with a rich text editor, which fills in others from it.",
            "items": {
              "ref": "us.polhem.skywrite.defs#richText",
              "type": "ref"
            },
            "type": "array"
          },
          "singularLabel": {
            "description": "Singular noun describing one of the collection's records.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "minLength": 1,
            "type": "string"
          },
          "tableColumnFields": {
            "description": "Ordered list of table columns (field names or custom column names).",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "singularLabel"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "us.polhem.skywrite.collection",
  "lexicon": 1
}