{
  "issuer": "Astera Technology",
  "resource": "ops-product-field-owner-scope",
  "locale": "en",
  "contract": "The fictional lamp product has a supplied note ID NOTE-W shared by both variants. The black cable is 1 metre and the white cable is 2 metres. The note ID is opaque: it contains no warranty recommendation. This model stores the shared note at product level and cable metres at variant level. It reports a common cable value only when every variant has the same known value.",
  "input": {
    "product": "Lamp",
    "sharedNote": "NOTE-W",
    "variants": [
      {
        "id": "black",
        "cableMetres": 1
      },
      {
        "id": "white",
        "cableMetres": 2
      }
    ]
  },
  "output": {
    "ok": true,
    "state": "complete",
    "result": {
      "product": "Lamp",
      "sharedNote": "NOTE-W",
      "commonCableMetres": null,
      "variants": [
        {
          "id": "black",
          "cableMetres": 1,
          "sharedNote": "NOTE-W",
          "decision": "known"
        },
        {
          "id": "white",
          "cableMetres": 2,
          "sharedNote": "NOTE-W",
          "decision": "known"
        }
      ]
    },
    "trace": [
      {
        "id": "black",
        "cableMetres": 1,
        "sharedNote": "NOTE-W",
        "decision": "known"
      },
      {
        "id": "white",
        "cableMetres": 2,
        "sharedNote": "NOTE-W",
        "decision": "known"
      }
    ]
  },
  "verificationCases": [
    {
      "name": "baseline",
      "input": {
        "product": "Lamp",
        "sharedNote": "NOTE-W",
        "variants": [
          {
            "id": "black",
            "cableMetres": 1
          },
          {
            "id": "white",
            "cableMetres": 2
          }
        ]
      },
      "expected": {
        "ok": true,
        "state": "complete",
        "result": {
          "product": "Lamp",
          "sharedNote": "NOTE-W",
          "commonCableMetres": null,
          "variants": [
            {
              "id": "black",
              "cableMetres": 1,
              "sharedNote": "NOTE-W",
              "decision": "known"
            },
            {
              "id": "white",
              "cableMetres": 2,
              "sharedNote": "NOTE-W",
              "decision": "known"
            }
          ]
        }
      }
    },
    {
      "name": "material-edit",
      "input": {
        "product": "Lamp",
        "sharedNote": "NOTE-W",
        "variants": [
          {
            "id": "black",
            "cableMetres": 1
          },
          {
            "id": "white",
            "cableMetres": 1
          }
        ]
      },
      "expected": {
        "ok": true,
        "state": "complete",
        "result": {
          "product": "Lamp",
          "sharedNote": "NOTE-W",
          "commonCableMetres": 1,
          "variants": [
            {
              "id": "black",
              "cableMetres": 1,
              "sharedNote": "NOTE-W",
              "decision": "known"
            },
            {
              "id": "white",
              "cableMetres": 1,
              "sharedNote": "NOTE-W",
              "decision": "known"
            }
          ]
        }
      }
    },
    {
      "name": "fresh-boundary",
      "input": {
        "product": "Lamp",
        "sharedNote": "NOTE-W",
        "variants": [
          {
            "id": "black",
            "cableMetres": 1
          },
          {
            "id": "white",
            "cableMetres": null
          }
        ]
      },
      "expected": {
        "ok": true,
        "state": "unknown",
        "result": {
          "product": "Lamp",
          "sharedNote": "NOTE-W",
          "commonCableMetres": null,
          "variants": [
            {
              "id": "black",
              "cableMetres": 1,
              "sharedNote": "NOTE-W",
              "decision": "known"
            },
            {
              "id": "white",
              "cableMetres": null,
              "sharedNote": "NOTE-W",
              "decision": "unknown"
            }
          ]
        }
      }
    }
  ],
  "meaningOfNull": "Unknown or no established value for the field; inspect its specific trace.",
  "businessSideEffects": false
}
