socialGrainGallery top-level constant

Map<String, dynamic> const socialGrainGallery

social.grain.gallery

Implementation

const socialGrainGallery = <String, dynamic>{
  "lexicon": 1,
  "id": "social.grain.gallery",
  "defs": {
    "main": {
      "type": "record",
      "key": "tid",
      "record": {
        "type": "object",
        "required": ["title", "createdAt"],
        "properties": {
          "title": {"type": "string", "maxLength": 100},
          "labels": {
            "type": "union",
            "description":
                "Self-label values for this post. Effectively content warnings.",
            "refs": ["com.atproto.label.defs#selfLabels"],
          },
          "createdAt": {"type": "string", "format": "datetime"},
          "description": {"type": "string", "maxLength": 1000},
        },
      },
    },
  },
};