{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A project-owned What's New update for an Atmosphere registry profile. Each record represents one release/update note and may optionally link to Tangled commit metadata.",
      "key": "any",
      "record": {
        "properties": {
          "body": {
            "description": "Update notes shown in What's New and version history.",
            "maxGraphemes": 1000,
            "maxLength": 1000,
            "minLength": 1,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "maxLength": 64,
            "type": "string"
          },
          "source": {
            "description": "Where the update came from. Omitted means manual.",
            "knownValues": [
              "manual",
              "tangled"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "tangledCommitUrl": {
            "description": "Optional Tangled commit URL related to this update.",
            "format": "uri",
            "maxLength": 512,
            "type": "string"
          },
          "tangledRepoUrl": {
            "description": "Optional Tangled repository URL used for future sync provenance.",
            "format": "uri",
            "maxLength": 512,
            "type": "string"
          },
          "title": {
            "description": "Short update title.",
            "maxGraphemes": 80,
            "maxLength": 80,
            "minLength": 1,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "maxLength": 64,
            "type": "string"
          },
          "version": {
            "description": "Optional version or release label.",
            "maxGraphemes": 32,
            "maxLength": 32,
            "type": "string"
          }
        },
        "required": [
          "title",
          "body",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.atmosphereaccount.registry.update",
  "lexicon": 1
}
