{
  "specFormat": "CycloneDX",
  "specVersion": "2.0",
  "$comment": "Generated by tools/build_perspectives.py from profile-interface-enumeration.rules.json v0.3. Informative companion: the rules file is normative.",
  "metadata": {
    "timestamp": "2026-10-25T00:00:00Z"
  },
  "perspectives": [
    {
      "bom-ref": "perspective:interface-enumeration",
      "name": "PKIC CBOM profile: Interface Enumeration (Example entry profile) v0.3",
      "description": "Which interfaces of this product enter the inventory, which of them a published weakness could plausibly reach, and which of them need a fuller disclosure requested before that question can actually be answered.",
      "domains": [
        "cryptographic-security"
      ],
      "mappings": [
        {
          "expression": "$.inventories[*].components[*]",
          "nativeName": "interface-enumeration#P1",
          "relevance": "required",
          "rationale": "Product declares at least one cryptographic interface"
        },
        {
          "expression": "$.inventories[0].subject.identifiers",
          "nativeName": "interface-enumeration#P3",
          "relevance": "required",
          "rationale": "Document identifies the subject it describes"
        },
        {
          "expression": "$.compositions",
          "nativeName": "interface-enumeration#P4",
          "relevance": "required",
          "rationale": "Product states how complete its declared interface set is"
        },
        {
          "expression": "$.inventories[0].subject.properties[?(@.name=='pkic:profile:subjectType')]",
          "nativeName": "interface-enumeration#P5",
          "relevance": "required",
          "rationale": "Document declares which type of subject it describes, from the types the profile accepts"
        },
        {
          "expression": "$.metadata.lifecycles",
          "nativeName": "interface-enumeration#P6",
          "relevance": "required",
          "rationale": "Document declares one lifecycle stage, and every interface reports that stage"
        },
        {
          "expression": "$.inventories[*].components[?(@.cryptoProperties.assetType=='protocol')].cryptoProperties.protocolProperties.type",
          "nativeName": "interface-enumeration#I1 protocol",
          "relevance": "required",
          "rationale": "Required when interfaceType is not storage."
        },
        {
          "expression": "$.inventories[*].components[?(@.cryptoProperties.assetType=='protocol')].cryptoProperties.protocolProperties.version",
          "nativeName": "interface-enumeration#I2 protocolVersion",
          "relevance": "required",
          "rationale": "Required when interfaceType is not storage."
        },
        {
          "expression": "$.inventories[*].components[*].properties[?(@.name=='pkic:profile:interfaceType')]",
          "nativeName": "interface-enumeration#I7 interfaceType",
          "relevance": "required",
          "rationale": "Every declared interface."
        },
        {
          "expression": "$.metadata.lifecycles",
          "nativeName": "interface-enumeration#I8 lifecycleStage",
          "relevance": "required",
          "rationale": "Every declared interface."
        }
      ],
      "externalReferences": [
        {
          "type": "documentation",
          "url": "https://pkic.github.io/cbom/methodology/profile.html"
        }
      ]
    }
  ]
}
