com.emdashcms.experimental.package.profileExtension

emdashcms.com

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Typed embedded object carrying the package repository anchor and optional delegated-release policy. Lives under the profile record's extensions map keyed by this NSID. The $type field is required when embedded; clients use it to dispatch to this schema.",
      "properties": {
        "releasePolicy": {
          "ref": "#releasePolicy",
          "type": "ref"
        },
        "repository": {
          "description": "Canonical HTTPS source repository URL. Lexicon validates URI syntax and length; consumers must require HTTPS and canonicalization.",
          "format": "uri",
          "maxLength": 1024,
          "type": "string"
        }
      },
      "required": [
        "repository"
      ],
      "type": "object"
    },
    "releasePolicy": {
      "description": "Optional delegated-release policy. Absent fields normalize for consumers to requireProvenance false, confirmation escalation-only, and no approvers.",
      "properties": {
        "approvers": {
          "description": "Atproto DIDs authorized to approve releases. Lexicon validates DID syntax and the 32-item cap; consumers must reject duplicate DIDs.",
          "items": {
            "format": "did",
            "type": "string"
          },
          "maxLength": 32,
          "type": "array"
        },
        "confirmation": {
          "description": "When a release requires human confirmation. The generated TypeScript type exposes escalation-only and always; Lexicon runtime validators do not enforce knownValues, so consumers must reject other values.",
          "knownValues": [
            "escalation-only",
            "always"
          ],
          "type": "string"
        },
        "requireProvenance": {
          "description": "Whether releases require a verifiable provenance reference.",
          "type": "boolean"
        }
      },
      "type": "object"
    }
  },
  "description": "EmDash delegated-release policy embedded inside a package profile record under its extensions field. EXPERIMENTAL: shape may change before stabilisation.",
  "id": "com.emdashcms.experimental.package.profileExtension",
  "lexicon": 1
}

Validate Record

Validate a record against com.emdashcms.experimental.package.profileExtension

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:ilznslhspsvk6naatedr66pi
CID
bafyreiaexfchti3mo64ayegpmlzc3agqgakcebfspjt7p36t6vvk7smpce
Indexed At
2026-10-08 09:24 UTC
AT-URI
at://did:plc:ilznslhspsvk6naatedr66pi/com.atproto.lexicon.schema/com.emdashcms.experimental.package.profileExtension

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • com.emdashcms.experimental.package.release recordnot from the namespace authority

    Plugin package release record. EXPERIMENTAL: this NSID is part of the experimental phase of the EmDash plugin registry. The stable namespace target is com.emdashcms.package.release.

Lexicon Garden

@