{
  "record_type": "teleon_cas_object_envelope/v1",
  "swhid": "swh:1:cnt:e5d0091ca3c1916932be4a956ebc9f09665d6261",
  "sha256_hex": "6a0836ddaeb675d5c1811c2c001bff8841cbc12bfab81d94d81afd4de04b7873",
  "r2_object_key": "sha256/6a/6a0836ddaeb675d5c1811c2c001bff8841cbc12bfab81d94d81afd4de04b7873",
  "storage_backend": "cloudflare_r2_plus_d1_index",
  "teleon_uri": "teleon://swh:1:cnt:e5d0091ca3c1916932be4a956ebc9f09665d6261",
  "vault_url": "https://files.teleon.dev/objects/swh:1:cnt:e5d0091ca3c1916932be4a956ebc9f09665d6261",
  "raw_stream_url": "https://files.teleon.dev/raw/sha256/6a0836ddaeb675d5c1811c2c001bff8841cbc12bfab81d94d81afd4de04b7873",
  "slug": "svg-parametric-drafting-card",
  "title": "Parametric SVG Schematic Card Generator (schematic_card.js)",
  "artifact_kind": "file_or_code_asset",
  "filename": "schematic_card.js",
  "content_type": "application/javascript; charset=utf-8",
  "byte_length": 1042,
  "spdx_license": "Apache-2.0",
  "facets": {
    "ast.symbol_ranges@v1": {
      "renderSchematicSvg": [
        1,
        14
      ]
    },
    "search.l0_card@v1": {
      "keywords": [
        "svg",
        "parametric",
        "creative",
        "diagram",
        "code"
      ]
    }
  },
  "provenance": {
    "submitter": "teleon-creative-core",
    "verified_maintainer": "teleon-creative-core",
    "repo_owner": "teleon-dev",
    "evidence_status": "verified_first_party"
  },
  "verification": {
    "tier": "deterministic_verified",
    "pass_at_k": 1,
    "pass_hat_k": 1,
    "k": 3,
    "spec_hash": "spec_code_svg_card_v1",
    "unreadable_inputs": []
  },
  "inline_text": "export function renderSchematicSvg({ code = '01', title = 'Acquire', detLabel = 'DET 0-call', agtLabel = 'AGENT' } = {}) {\n  const safe = (s) => String(s).replace(/[&<>\"']/g, '');\n  return `<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 360 112\" width=\"360\" height=\"112\">` +\n    `<rect x=\"1\" y=\"1\" width=\"358\" height=\"110\" rx=\"6\" fill=\"#fbfaf6\" stroke=\"#1c1b18\" stroke-width=\"1.25\"/>` +\n    `<text x=\"16\" y=\"28\" font-family=\"monospace\" font-size=\"12\" fill=\"#57544c\">UNIT ${safe(code)}</text>` +\n    `<text x=\"16\" y=\"54\" font-family=\"sans-serif\" font-size=\"16\" font-weight=\"700\" fill=\"#181715\">${safe(title)}</text>` +\n    `<rect x=\"16\" y=\"72\" width=\"118\" height=\"24\" rx=\"4\" fill=\"#e8f5ee\" stroke=\"#166534\"/>` +\n    `<text x=\"26\" y=\"88\" font-family=\"monospace\" font-size=\"11\" fill=\"#166534\">${safe(detLabel)}</text>` +\n    `<rect x=\"144\" y=\"72\" width=\"108\" height=\"24\" rx=\"4\" fill=\"#eef2ff\" stroke=\"#1d4ed8\"/>` +\n    `<text x=\"156\" y=\"88\" font-family=\"monospace\" font-size=\"11\" fill=\"#1d4ed8\">${safe(agtLabel)}</text>` +\n    `</svg>`;\n}\n",
  "created_at": "2026-10-24T22:58:13.446Z"
}
