placeStreamDefs top-level constant

Map<String, dynamic> const placeStreamDefs

place.stream.defs

Implementation

const placeStreamDefs = <String, dynamic>{
  "lexicon": 1,
  "id": "place.stream.defs",
  "defs": {
    "blockView": {
      "type": "object",
      "required": ["uri", "cid", "blocker", "record", "indexedAt"],
      "properties": {
        "cid": {"type": "string", "format": "cid"},
        "uri": {"type": "string", "format": "at-uri"},
        "record": {"type": "ref", "ref": "app.bsky.graph.block"},
        "blocker": {
          "type": "ref",
          "ref": "app.bsky.actor.defs#profileViewBasic",
        },
        "indexedAt": {"type": "string", "format": "datetime"},
      },
    },
    "rendition": {
      "type": "object",
      "required": ["name"],
      "properties": {
        "name": {"type": "string"},
      },
    },
    "renditions": {
      "type": "object",
      "required": ["renditions"],
      "properties": {
        "renditions": {
          "type": "array",
          "items": {"type": "ref", "ref": "#rendition"},
        },
      },
    },
    "activityGame": {
      "type": "object",
      "description":
          "A game from the gamesgamesgamesgames catalog, identified by its AT URI.",
      "required": ["uri"],
      "properties": {
        "uri": {"type": "string", "format": "at-uri"},
        "name": {
          "type": "string",
          "description": "Cached display name of the game.",
        },
      },
    },
    "activityLabel": {
      "type": "object",
      "description": "A non-game activity with a well-known label.",
      "required": ["label"],
      "properties": {
        "label": {
          "type": "string",
          "knownValues": [
            "events",
            "just_chatting",
            "podcasting",
            "music",
            "art",
            "software_dev",
            "cooking",
            "miniatures",
            "makers_crafting",
            "fitness",
            "sports",
          ],
        },
      },
    },
  },
};