{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "export": {
      "properties": {
        "component": {
          "description": "AT-URI of the component record",
          "format": "at-uri",
          "type": "string"
        },
        "type": {
          "description": "NSID of the type being exported",
          "format": "nsid",
          "type": "string"
        }
      },
      "required": [
        "type",
        "component"
      ],
      "type": "object"
    },
    "main": {
      "description": "A list of type to component exports",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "exports": {
            "description": "Type to component mappings",
            "items": {
              "ref": "#export",
              "type": "ref"
            },
            "type": "array"
          },
          "name": {
            "description": "Short slug for the pack (e.g. \"core\", \"ui\")",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "name",
          "exports"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "at.inlay.pack",
  "lexicon": 1
}
