{
  "artifact": {
    "bytes": 6676,
    "format": "sql",
    "mediaType": "text/sql",
    "path": "samples/states/supabase/saas-team/state.sql",
    "sha256": "70b33b36f4abe76466fb040b0cdb5edc9d798beb0cb22845eb2d6a3c57b6f6f1"
  },
  "capabilities": {
    "limitations": [
      "SQL samples are bounded to the safe state-loader subset; hosted reset behavior requires explicit certification."
    ],
    "required": [
      "state.read",
      "state.load.sql",
      "state.reset",
      "rest.tables"
    ],
    "supportedSurface": "PostgreSQL schema and fixture states with REST data-plane reads and writes."
  },
  "category": "small-team",
  "displayName": "Supabase SaaS team",
  "entityCounts": {
    "collections": {
      "profiles": 1,
      "subscriptions": 5,
      "team_members": 3,
      "teams": 2,
      "users": 5
    },
    "total": 16
  },
  "environmentId": "supabase",
  "expectedDiff": {
    "changedPathsInclude": [
      "database.tables"
    ],
    "exact": false,
    "notes": "Hosted promotion must observe every listed path after the provider-native mutation; dynamic provider ids and timestamps are excluded from exact matching."
  },
  "expectedFirstRead": {
    "body": null,
    "expectedStatus": [
      200
    ],
    "method": "GET",
    "operationId": "readUsersTable",
    "path": "/rest/v1/users?select=*",
    "transport": "provider-rest"
  },
  "id": "supabase.saas-team.v1",
  "provenance": {
    "authoredBy": "archal",
    "kind": "derived-fixture",
    "sanitizationNotes": [
      "Replaced 5 credential-shaped or non-example email SQL literal(s)."
    ],
    "sourcePath": "clones/supabase/seeds/saas-starter.sql",
    "sourceSha256": "97bbf2b36f655d33a447ceff49cbe6156efaa3413c511f4fc470eebb88575c43",
    "transformationNotes": [
      "Normalized line endings and sanitized literals from the pinned SQL fixture.",
      "Retained the complete selected source fixture; no tables or rows were sliced."
    ]
  },
  "purpose": "Exercise users, profiles, subscriptions, teams, memberships, RLS policies, trigger, and migration metadata.",
  "qualification": {
    "candidate": {
      "basis": "catalog-admission",
      "status": "passed"
    },
    "certification": {
      "evidencePath": null,
      "lastHostedVerificationAt": null,
      "runtimeBundleDigest": null,
      "sourceCommit": null,
      "status": "unknown"
    },
    "isolation": {
      "lastVerifiedAt": null,
      "status": "unknown"
    },
    "reset": {
      "expected": "restores-original-session-seed",
      "lastVerifiedAt": null,
      "status": "unknown"
    },
    "validation": {
      "checks": [
        "artifact-hash",
        "historical-source-lock",
        "state-contract",
        "scenario-semantics",
        "relationship-closure",
        "secret-scan",
        "size-limit"
      ],
      "status": "passed",
      "validator": "archal.environment-samples.v1"
    }
  },
  "representativeMutation": {
    "body": {
      "email": "maya.chen@example.test",
      "full_name": "Maya Chen"
    },
    "expectedStatus": [
      200,
      201,
      204
    ],
    "method": "POST",
    "operationId": "insertRow",
    "path": "/rest/v1/users",
    "transport": "provider-rest"
  },
  "schema": "archal.environment-sample",
  "schemaVersion": 1,
  "slug": "saas-team",
  "stateContract": {
    "format": "sql",
    "schema": "archal.environment-state.supabase",
    "version": 1
  }
}
