{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Encrypted folder organization record in a 2password ATProto Space.",
      "key": "tid",
      "record": {
        "properties": {
          "ciphertext": {
            "description": "AES-256-GCM encrypted folder name/data (base64)",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "iv": {
            "description": "12-byte initialization vector (base64)",
            "type": "string"
          },
          "tag": {
            "description": "16-byte AES-GCM authentication tag (base64)",
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "iv",
          "ciphertext",
          "tag",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "am.noz.twopassword.folder",
  "lexicon": 1
}
