{
  "@context": [
    "https://www.w3.org/2018/credentials/v1"
  ],
  "type": ["VerifiableCredential", "DeviceSnapshot"],
  "issuer": "{{ issuer_did }}",
  "issuanceDate": "{{ issuance_date }}",
  "credentialSubject": {
    "operatorId": "{{ operator_id }}",
    "uuid": "{{ uuid }}",
    "type": "hardwareList",
    "software": "workbench-script",
    "deviceId": [
      {
        "name": "Manufacturer",
        "value": "{{ manufacturer }}"
      },
      {
        "name": "Model",
        "value": "{{ model }}"
      },
      {
        "name": "Serial",
        "value": "{{ serial_number }}"
      },
      {
        "name": "SKU",
        "value": "{{ sku }}"
      },
      {
        "name": "EthernetMacAddress",
        "value": "{{ mac }}"
      }
    ],
    "timestamp": "{{ issuance_date }}"
  },
  "evidence": [
    {
      "type": "HardwareList",
      "operation": "dmidecode",
      "output": "{{ dmidecode }}",
      "timestamp": "{{ issuance_date }}"
    },
    {
      "type": "HardwareList",
      "operation": "smartctl",
      "output": {{ smartctl|default:'""'|safe }},
      "timestamp": "{{ issuance_date }}"
    },
    {
      "type": "HardwareList",
      "operation": "inxi",
      "output": {{ inxi|default:'""'|safe }},
      "timestamp": "{{ issuance_date }}"
    }
  ],
  "credentialSchema": {
    "id": "https://idhub.pangea.org/vc_schemas/device-snapshot-v1.json",
    "type": "FullJsonSchemaValidator2021"
  }
}
