{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "cpes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "part": {
            "description": "CPE part: application, operating system, hardware.",
            "knownValues": [
              "a",
              "o",
              "h"
            ],
            "type": "string"
          },
          "product": {
            "minLength": 1,
            "type": "string"
          },
          "project": {
            "description": "Strong reference to the software.release.project record.",
            "ref": "com.atproto.repo.strongRef#main",
            "type": "ref"
          },
          "purls": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "vendor": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "project",
          "vendor",
          "product",
          "part"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Software identity for a CPE product, linked to a release.software project and PURL/CPE aliases.",
  "id": "com.nahdig.software",
  "lexicon": 1
}
