{
  "tool_id": "art-199-license-election-certifier",
  "note": "golden_hash filled by `node golden-parity.test.mjs --update`.",
  "vectors": [
    {
      "name": "empty_input",
      "policy_parameters": {},
      "output_payload": {
        "certificate": {
          "certificate_version": "1.0",
          "asset_ref": "",
          "licensor_did": "",
          "license_election": {
            "family": "",
            "id": "",
            "params": {}
          },
          "terms_hash": "2f70d6f79e9cebca6febd1321324dc755c7893af20ddc0b33f5a3538e3d74707",
          "certification_note": "This certificate records the licensor's stated election of a published license for the named asset. It is not a legal opinion, not a legal guarantee, and does not constitute on-chain registration. Consult the canonical license texts and a licensed attorney before relying on it.",
          "disclaimer": "Not legal advice. Selection only."
        },
        "terms_hash": "2f70d6f79e9cebca6febd1321324dc755c7893af20ddc0b33f5a3538e3d74707",
        "checks": [
          {
            "check": "asset_ref_present",
            "pass": false,
            "detail": "asset_ref is empty (empty-input mode)"
          },
          {
            "check": "licensor_did_present",
            "pass": false,
            "detail": "licensor_did is empty (empty-input mode)"
          },
          {
            "check": "license_family_known",
            "pass": false,
            "detail": "license_election.family not recognised (cc, cbe, pil, embedded supported)"
          },
          {
            "check": "license_id_present",
            "pass": false,
            "detail": "license_election.id is empty"
          }
        ],
        "all_checks_pass": false
      },
      "golden_hash": "46469c8f4058bb00fb9fe134d80888942307a784cb7d89062c19e87972feae17"
    },
    {
      "name": "cc_by_4_election",
      "policy_parameters": {
        "asset_ref": "ipfs://bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi",
        "license_election": {
          "family": "cc",
          "id": "CC-BY-4.0",
          "params": {}
        },
        "licensor_did": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK"
      },
      "output_payload": {
        "certificate": {
          "certificate_version": "1.0",
          "asset_ref": "ipfs://bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi",
          "licensor_did": "did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK",
          "license_election": {
            "family": "cc",
            "id": "CC-BY-4.0",
            "params": {}
          },
          "terms_hash": "0d311512d1c99e9924f8d1b9f45673f8382bfdab46ed11e49b41b35c9bf50588",
          "certification_note": "This certificate records the licensor's stated election of a published license for the named asset. It is not a legal opinion, not a legal guarantee, and does not constitute on-chain registration. Consult the canonical license texts and a licensed attorney before relying on it.",
          "disclaimer": "Not legal advice. Selection only."
        },
        "terms_hash": "0d311512d1c99e9924f8d1b9f45673f8382bfdab46ed11e49b41b35c9bf50588",
        "checks": [
          {
            "check": "asset_ref_present",
            "pass": true,
            "detail": "asset_ref provided"
          },
          {
            "check": "licensor_did_present",
            "pass": true,
            "detail": "licensor_did provided"
          },
          {
            "check": "license_family_known",
            "pass": true,
            "detail": "family: cc"
          },
          {
            "check": "license_id_present",
            "pass": true,
            "detail": "id: CC-BY-4.0"
          }
        ],
        "all_checks_pass": true
      },
      "golden_hash": "99f4118fdcb68348d4649276c1baa4a33d53df8ee44309fc25f45a1cf608fdd6"
    },
    {
      "name": "pil_commercial_remix",
      "policy_parameters": {
        "asset_ref": "https://example.com/artwork.png",
        "license_election": {
          "family": "pil",
          "id": "commercial_remix",
          "params": {
            "rev_share_pct": 10
          }
        },
        "licensor_did": "did:story:1234abcd"
      },
      "output_payload": {
        "certificate": {
          "certificate_version": "1.0",
          "asset_ref": "https://example.com/artwork.png",
          "licensor_did": "did:story:1234abcd",
          "license_election": {
            "family": "pil",
            "id": "commercial_remix",
            "params": {
              "rev_share_pct": 10
            }
          },
          "terms_hash": "fbb64a42e4a7b0415ac7d8b73f19d75dc0e9527d4eaa8450892515c74e392a40",
          "certification_note": "This certificate records the licensor's stated election of a published license for the named asset. It is not a legal opinion, not a legal guarantee, and does not constitute on-chain registration. Consult the canonical license texts and a licensed attorney before relying on it.",
          "disclaimer": "Not legal advice. Selection only."
        },
        "terms_hash": "fbb64a42e4a7b0415ac7d8b73f19d75dc0e9527d4eaa8450892515c74e392a40",
        "checks": [
          {
            "check": "asset_ref_present",
            "pass": true,
            "detail": "asset_ref provided"
          },
          {
            "check": "licensor_did_present",
            "pass": true,
            "detail": "licensor_did provided"
          },
          {
            "check": "license_family_known",
            "pass": true,
            "detail": "family: pil"
          },
          {
            "check": "license_id_present",
            "pass": true,
            "detail": "id: commercial_remix"
          }
        ],
        "all_checks_pass": true
      },
      "golden_hash": "2811a4f66947b6333f3bd426f98e535f8131e10328dcaf0c2b72dc8e2a029afe"
    },
    {
      "name": "cbe_necr_election",
      "policy_parameters": {
        "asset_ref": "https://opensea.io/assets/0xabc/42",
        "license_election": {
          "family": "cbe",
          "id": "CBE_NECR",
          "params": {}
        },
        "licensor_did": "did:pkh:eip155:1:0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
      },
      "output_payload": {
        "certificate": {
          "certificate_version": "1.0",
          "asset_ref": "https://opensea.io/assets/0xabc/42",
          "licensor_did": "did:pkh:eip155:1:0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
          "license_election": {
            "family": "cbe",
            "id": "CBE_NECR",
            "params": {}
          },
          "terms_hash": "908257f908b7614cae396839c7488fc18c71e5bb2ef43931d66803250567b105",
          "certification_note": "This certificate records the licensor's stated election of a published license for the named asset. It is not a legal opinion, not a legal guarantee, and does not constitute on-chain registration. Consult the canonical license texts and a licensed attorney before relying on it.",
          "disclaimer": "Not legal advice. Selection only."
        },
        "terms_hash": "908257f908b7614cae396839c7488fc18c71e5bb2ef43931d66803250567b105",
        "checks": [
          {
            "check": "asset_ref_present",
            "pass": true,
            "detail": "asset_ref provided"
          },
          {
            "check": "licensor_did_present",
            "pass": true,
            "detail": "licensor_did provided"
          },
          {
            "check": "license_family_known",
            "pass": true,
            "detail": "family: cbe"
          },
          {
            "check": "license_id_present",
            "pass": true,
            "detail": "id: CBE_NECR"
          }
        ],
        "all_checks_pass": true
      },
      "golden_hash": "9786cc0c193b733c7689c041c1ff0064b59a07321f27c9226b7ae4bde1d4a314"
    }
  ]
}
