{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A publication configuration with title, description, and default theme.",
      "key": "literal:self",
      "record": {
        "properties": {
          "description": {
            "description": "Publication description",
            "maxLength": 1000,
            "type": "string"
          },
          "enableSiteStandard": {
            "default": false,
            "description": "When enabled, also publishes to site.standard.publication and site.standard.document collections for cross-platform compatibility",
            "type": "boolean"
          },
          "name": {
            "description": "Publication/blog title",
            "maxLength": 200,
            "type": "string"
          },
          "theme": {
            "description": "Default theme for posts in this publication",
            "ref": "app.greengale.blog.defs#theme",
            "type": "ref"
          },
          "url": {
            "description": "Publication base URL (e.g., https://greengale.app)",
            "format": "uri",
            "maxLength": 2048,
            "type": "string"
          },
          "voiceTheme": {
            "description": "Default voice settings for TTS playback on posts",
            "ref": "app.greengale.blog.defs#voiceTheme",
            "type": "ref"
          }
        },
        "required": [
          "url",
          "name"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.greengale.publication",
  "lexicon": 1
}
