{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "purl": {
            "minLength": 1,
            "type": "string"
          },
          "software": {
            "description": "Strong references to com.nahdig.software records for this PURL.",
            "items": {
              "ref": "com.atproto.repo.strongRef#main",
              "type": "ref"
            },
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "purl",
          "software"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Deterministic PURL lookup record. rkey = sha256(versionless canonical purl) as lowercase hex.",
  "id": "com.nahdig.purl",
  "lexicon": 1
}
