{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A locale-specific override for an app profile. This record should be published by the same DID as the canonical app profile.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Client-declared timestamp when this localization was created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Localized short description of what the app does.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "images": {
            "description": "Localized visual assets for directories and stores, such as icons, hero images, screenshots, banners, and social cards.",
            "items": {
              "ref": "community.lexicon.app.defs#image",
              "type": "ref"
            },
            "maxLength": 24,
            "type": "array"
          },
          "links": {
            "description": "Localized destinations for the app. The first link should be the primary destination for this locale.",
            "items": {
              "ref": "community.lexicon.app.defs#link",
              "type": "ref"
            },
            "maxLength": 12,
            "minLength": 1,
            "type": "array"
          },
          "locale": {
            "description": "BCP 47 language tag for this localized metadata.",
            "format": "language",
            "type": "string"
          },
          "longDescription": {
            "description": "Localized long-form description of the app. Directories and stores render it on the listing detail page.",
            "maxGraphemes": 4000,
            "maxLength": 40000,
            "type": "string"
          },
          "name": {
            "description": "Localized display name of the app.",
            "maxGraphemes": 100,
            "maxLength": 200,
            "type": "string"
          },
          "tags": {
            "description": "Localized discovery tags for filtering and search.",
            "items": {
              "maxGraphemes": 32,
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "updatedAt": {
            "description": "Client-declared timestamp when this localization was last updated.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "locale",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Localized metadata for a community.lexicon.app.profile record.",
  "id": "community.lexicon.app.profileLocalization",
  "lexicon": 1
}
