community.lexicon.app.defs

Details · defs
Kinddefs
Authorityapp.lexicon.community
Indexed
cid bafyreigi7u6nky267cylfqj3gltaetnktjkhj7z5cneed74vnc7qrp2zu4

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "accountIndicator": {
      "description": "A record whose presence in an account can indicate that the account probably uses this app.",
      "properties": {
        "collection": {
          "description": "Record collection to look for in an account repository.",
          "format": "nsid",
          "type": "string"
        },
        "rkey": {
          "description": "Optional record key to look for within the collection.",
          "format": "record-key",
          "type": "string"
        }
      },
      "required": [
        "collection"
      ],
      "type": "object"
    },
    "aspectRatio": {
      "description": "width:height represents an aspect ratio. It may be approximate.",
      "properties": {
        "height": {
          "minimum": 1,
          "type": "integer"
        },
        "width": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "discontinued": {
      "description": "The app is no longer available or supported.",
      "type": "token"
    },
    "image": {
      "description": "An image associated with an app, including accessibility and display metadata. Exactly one of `image` (ATProto blob) or `uri` (remote URL) MUST be present. Consumers SHOULD ignore image items that have neither or both.",
      "properties": {
        "alt": {
          "description": "Alt text description of the image, for accessibility.",
          "maxGraphemes": 300,
          "maxLength": 1000,
          "type": "string"
        },
        "aspectRatio": {
          "ref": "#aspectRatio",
          "type": "ref"
        },
        "image": {
          "accept": [
            "image/*"
          ],
          "description": "The raw image file.",
          "maxSize": 2000000,
          "type": "blob"
        },
        "purpose": {
          "description": "How directories and stores should use the image. Omit this field when no known purpose fits.",
          "knownValues": [
            "community.lexicon.app.defs#purposeIcon",
            "community.lexicon.app.defs#purposeLogo",
            "community.lexicon.app.defs#purposeHero",
            "community.lexicon.app.defs#purposeScreenshot",
            "community.lexicon.app.defs#purposeBanner",
            "community.lexicon.app.defs#purposeSocialCard",
            "community.lexicon.app.defs#purposeAppStore",
            "community.lexicon.app.defs#purposeAd"
          ],
          "type": "string"
        },
        "uri": {
          "description": "Remote image URI.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "alt"
      ],
      "type": "object"
    },
    "lexiconInterop": {
      "description": "Self-declared AT Protocol lexicon interoperability signals.",
      "properties": {
        "consumes": {
          "description": "Lexicon collections this app reads, displays, imports, or otherwise consumes.",
          "items": {
            "format": "nsid",
            "type": "string"
          },
          "type": "array"
        },
        "produces": {
          "description": "Lexicon collections this app creates or publishes records for.",
          "items": {
            "format": "nsid",
            "type": "string"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "link": {
      "description": "A labeled URI associated with an app.",
      "properties": {
        "label": {
          "description": "Human-readable label for the URI.",
          "maxGraphemes": 50,
          "maxLength": 100,
          "type": "string"
        },
        "role": {
          "description": "Known role of this link, if any.",
          "ref": "#linkRole",
          "type": "ref"
        },
        "uri": {
          "description": "Destination URI.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    },
    "linkRole": {
      "description": "Known role of a link associated with an app.",
      "knownValues": [
        "community.lexicon.app.defs#linkRoleWebsite",
        "community.lexicon.app.defs#linkRoleWebManifest",
        "community.lexicon.app.defs#linkRolePrivacyPolicy",
        "community.lexicon.app.defs#linkRoleTermsOfService",
        "community.lexicon.app.defs#linkRoleSupport",
        "community.lexicon.app.defs#linkRoleSourceCode",
        "community.lexicon.app.defs#linkRoleDocs",
        "community.lexicon.app.defs#linkRoleChangelog",
        "community.lexicon.app.defs#linkRoleStatus",
        "community.lexicon.app.defs#linkRoleAppStore",
        "community.lexicon.app.defs#linkRolePlayStore",
        "community.lexicon.app.defs#linkRoleFDroid"
      ],
      "type": "string"
    },
    "linkRoleAppStore": {
      "description": "Apple App Store listing.",
      "type": "token"
    },
    "linkRoleChangelog": {
      "description": "Changelog or release notes.",
      "type": "token"
    },
    "linkRoleDocs": {
      "description": "Documentation.",
      "type": "token"
    },
    "linkRoleFDroid": {
      "description": "F-Droid listing.",
      "type": "token"
    },
    "linkRolePlayStore": {
      "description": "Google Play Store listing.",
      "type": "token"
    },
    "linkRolePrivacyPolicy": {
      "description": "Privacy policy.",
      "type": "token"
    },
    "linkRoleSourceCode": {
      "description": "Source code repository or source distribution.",
      "type": "token"
    },
    "linkRoleStatus": {
      "description": "Service status page.",
      "type": "token"
    },
    "linkRoleSupport": {
      "description": "Support, help, or contact page.",
      "type": "token"
    },
    "linkRoleTermsOfService": {
      "description": "Terms of service.",
      "type": "token"
    },
    "linkRoleWebManifest": {
      "description": "Web App Manifest.",
      "type": "token"
    },
    "linkRoleWebsite": {
      "description": "Primary website or landing page.",
      "type": "token"
    },
    "platform": {
      "description": "Platform where an app is available.",
      "knownValues": [
        "community.lexicon.app.defs#platformWeb",
        "community.lexicon.app.defs#platformIOS",
        "community.lexicon.app.defs#platformAndroid",
        "community.lexicon.app.defs#platformMacOS",
        "community.lexicon.app.defs#platformWindows",
        "community.lexicon.app.defs#platformLinux",
        "community.lexicon.app.defs#platformCLI"
      ],
      "type": "string"
    },
    "platformAndroid": {
      "description": "Android app.",
      "type": "token"
    },
    "platformCLI": {
      "description": "Command line interface.",
      "type": "token"
    },
    "platformIOS": {
      "description": "iOS app.",
      "type": "token"
    },
    "platformLinux": {
      "description": "Linux app.",
      "type": "token"
    },
    "platformMacOS": {
      "description": "macOS app.",
      "type": "token"
    },
    "platformWeb": {
      "description": "Web app or website.",
      "type": "token"
    },
    "platformWindows": {
      "description": "Windows app.",
      "type": "token"
    },
    "preview": {
      "description": "The app is available as an alpha, beta, early access, or preview release.",
      "type": "token"
    },
    "purposeAd": {
      "description": "A promotional or advertising image.",
      "type": "token"
    },
    "purposeAppStore": {
      "description": "A promotional image formatted for a native app store listing.",
      "type": "token"
    },
    "purposeBanner": {
      "description": "A wide banner image, such as a header image for a profile or listing page.",
      "type": "token"
    },
    "purposeHero": {
      "description": "A large promotional or feature image, typically used at the top of a directory listing.",
      "type": "token"
    },
    "purposeIcon": {
      "description": "A small square icon representing the app, typically used in launchers, lists, and tab bars.",
      "type": "token"
    },
    "purposeLogo": {
      "description": "A logotype or wordmark for the app.",
      "type": "token"
    },
    "purposeScreenshot": {
      "description": "A screenshot of the app's UI, used in directory and store listings.",
      "type": "token"
    },
    "purposeSocialCard": {
      "description": "An image sized and formatted for social media sharing previews (Open Graph, Twitter Card, etc.).",
      "type": "token"
    },
    "released": {
      "description": "The app is generally available.",
      "type": "token"
    },
    "status": {
      "description": "Current release or maintenance status of an app.",
      "knownValues": [
        "community.lexicon.app.defs#unreleased",
        "community.lexicon.app.defs#preview",
        "community.lexicon.app.defs#released",
        "community.lexicon.app.defs#unmaintained",
        "community.lexicon.app.defs#discontinued"
      ],
      "type": "string"
    },
    "unmaintained": {
      "description": "The app may still be available, but is no longer actively maintained.",
      "type": "token"
    },
    "unreleased": {
      "description": "The app has been announced but is not yet available.",
      "type": "token"
    }
  },
  "id": "community.lexicon.app.defs",
  "lexicon": 1
}