{
  "fixtureVersion": 2,
  "packageManifest": {
    "schemaVersion": "1.0.0",
    "packageKind": "component",
    "publisher": "midas",
    "packageKey": "midas_civil",
    "packageVersion": "2.3.4",
    "requiredFeatures": [],
    "requiredContractVersion": 2,
    "pythonDependencies": [],
    "entries": [
      {
        "path": "content/components/model_check.json",
        "bytes": 894,
        "digest": "sha256:9ca40c284f2d5bb991998bef96e6a0ae78e31dcfb777176c8f7b9eba99147b4f"
      },
      {
        "path": "content/components/pressure_limit_check.json",
        "bytes": 798,
        "digest": "sha256:38c33334c35f3470a36b63011e0040027d287092af92b4740834e6f2563a1e00"
      },
      {
        "path": "content/model_check.py",
        "bytes": 61,
        "digest": "sha256:a62e228e1c7fadfacaae8a259ab067d3994911c06a3f08a6bb4e347196e31288"
      },
      {
        "path": "content/pressure_limit_check.py",
        "bytes": 59,
        "digest": "sha256:ad7fce3d12633548c28f2702b7edd8cef43b034c67b853d0774dbe9cd6b585e0"
      }
    ]
  },
  "trustAdmission": {
    "signatureVerificationOwner": "package-envelope-profile.v1.json#/signatureEnvelope",
    "detachedSignatureAlgorithm": "ed25519",
    "publisherKeyTrustStore": "product-managed-trust-store",
    "revocationMechanism": "signed-revocation-list",
    "verificationTimeInsideValidityWindow": true,
    "staleOrUnavailableListBehavior": "reject-verification",
    "publisherKeyRevokedAtVerification": false,
    "trustedTimestampException": "none-in-v1",
    "executionAdmissionChannel": "public-marketplace",
    "decision": "admit-verified-envelope"
  },
  "trustAdmissionCases": [
    {
      "id": "marketplace-verified",
      "channel": "publicMarketplace",
      "signatureState": "verified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "admit"
    },
    {
      "id": "marketplace-unsigned",
      "channel": "publicMarketplace",
      "signatureState": "absent",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "marketplace-present-unverified",
      "channel": "publicMarketplace",
      "signatureState": "presentUnverified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "marketplace-invalid-signed",
      "channel": "publicMarketplace",
      "signatureState": "invalid",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "marketplace-revoked-signed",
      "channel": "publicMarketplace",
      "signatureState": "revoked",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "marketplace-stale-verification-evidence",
      "channel": "publicMarketplace",
      "signatureState": "staleOrUnavailableVerificationEvidence",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "local-unsigned-explicit",
      "channel": "localUserAccepted",
      "signatureState": "absent",
      "explicitAcceptanceProvided": true,
      "warningProvided": true,
      "auditAvailable": true,
      "expectedDecision": "admit"
    },
    {
      "id": "local-verified-explicit",
      "channel": "localUserAccepted",
      "signatureState": "verified",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "admit"
    },
    {
      "id": "local-present-unverified-with-explicit-acceptance",
      "channel": "localUserAccepted",
      "signatureState": "presentUnverified",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "local-invalid-signed",
      "channel": "localUserAccepted",
      "signatureState": "invalid",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "local-revoked-signed",
      "channel": "localUserAccepted",
      "signatureState": "revoked",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "local-stale-verification-evidence",
      "channel": "localUserAccepted",
      "signatureState": "staleOrUnavailableVerificationEvidence",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "admin-unsigned-explicit",
      "channel": "adminAttached",
      "signatureState": "absent",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "admit"
    },
    {
      "id": "admin-verified-explicit",
      "channel": "adminAttached",
      "signatureState": "verified",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "admit"
    },
    {
      "id": "admin-present-unverified",
      "channel": "adminAttached",
      "signatureState": "presentUnverified",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "admin-invalid-signed",
      "channel": "adminAttached",
      "signatureState": "invalid",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "admin-revoked-signed",
      "channel": "adminAttached",
      "signatureState": "revoked",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "admin-stale-verification-evidence",
      "channel": "adminAttached",
      "signatureState": "staleOrUnavailableVerificationEvidence",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-signature-state"
    },
    {
      "id": "local-unsigned-without-acceptance",
      "channel": "localUserAccepted",
      "signatureState": "absent",
      "explicitAcceptanceProvided": false,
      "warningProvided": true,
      "auditAvailable": true,
      "expectedDecision": "reject-explicit-acceptance-required"
    },
    {
      "id": "local-unsigned-without-warning",
      "channel": "localUserAccepted",
      "signatureState": "absent",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "expectedDecision": "reject-warning-required"
    },
    {
      "id": "admin-verified-without-audit",
      "channel": "adminAttached",
      "signatureState": "verified",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": false,
      "expectedDecision": "reject-audit-required"
    }
  ],
  "trustExecutionCases": [
    {
      "id": "execution-marketplace-unsigned",
      "channel": "publicMarketplace",
      "signatureState": "absent",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": null,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-marketplace-verified",
      "channel": "publicMarketplace",
      "signatureState": "verified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": true,
      "expectedDecision": "accept"
    },
    {
      "id": "execution-marketplace-present-unverified",
      "channel": "publicMarketplace",
      "signatureState": "presentUnverified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-marketplace-invalid",
      "channel": "publicMarketplace",
      "signatureState": "invalid",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-marketplace-revoked",
      "channel": "publicMarketplace",
      "signatureState": "revoked",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-marketplace-stale",
      "channel": "publicMarketplace",
      "signatureState": "staleOrUnavailableVerificationEvidence",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-local-unsigned",
      "channel": "localUserAccepted",
      "signatureState": "absent",
      "explicitAcceptanceProvided": true,
      "warningProvided": true,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": null,
      "expectedDecision": "accept"
    },
    {
      "id": "execution-local-verified",
      "channel": "localUserAccepted",
      "signatureState": "verified",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": true,
      "expectedDecision": "accept"
    },
    {
      "id": "execution-local-present-unverified",
      "channel": "localUserAccepted",
      "signatureState": "presentUnverified",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-local-invalid",
      "channel": "localUserAccepted",
      "signatureState": "invalid",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-local-revoked",
      "channel": "localUserAccepted",
      "signatureState": "revoked",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-local-stale",
      "channel": "localUserAccepted",
      "signatureState": "staleOrUnavailableVerificationEvidence",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-admin-unsigned",
      "channel": "adminAttached",
      "signatureState": "absent",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": null,
      "expectedDecision": "accept"
    },
    {
      "id": "execution-admin-verified",
      "channel": "adminAttached",
      "signatureState": "verified",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": true,
      "expectedDecision": "accept"
    },
    {
      "id": "execution-admin-present-unverified",
      "channel": "adminAttached",
      "signatureState": "presentUnverified",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-admin-invalid",
      "channel": "adminAttached",
      "signatureState": "invalid",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-admin-revoked",
      "channel": "adminAttached",
      "signatureState": "revoked",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-admin-stale",
      "channel": "adminAttached",
      "signatureState": "staleOrUnavailableVerificationEvidence",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-local-unsigned-without-acceptance",
      "channel": "localUserAccepted",
      "signatureState": "absent",
      "explicitAcceptanceProvided": false,
      "warningProvided": true,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": null,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-local-unsigned-without-warning",
      "channel": "localUserAccepted",
      "signatureState": "absent",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": null,
      "expectedDecision": "reject-execution-trust-revalidation"
    },
    {
      "id": "execution-admin-verified-without-audit",
      "channel": "adminAttached",
      "signatureState": "verified",
      "explicitAcceptanceProvided": true,
      "warningProvided": false,
      "auditAvailable": false,
      "signedRevocationEvidenceFresh": true,
      "expectedDecision": "reject-execution-trust-revalidation"
    }
  ],
  "installedReleaseRef": {
    "publisher": "midas",
    "packageKey": "midas_civil",
    "packageVersion": "2.3.4",
    "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
    "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
    "requiredContractVersion": 2
  },
  "authoringDescriptors": [
    {
      "$schema": "https://pipelinexlab.com/contracts/component-descriptor.v2.schema.json",
      "schemaVersion": 2,
      "componentKey": "model_check",
      "componentContractVersion": 3,
      "label": "Model check",
      "description": "Checks a connected structural model.",
      "classification": "flow-node",
      "category": "review",
      "subcategory": "model",
      "typeDefinitions": {
        "records": [
          {
            "recordKey": "structural_model",
            "fields": [
              {
                "fieldKey": "model_id",
                "type": {
                  "kind": "string"
                },
                "required": true,
                "nullable": false
              }
            ],
            "rowKeyField": "model_id"
          }
        ]
      },
      "inputs": [
        {
          "portKey": "model",
          "type": {
            "kind": "record",
            "recordKey": "structural_model"
          },
          "description": "Structural model reference.",
          "required": true,
          "nullable": false
        }
      ],
      "results": [
        {
          "portKey": "issue_count",
          "type": {
            "kind": "int64"
          },
          "description": "Detected model issue count.",
          "nullable": false
        }
      ],
      "executorEntry": "content/model_check.py",
      "presentation": {
        "icon": "boxes",
        "summaryResultKeys": [
          "issue_count"
        ]
      }
    },
    {
      "$schema": "https://pipelinexlab.com/contracts/component-descriptor.v2.schema.json",
      "schemaVersion": 2,
      "componentKey": "pressure_limit_check",
      "componentContractVersion": 1,
      "label": "Pressure limit check",
      "description": "Checks pressure values against a package-defined limit.",
      "classification": "flow-node",
      "category": "review",
      "subcategory": "table",
      "typeDefinitions": {
        "records": []
      },
      "inputs": [
        {
          "portKey": "rows",
          "type": {
            "kind": "list",
            "items": {
              "kind": "float64"
            }
          },
          "description": "Pressure values to review.",
          "unit": "Pa",
          "required": true,
          "nullable": false
        }
      ],
      "results": [
        {
          "portKey": "passed",
          "type": {
            "kind": "boolean"
          },
          "description": "Whether all values satisfy the limit.",
          "nullable": false
        }
      ],
      "executorEntry": "content/pressure_limit_check.py",
      "presentation": {
        "icon": "table-2",
        "summaryResultKeys": [
          "passed"
        ]
      }
    }
  ],
  "declarations": [
    {
      "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
      "schemaVersion": 2,
      "componentKey": "model_check",
      "componentContractVersion": 3,
      "label": "Model check",
      "description": "Checks a connected structural model.",
      "classification": "flow-node",
      "category": "review",
      "subcategory": "model",
      "typeDefinitions": {
        "records": [
          {
            "recordKey": "structural_model",
            "fields": [
              {
                "fieldKey": "model_id",
                "type": {
                  "kind": "string"
                },
                "required": true,
                "nullable": false
              }
            ],
            "rowKeyField": "model_id"
          }
        ]
      },
      "inputs": [
        {
          "portKey": "model",
          "type": {
            "kind": "record",
            "recordKey": "structural_model"
          },
          "description": "Structural model reference.",
          "required": true,
          "nullable": false
        }
      ],
      "results": [
        {
          "portKey": "issue_count",
          "type": {
            "kind": "int64"
          },
          "description": "Detected model issue count.",
          "nullable": false
        }
      ],
      "executorEntry": "content/model_check.py",
      "presentation": {
        "icon": "boxes",
        "summaryResultKeys": [
          "issue_count"
        ]
      }
    },
    {
      "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
      "schemaVersion": 2,
      "componentKey": "pressure_limit_check",
      "componentContractVersion": 1,
      "label": "Pressure limit check",
      "description": "Checks pressure values against a package-defined limit.",
      "classification": "flow-node",
      "category": "review",
      "subcategory": "table",
      "typeDefinitions": {
        "records": []
      },
      "inputs": [
        {
          "portKey": "rows",
          "type": {
            "kind": "list",
            "items": {
              "kind": "float64"
            }
          },
          "description": "Pressure values to review.",
          "unit": "Pa",
          "required": true,
          "nullable": false
        }
      ],
      "results": [
        {
          "portKey": "passed",
          "type": {
            "kind": "boolean"
          },
          "description": "Whether all values satisfy the limit.",
          "nullable": false
        }
      ],
      "executorEntry": "content/pressure_limit_check.py",
      "presentation": {
        "icon": "table-2",
        "summaryResultKeys": [
          "passed"
        ]
      }
    }
  ],
  "pythonSources": {
    "content/model_check.py": "def execute(inputs, settings):\n    return {\"issue_count\": 0}\n",
    "content/pressure_limit_check.py": "def execute(inputs, settings):\n    return {\"passed\": True}\n"
  },
  "resolvedComponentRefs": [
    {
      "publisher": "midas",
      "packageKey": "midas_civil",
      "packageVersion": "2.3.4",
      "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
      "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
      "componentKey": "model_check",
      "componentContractVersion": 3
    },
    {
      "publisher": "midas",
      "packageKey": "midas_civil",
      "packageVersion": "2.3.4",
      "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
      "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
      "componentKey": "pressure_limit_check",
      "componentContractVersion": 1
    }
  ],
  "projectedHostValues": [
    {
      "$schema": "https://pipelinexlab.com/contracts/component-declarative-node-value.v1.schema.json",
      "schemaVersion": 1,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      },
      "label": "Model check",
      "presentation": {
        "icon": "boxes",
        "summaryResultKeys": [
          "issue_count"
        ]
      }
    },
    {
      "$schema": "https://pipelinexlab.com/contracts/component-declarative-node-value.v1.schema.json",
      "schemaVersion": 1,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "pressure_limit_check",
        "componentContractVersion": 1
      },
      "label": "Pressure limit check",
      "presentation": {
        "icon": "table-2",
        "summaryResultKeys": [
          "passed"
        ]
      }
    }
  ],
  "hostTypeLabelCases": [
    {
      "id": "simple-kind",
      "descriptor": {
        "kind": "float64"
      },
      "expectedLabel": "float64"
    },
    {
      "id": "enum-count-without-values",
      "descriptor": {
        "kind": "enum",
        "values": [
          "alpha",
          "beta",
          "delta",
          "gamma"
        ]
      },
      "expectedLabel": "enum[4]"
    },
    {
      "id": "record-key",
      "descriptor": {
        "kind": "record",
        "recordKey": "structural_model"
      },
      "expectedLabel": "record<structural_model>"
    },
    {
      "id": "nested-collection",
      "descriptor": {
        "kind": "list",
        "items": {
          "kind": "table",
          "row": {
            "kind": "record",
            "recordKey": "load_case"
          }
        }
      },
      "expectedLabel": "list<table<record<load_case>>>"
    },
    {
      "id": "calculation-trace",
      "descriptor": {
        "kind": "calculation_trace"
      },
      "expectedLabel": "calculation_trace"
    }
  ],
  "topologyFacetCases": [
    {
      "id": "manual-input",
      "inputCount": 0,
      "resultCount": 1,
      "expectedFacet": "source",
      "expectedExecutionRoleInference": "none"
    },
    {
      "id": "calculation",
      "inputCount": 1,
      "resultCount": 1,
      "expectedFacet": "processor",
      "expectedExecutionRoleInference": "none"
    },
    {
      "id": "delivery",
      "inputCount": 1,
      "resultCount": 0,
      "expectedFacet": "sink",
      "expectedExecutionRoleInference": "none"
    },
    {
      "id": "control-marker",
      "inputCount": 0,
      "resultCount": 0,
      "expectedFacet": "standalone",
      "expectedExecutionRoleInference": "none"
    }
  ],
  "componentContractEvolution": {
    "comparisonRelation": "publisher-package-release-lineage-successor",
    "previous": {
      "publisher": "midas",
      "packageKey": "midas_civil",
      "packageVersion": "2.3.4",
      "declarationIndex": 0
    },
    "previousTypedCompatibilityDigest": "sha256:e9e55c8448d456c0846c480ab68375010e1b14538bf720cf2f24b443836e9d63",
    "nextTypedContractVariants": {
      "issue-and-warning-counts": {
        "typeDefinitions": {
          "records": [
            {
              "recordKey": "structural_model",
              "fields": [
                {
                  "fieldKey": "model_id",
                  "type": {
                    "kind": "string"
                  },
                  "required": true,
                  "nullable": false
                }
              ],
              "rowKeyField": "model_id"
            }
          ]
        },
        "inputs": [
          {
            "portKey": "model",
            "type": {
              "kind": "record",
              "recordKey": "structural_model"
            },
            "description": "Structural model reference.",
            "required": true,
            "nullable": false
          }
        ],
        "results": [
          {
            "portKey": "issue_count",
            "type": {
              "kind": "int64"
            },
            "description": "Detected model issue count.",
            "nullable": false
          },
          {
            "portKey": "warning_count",
            "type": {
              "kind": "int64"
            },
            "description": "Detected model warning count.",
            "nullable": false
          }
        ]
      }
    },
    "cases": [
      {
        "id": "same-version-same-typed-contract",
        "nextPackageVersion": "2.3.5",
        "nextComponentKey": "model_check",
        "nextComponentContractVersion": 3,
        "nextTypedContract": "previous",
        "expectedDecision": "admit-existing-contract-version"
      },
      {
        "id": "same-version-release-pinned-changes",
        "nextPackageVersion": "2.3.5",
        "nextComponentKey": "model_check",
        "nextComponentContractVersion": 3,
        "nextTypedContract": "previous",
        "nextReleasePinnedDeclarationChanges": {
          "label": "Model audit",
          "description": "Checks a connected structural model under the new exact package release.",
          "executorEntry": "content/pressure_limit_check.py",
          "presentation": {
            "icon": "table-2",
            "summaryResultKeys": [
              "issue_count"
            ]
          }
        },
        "expectedDecision": "admit-existing-contract-version"
      },
      {
        "id": "same-version-port-change",
        "nextPackageVersion": "2.3.5",
        "nextComponentKey": "model_check",
        "nextComponentContractVersion": 3,
        "nextTypedContract": "issue-and-warning-counts",
        "expectedDecision": "reject-contract-version-bump-required"
      },
      {
        "id": "bumped-version-port-change",
        "nextPackageVersion": "2.3.5",
        "nextComponentKey": "model_check",
        "nextComponentContractVersion": 4,
        "nextTypedContract": "issue-and-warning-counts",
        "expectedDecision": "admit-new-contract-version"
      },
      {
        "id": "decreased-version-same-typed-contract",
        "nextPackageVersion": "2.3.5",
        "nextComponentKey": "model_check",
        "nextComponentContractVersion": 2,
        "nextTypedContract": "previous",
        "expectedDecision": "reject-contract-version-decrease"
      },
      {
        "id": "renamed-key-new-identity",
        "nextPackageVersion": "2.3.5",
        "nextComponentKey": "structural_model_check",
        "nextComponentContractVersion": 1,
        "nextTypedContract": "previous",
        "expectedDecision": "admit-new-component-identity"
      }
    ]
  },
  "richSurfaceIntentCases": [
    {
      "id": "interactive-model-viewer",
      "requestedTier": "isolated_rich_surface",
      "expectedDecision": "reject-rfc-014-required"
    },
    {
      "id": "interactive-result-table",
      "requestedTier": "isolated_rich_surface",
      "expectedDecision": "reject-rfc-014-required"
    },
    {
      "id": "iframe-embed",
      "requestedTier": "isolated_rich_surface",
      "expectedDecision": "reject-rfc-014-required"
    }
  ],
  "v2PlacementCases": [
    {
      "id": "v2-omitted-node-settings",
      "expectedDecision": "accept",
      "componentNode": {
        "nodeKey": "model_check_default_settings",
        "target": {
          "kind": "component",
          "publisher": "midas",
          "packageKey": "midas_civil",
          "packageVersion": "2.3.4",
          "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
          "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
          "componentKey": "model_check",
          "componentContractVersion": 3
        },
        "inputBindings": {}
      }
    },
    {
      "id": "v2-empty-node-settings",
      "expectedDecision": "accept",
      "componentNode": {
        "nodeKey": "model_check",
        "target": {
          "kind": "component",
          "publisher": "midas",
          "packageKey": "midas_civil",
          "packageVersion": "2.3.4",
          "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
          "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
          "componentKey": "model_check",
          "componentContractVersion": 3
        },
        "inputBindings": {},
        "settings": {}
      }
    },
    {
      "id": "v2-non-empty-node-settings",
      "expectedDecision": "reject-v2-settings-not-owned",
      "componentNode": {
        "nodeKey": "model_check_with_settings",
        "target": {
          "kind": "component",
          "publisher": "midas",
          "packageKey": "midas_civil",
          "packageVersion": "2.3.4",
          "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
          "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
          "componentKey": "model_check",
          "componentContractVersion": 3
        },
        "inputBindings": {},
        "settings": {
          "camera_mode": "orbit"
        }
      }
    }
  ],
  "v2ExecutionMaterializationCases": [
    {
      "id": "exact-component-ref",
      "expectedDecision": "accept",
      "effectiveClosureSource": "project-installed-closure",
      "executionScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "installedClosureScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "publicMarketplace",
      "signatureState": "verified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": true,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      }
    },
    {
      "id": "component-contract-version-mismatch",
      "expectedDecision": "reject-component-contract-version-mismatch",
      "effectiveClosureSource": "project-installed-closure",
      "executionScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "installedClosureScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "publicMarketplace",
      "signatureState": "verified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": true,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 2
      }
    },
    {
      "id": "cross-project-installed-closure-mismatch",
      "expectedDecision": "reject-project-installed-closure-mismatch",
      "effectiveClosureSource": "project-installed-closure",
      "executionScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_2"
      },
      "installedClosureScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "publicMarketplace",
      "signatureState": "verified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": true,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      }
    },
    {
      "id": "cross-workspace-same-project-installed-closure-mismatch",
      "expectedDecision": "reject-project-installed-closure-mismatch",
      "effectiveClosureSource": "project-installed-closure",
      "executionScope": {
        "kind": "project",
        "workspaceKey": "workspace_b",
        "projectKey": "stage_1"
      },
      "installedClosureScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "publicMarketplace",
      "signatureState": "verified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": true,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      }
    },
    {
      "id": "missing-workspace-project-scope",
      "expectedDecision": "reject-invalid-project-scope",
      "effectiveClosureSource": "project-installed-closure",
      "executionScope": {
        "kind": "project",
        "projectKey": "stage_1"
      },
      "installedClosureScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "publicMarketplace",
      "signatureState": "verified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": true,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      }
    },
    {
      "id": "local-unsigned-exact-scope-accepted",
      "expectedDecision": "accept",
      "effectiveClosureSource": "project-installed-closure",
      "executionScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "installedClosureScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "localUserAccepted",
      "signatureState": "absent",
      "explicitAcceptanceProvided": true,
      "warningProvided": true,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": null,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      }
    },
    {
      "id": "stale-execution-revocation-evidence",
      "expectedDecision": "reject-execution-trust-revalidation",
      "effectiveClosureSource": "project-installed-closure",
      "executionScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "installedClosureScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "publicMarketplace",
      "signatureState": "verified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": false,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      }
    },
    {
      "id": "missing-execution-acceptance-audit",
      "expectedDecision": "reject-execution-trust-revalidation",
      "effectiveClosureSource": "project-installed-closure",
      "executionScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "installedClosureScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "localUserAccepted",
      "signatureState": "absent",
      "explicitAcceptanceProvided": true,
      "warningProvided": true,
      "auditAvailable": false,
      "signedRevocationEvidenceFresh": null,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      }
    },
    {
      "id": "host-bundled-effective-closure-accepted",
      "expectedDecision": "accept",
      "effectiveClosureSource": "host-bundled-admitted-exact-releases",
      "hostBundledAdmissionCurrent": true,
      "executionScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "publicMarketplace",
      "signatureState": "verified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": true,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      }
    },
    {
      "id": "host-bundled-not-admitted-rejected",
      "expectedDecision": "reject-effective-project-closure-membership",
      "effectiveClosureSource": "host-bundled-admitted-exact-releases",
      "hostBundledAdmissionCurrent": false,
      "executionScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "publicMarketplace",
      "signatureState": "verified",
      "explicitAcceptanceProvided": false,
      "warningProvided": false,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": true,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      }
    },
    {
      "id": "host-bundled-unsigned-never-globalized",
      "expectedDecision": "reject-execution-trust-revalidation",
      "effectiveClosureSource": "host-bundled-admitted-exact-releases",
      "hostBundledAdmissionCurrent": true,
      "executionScope": {
        "kind": "project",
        "workspaceKey": "workspace_a",
        "projectKey": "stage_1"
      },
      "channel": "localUserAccepted",
      "signatureState": "absent",
      "explicitAcceptanceProvided": true,
      "warningProvided": true,
      "auditAvailable": true,
      "signedRevocationEvidenceFresh": null,
      "componentRef": {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      }
    }
  ],
  "v2NamespaceResolution": {
    "candidates": [
      {
        "publisher": "midas",
        "packageKey": "midas_civil",
        "packageVersion": "2.3.4",
        "packageDigest": "sha256:4444444444444444444444444444444444444444444444444444444444444444",
        "releaseByteDigest": "sha256:5555555555555555555555555555555555555555555555555555555555555555",
        "componentKey": "model_check",
        "componentContractVersion": 3
      },
      {
        "publisher": "openstruct",
        "packageKey": "model_tools",
        "packageVersion": "1.4.0",
        "packageDigest": "sha256:6666666666666666666666666666666666666666666666666666666666666666",
        "releaseByteDigest": "sha256:7777777777777777777777777777777777777777777777777777777777777777",
        "componentKey": "model_check",
        "componentContractVersion": 1
      }
    ],
    "cases": [
      {
        "id": "qualified-midas-model-viewer",
        "effectiveClosureSource": "project-installed-closure",
        "authoringTarget": {
          "publisher": "midas",
          "packageKey": "midas_civil",
          "componentKey": "model_check"
        },
        "expectedDecision": "resolve-exact-component-ref",
        "expectedCandidateIndex": 0
      },
      {
        "id": "qualified-openstruct-model-viewer",
        "effectiveClosureSource": "project-installed-closure",
        "authoringTarget": {
          "publisher": "openstruct",
          "packageKey": "model_tools",
          "componentKey": "model_check"
        },
        "expectedDecision": "resolve-exact-component-ref",
        "expectedCandidateIndex": 1
      },
      {
        "id": "qualified-host-bundled-model-viewer",
        "effectiveClosureSource": "host-bundled-admitted-exact-releases",
        "authoringTarget": {
          "publisher": "midas",
          "packageKey": "midas_civil",
          "componentKey": "model_check"
        },
        "expectedDecision": "resolve-exact-component-ref",
        "expectedCandidateIndex": 0
      },
      {
        "id": "unqualified-model-viewer",
        "authoringTarget": {
          "componentKey": "model_check"
        },
        "expectedDecision": "reject-unqualified-or-ambiguous-component-key"
      }
    ]
  },
  "currentV1Compatibility": {
    "portableContainer": {
      "requiredContractVersion": 1,
      "declarationPath": "content/component.json",
      "declarationsPerComponentContainer": 1,
      "classification": "flow-node",
      "presentationMembers": [
        "icon",
        "summaryResultKeys"
      ]
    },
    "pythonDistribution": {
      "mayExportManyComponents": true
    },
    "authoringDescriptor": {
      "acceptedCategoryExample": "review"
    },
    "nodePlacement": {
      "settingsExample": {
        "layout": "compact"
      }
    }
  },
  "portUnitBoundCases": [
    {
      "id": "port-unit-at-the-projection-bound",
      "unitScalarValues": 64,
      "unitUtf16CodeUnits": 65,
      "expectedDeclarationSchema": "invalid",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "unit_at_bound",
        "componentContractVersion": 1,
        "label": "Unit at bound",
        "description": "A 64 scalar presentation string is not an approved executable UCUM code.",
        "classification": "flow-node",
        "category": "calculate",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [
          {
            "portKey": "bearing_pressure",
            "type": {
              "kind": "float64"
            },
            "description": "Bearing pressure.",
            "unit": "kilonewton-metre-per-square-metre-of-effective-contact-areaaaaa𝜎",
            "required": true,
            "nullable": false
          }
        ],
        "results": [
          {
            "portKey": "utilisation",
            "type": {
              "kind": "float64"
            },
            "description": "Utilisation.",
            "unit": "kilonewton-metre-per-square-metre-of-effective-contact-areaaaaa𝜎",
            "nullable": false
          }
        ],
        "executorEntry": "content/unit_at_bound.py",
        "presentation": {
          "icon": "gauge",
          "summaryResultKeys": []
        }
      }
    },
    {
      "id": "port-unit-past-the-projection-bound",
      "unitScalarValues": 65,
      "unitUtf16CodeUnits": 66,
      "expectedDeclarationSchema": "invalid",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "unit_past_bound",
        "componentContractVersion": 1,
        "label": "Unit past bound",
        "description": "A 65 scalar unit code the presentation port could only project truncated.",
        "classification": "flow-node",
        "category": "calculate",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [
          {
            "portKey": "bearing_pressure",
            "type": {
              "kind": "float64"
            },
            "description": "Bearing pressure.",
            "unit": "kilonewton-metre-per-square-metre-of-effective-contact-areaaaaa𝜎b",
            "required": true,
            "nullable": false
          }
        ],
        "results": [
          {
            "portKey": "utilisation",
            "type": {
              "kind": "float64"
            },
            "description": "Utilisation.",
            "unit": "kilonewton-metre-per-square-metre-of-effective-contact-areaaaaa𝜎b",
            "nullable": false
          }
        ],
        "executorEntry": "content/unit_past_bound.py",
        "presentation": {
          "icon": "gauge",
          "summaryResultKeys": []
        }
      }
    }
  ],
  "invalidCases": [
    {
      "id": "unknown-v2-primary-category",
      "expectedFailure": "declaration-schema",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "model_check",
        "componentContractVersion": 3,
        "label": "Model check",
        "description": "Checks a connected structural model.",
        "classification": "flow-node",
        "category": "views",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [],
        "results": [],
        "executorEntry": "content/model_check.py",
        "presentation": {
          "icon": "boxes",
          "summaryResultKeys": []
        }
      }
    },
    {
      "id": "external-canvas-renderer-field",
      "expectedFailure": "declaration-schema",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "model_check",
        "componentContractVersion": 3,
        "label": "Model check",
        "description": "Checks a connected structural model.",
        "classification": "flow-node",
        "category": "review",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [],
        "results": [],
        "executorEntry": "content/model_check.py",
        "presentation": {
          "icon": "boxes",
          "summaryResultKeys": [],
          "rendererModule": "content/viewer.js"
        }
      }
    },
    {
      "id": "unsupported-higher-declaration-schema-version",
      "expectedFailure": "declaration-schema",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 3,
        "componentKey": "model_check",
        "componentContractVersion": 3,
        "label": "Model check",
        "description": "Checks a connected structural model.",
        "classification": "flow-node",
        "category": "review",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [],
        "results": [],
        "executorEntry": "content/model_check.py",
        "presentation": {
          "icon": "boxes",
          "summaryResultKeys": []
        }
      }
    },
    {
      "id": "summary-result-key-not-declared",
      "expectedFailure": "declaration-semantics",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "model_check",
        "componentContractVersion": 3,
        "label": "Model check",
        "description": "Checks a connected structural model.",
        "classification": "flow-node",
        "category": "review",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [],
        "results": [],
        "executorEntry": "content/model_check.py",
        "presentation": {
          "icon": "boxes",
          "summaryResultKeys": [
            "missing"
          ]
        }
      }
    },
    {
      "id": "executor-in-reserved-declaration-subtree",
      "expectedFailure": "declaration-schema",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "model_check",
        "componentContractVersion": 3,
        "label": "Model check",
        "description": "Checks a connected structural model.",
        "classification": "flow-node",
        "category": "review",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [],
        "results": [],
        "executorEntry": "content/components/model_check.py",
        "presentation": {
          "icon": "boxes",
          "summaryResultKeys": []
        }
      }
    },
    {
      "id": "declaration-settings-field-unowned",
      "expectedFailure": "declaration-schema",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "model_check",
        "componentContractVersion": 3,
        "label": "Model check",
        "description": "Checks a connected structural model.",
        "classification": "flow-node",
        "category": "review",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [],
        "results": [],
        "executorEntry": "content/model_check.py",
        "presentation": {
          "icon": "boxes",
          "summaryResultKeys": []
        },
        "settings": {}
      }
    },
    {
      "id": "dangling-record-reference",
      "expectedFailure": "declaration-semantics",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "dangling_record",
        "componentContractVersion": 1,
        "label": "Dangling record",
        "description": "Must fail because its record type has no owned definition.",
        "classification": "flow-node",
        "category": "calculate",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [
          {
            "portKey": "state",
            "type": {
              "kind": "record",
              "recordKey": "missing_state"
            },
            "description": "Unresolved state.",
            "required": true,
            "nullable": false
          }
        ],
        "results": [],
        "executorEntry": "content/dangling_record.py",
        "presentation": {
          "icon": "boxes",
          "summaryResultKeys": []
        }
      }
    },
    {
      "id": "unknown-governed-icon",
      "expectedFailure": "declaration-semantics",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "unknown_icon",
        "componentContractVersion": 1,
        "label": "Unknown icon",
        "description": "Must fail because the host has no governed glyph.",
        "classification": "flow-node",
        "category": "review",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [],
        "results": [],
        "executorEntry": "content/unknown_icon.py",
        "presentation": {
          "icon": "not-in-governed-inventory",
          "summaryResultKeys": []
        }
      }
    },
    {
      "id": "input-port-missing-nullability",
      "expectedFailure": "declaration-schema",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "bad_input_port",
        "componentContractVersion": 1,
        "label": "Bad input port",
        "description": "Must fail the direction-specific input contract.",
        "classification": "flow-node",
        "category": "input",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [
          {
            "portKey": "value",
            "type": {
              "kind": "float64"
            },
            "description": "Missing nullable.",
            "required": true
          }
        ],
        "results": [],
        "executorEntry": "content/bad_input_port.py",
        "presentation": {
          "icon": "file-input",
          "summaryResultKeys": []
        }
      }
    },
    {
      "id": "result-port-forbids-required",
      "expectedFailure": "declaration-schema",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "bad_result_port",
        "componentContractVersion": 1,
        "label": "Bad result port",
        "description": "Must fail the direction-specific result contract.",
        "classification": "flow-node",
        "category": "deliver",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [],
        "results": [
          {
            "portKey": "value",
            "type": {
              "kind": "float64"
            },
            "description": "A result cannot be required input.",
            "nullable": false,
            "required": true
          }
        ],
        "executorEntry": "content/bad_result_port.py",
        "presentation": {
          "icon": "file-output",
          "summaryResultKeys": []
        }
      }
    },
    {
      "id": "publisher-label-bidi-control",
      "expectedFailure": "declaration-schema",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "spoofed_label",
        "componentContractVersion": 1,
        "label": "Safe ‮exe.txt",
        "description": "Must fail because publisher text contains a bidi override.",
        "classification": "flow-node",
        "category": "review",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [],
        "results": [],
        "executorEntry": "content/spoofed_label.py",
        "presentation": {
          "icon": "boxes",
          "summaryResultKeys": []
        }
      }
    },
    {
      "id": "publisher-label-non-nfc",
      "expectedFailure": "declaration-semantics",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "non_nfc_label",
        "componentContractVersion": 1,
        "label": "Café model",
        "description": "Must fail because publisher text is not NFC-normalized.",
        "classification": "flow-node",
        "category": "review",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [],
        "results": [],
        "executorEntry": "content/non_nfc_label.py",
        "presentation": {
          "icon": "boxes",
          "summaryResultKeys": []
        }
      }
    },
    {
      "id": "empty-unit-code",
      "expectedFailure": "declaration-schema",
      "candidateDeclaration": {
        "$schema": "https://pipelinexlab.com/contracts/component-package-declaration.v2.schema.json",
        "schemaVersion": 2,
        "componentKey": "empty_unit",
        "componentContractVersion": 1,
        "label": "Empty unit",
        "description": "Must fail the RFC-003 UnitCode reference.",
        "classification": "flow-node",
        "category": "calculate",
        "typeDefinitions": {
          "records": []
        },
        "inputs": [
          {
            "portKey": "pressure",
            "type": {
              "kind": "float64"
            },
            "description": "Pressure.",
            "unit": "",
            "required": true,
            "nullable": false
          }
        ],
        "results": [],
        "executorEntry": "content/empty_unit.py",
        "presentation": {
          "icon": "gauge",
          "summaryResultKeys": []
        }
      }
    }
  ]
}
