media.ionosphere.defs

ionosphere.media

Schema Diff

+52 -15

From

CID
bafyreihapyu32eo...
Indexed At
2026-02-02 01:41 UTC
View this version

To

CID
bafyreighrch2rd4...
Indexed At
2026-02-04 12:37 UTC
View this version
1 1
{
2 2
  "id": "media.ionosphere.defs",
3 3
  "defs": {
4 4
    "genre": {
5 5
      "type": "string",
6 -
      "format": "uri"
6 +
      "format": "uri",
7 +
      "description": "TV-Anytime classification scheme URIs permitted by ETSI TS 102 818 section 5.3"
8 +
    },
9 +
    "track": {
10 +
      "type": "object",
11 +
      "required": [
12 +
        "title",
13 +
        "artists"
14 +
      ],
15 +
      "properties": {
16 +
        "album": {
17 +
          "type": "string",
18 +
          "maxLength": 256
19 +
        },
20 +
        "title": {
21 +
          "type": "string",
22 +
          "maxLength": 256
23 +
        },
24 +
        "artists": {
25 +
          "type": "array",
26 +
          "items": {
27 +
            "type": "string",
28 +
            "maxLength": 256
29 +
          },
30 +
          "description": "Artists in order of importance to the track"
31 +
        }
32 +
      }
7 33
    },
8 34
    "bearer": {
9 35
      "type": "string",
10 -
      "format": "uri"
36 +
      "format": "uri",
37 +
      "description": "BearerURI as specified in ETSI TS 103 270"
11 38
    },
12 39
    "credit": {
13 40
      "type": "object",
14 41
      "required": [
15 42
        "entity",
16 43
        "role"
17 44
      ],
18 45
      "properties": {
19 46
        "role": {
20 -
          "enum": [
47 +
          "type": "string",
48 +
          "maxLength": 128,
49 +
          "description": "Self-explanatory, but beware that the expected values may change in future (possibly to match TV-Anytime role classification schema)",
50 +
          "knownValues": [
21 51
            "creator",
22 52
            "contributor",
23 53
            "guest"
24 -
          ],
25 -
          "type": "string",
26 -
          "maxLength": 128
54 +
          ]
27 55
        },
28 56
        "entity": {
29 57
          "ref": "media.ionosphere.defs#entity",
30 58
          "type": "ref"
31 59
        }
32 60
      }
33 61
    },
34 62
    "entity": {
35 63
      "type": "object",
36 64
      "required": [
37 65
        "type",
38 66
        "name"
39 67
      ],
40 68
      "properties": {
41 69
        "name": {
42 70
          "type": "string",
43 71
          "maxGraphemes": 128
44 72
        },
45 73
        "type": {
46 74
          "enum": [
47 75
            "organization",
48 76
            "person"
49 77
          ],
50 78
          "type": "string",
51 79
          "maxLength": 128
52 80
        }
53 81
      }
54 82
    },
55 83
    "broadcast": {
56 84
      "type": "object",
57 85
      "required": [
58 86
        "bearer"
59 87
      ],
60 88
      "properties": {
61 89
        "cost": {
62 90
          "type": "integer",
63 -
          "default": 0
91 +
          "default": 0,
92 +
          "description": "When used in a list, this can be used to sort the attempted connections or preferred methods"
64 93
        },
65 94
        "from": {
66 95
          "type": "string",
67 -
          "format": "datetime"
96 +
          "format": "datetime",
97 +
          "description": "The datetime from which this method is available"
68 98
        },
69 99
        "until": {
70 100
          "type": "string",
71 -
          "format": "datetime"
101 +
          "format": "datetime",
102 +
          "description": "The datetime where this method is no longer available"
72 103
        },
73 104
        "bearer": {
74 105
          "ref": "media.ionosphere.defs#bearer",
75 106
          "type": "ref"
76 107
        },
77 108
        "offset": {
78 109
          "type": "integer",
79 -
          "default": 0
110 +
          "default": 0,
111 +
          "description": "Offset in milliseconds compared to other bearers"
80 112
        }
81 -
      }
113 +
      },
114 +
      "description": "Represents the method of accessing a broadcast; i.e. live"
82 115
    },
83 116
    "recording": {
84 117
      "type": "object",
85 118
      "required": [
86 119
        "bearer"
87 120
      ],
88 121
      "properties": {
89 122
        "cost": {
90 123
          "type": "integer",
91 -
          "default": 0
124 +
          "default": 0,
125 +
          "description": "When used in a list, this can be used to sort the attempted connections or preferred methods"
92 126
        },
93 127
        "from": {
94 128
          "type": "string",
95 -
          "format": "datetime"
129 +
          "format": "datetime",
130 +
          "description": "The datetime from which this method is available"
96 131
        },
97 132
        "until": {
98 133
          "type": "string",
99 -
          "format": "datetime"
134 +
          "format": "datetime",
135 +
          "description": "The datetime where this method is no longer available"
100 136
        },
101 137
        "bearer": {
102 138
          "ref": "media.ionosphere.defs#bearer",
103 139
          "type": "ref"
104 140
        }
105 -
      }
141 +
      },
142 +
      "description": "Represents the method of accessing a recording"
106 143
    },
107 144
    "geocoordinates": {
108 145
      "type": "object",
109 146
      "required": [
110 147
        "latitude",
111 148
        "longitude"
112 149
      ],
113 150
      "properties": {
114 151
        "latitude": {
115 152
          "type": "string",
116 153
          "maxLength": 128
117 154
        },
118 155
        "longitude": {
119 156
          "type": "string",
120 157
          "maxLength": 128
121 158
        }
122 159
      }
123 160
    }
124 161
  },
125 162
  "$type": "com.atproto.lexicon.schema",
126 163
  "lexicon": 1
127 164
}

Compare Other Versions

Lexicon Garden

@