{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "maxLength": 120,
            "type": "string"
          },
          "ownerDid": {
            "format": "did",
            "type": "string"
          },
          "schemaVersion": {
            "minimum": 1,
            "type": "integer"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "workspaceId": {
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "schemaVersion",
          "workspaceId",
          "ownerDid",
          "name",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "PROPOSED, not published. A workspace's own metadata, kept as a private revisioned record in the account app's record store. Never written to a public repository.",
  "id": "com.ohmmmm.workspace.metadata",
  "lexicon": 1
}
