io.sound.sequence

stephen.band

Schema Diff

+9 -13

From

CID
bafyreiag4r736k5...
Indexed At
2026-02-13 13:56 UTC
View this version

To

CID
bafyreih5eoxm6cy...
Indexed At
2026-02-13 20:16 UTC
View this version
1 1
{
2 2
  "id": "io.sound.sequence",
3 3
  "defs": {
4 4
    "main": {
5 5
      "key": "any",
6 6
      "type": "record",
7 7
      "record": {
8 8
        "type": "object",
9 9
        "required": [
10 10
          "events"
11 11
        ],
12 12
        "properties": {
13 13
          "id": {
14 -
            "type": "string",
15 -
            "maxLength": 36,
14 +
            "type": "integer",
15 +
            "maximum": 65535,
16 16
            "description": "Identifies this sequence for playback by a \"sequence\" event."
17 17
          },
18 18
          "url": {
19 19
            "type": "string",
20 20
            "format": "uri",
21 21
            "description": "Canonical location of this sequence. May be an at:// URI or an https:// URL to a JSON endpoint."
22 22
          },
23 23
          "name": {
24 24
            "type": "string",
25 25
            "maxLength": 1280,
26 26
            "description": "Name of the sequence",
27 27
            "maxGraphemes": 640
28 28
          },
29 29
          "tags": {
30 30
            "type": "array",
31 31
            "items": {
32 32
              "type": "string",
33 33
              "maxLength": 1280,
34 34
              "maxGraphemes": 128
35 35
            },
36 36
            "description": "Array of strings used to tag the sequence."
37 37
          },
38 38
          "events": {
39 -
            "type": "array",
40 -
            "items": {
41 -
              "type": "array",
42 -
              "items": {
43 -
                "type": "unknown"
44 -
              },
45 -
              "maxLength": 128,
46 -
              "minLength": 2,
47 -
              "description": "An event of the form `[beat, type, ...params]` where `beat` is a 64-bit float and `type` is a string. \n\nBeat values are arbitrary, and depend on the rate of playback of a sequence. A sequence playing back at a rate of 1 runs at 1 beat per second, and is following absolute time. \n\nKnown specified types are \"chord\", \"clef\", \"key\", \"meter\", \"note\", \"param\", \"rate\", \"sequence\", \"start\", \"stop\" and \"text\". Additional parameters depend on `type`. Types are not limited to those specified and consumers are expected to ignore event types they do not support."
48 -
            },
49 -
            "description": "Array of events"
39 +
            "type": "bytes",
40 +
            "maxLength": 524288,
41 +
            "description": "Array of events serialised and binary encoded."
50 42
          },
51 43
          "credits": {
52 44
            "type": "array",
53 45
            "items": {
54 46
              "ref": "io.sound.credit",
55 47
              "type": "ref"
56 48
            },
57 49
            "maxLength": 60,
58 50
            "description": "Attribution for composers, arrangers, etc"
59 51
          },
52 +
          "version": {
53 +
            "type": "integer",
54 +
            "description": "Version number for the byte array encoding of the events field."
55 +
          },
60 56
          "sequences": {
61 57
            "type": "array",
62 58
            "items": {
63 59
              "ref": "io.sound.sequence",
64 60
              "type": "ref"
65 61
            },
66 62
            "description": "A collection of sequences that may be played back by \"sequence\" events."
67 63
          },
68 64
          "updatedAt": {
69 65
            "type": "string",
70 66
            "format": "datetime",
71 67
            "description": "Timestamp of the time of last edit."
72 68
          },
73 69
          "bskyPostRef": {
74 70
            "ref": "com.atproto.repo.strongRef",
75 71
            "type": "ref",
76 72
            "description": "Strong reference to a Bluesky post. Useful to keep track of comments off-platform."
77 73
          },
78 74
          "publishedAt": {
79 75
            "type": "string",
80 76
            "format": "datetime",
81 77
            "description": "Timestamp of the time of publication."
82 78
          }
83 79
        }
84 80
      },
85 81
      "description": "A sequence of timed events. Full documentation at https://github.com/soundio/sequence/."
86 82
    }
87 83
  },
88 84
  "$type": "com.atproto.lexicon.schema",
89 85
  "lexicon": 1
90 86
}

Compare Other Versions

Lexicon Garden

@