{
  "release": {
    "version": "1.0",
    "status": "released"
  },
  "display_names": {
    "reaction": {
      "zh": "iSynth 反应数据规范",
      "en": "iSynth Reaction Data Specification"
    },
    "table": {
      "zh": "CSV/Excel 导入列映射目录",
      "en": "CSV/Excel import column catalog"
    }
  },
  "versions": {
    "schema_version": "isynth.reaction/1.0",
    "storage_representation": "normalized",
    "schema_revision": "1.0",
    "rules_version": "isynth.import-rules/1.0",
    "schema_digest": "27459af65fbe05b49064c817db8402b578d134b1c0cdd25ad9c70770d85fc37a",
    "input_profile": "isynth.reaction/1.0",
    "converter_version": "1.0",
    "table_version": "isynth.human-table/1.0",
    "table_revision": "1.0"
  },
  "representations": {
    "inline": {
      "version": "isynth.reaction/1.0",
      "discriminator": "profile",
      "upload_input": true,
      "schema": "/schemas/compact-reaction.schema.json"
    },
    "normalized": {
      "version": "isynth.reaction/1.0",
      "discriminator": "schema_version",
      "upload_input": false,
      "schema": "/schemas/reaction-object.schema.json"
    }
  },
  "interoperability": {
    "zh": "反应 JSON 是统一数据规范；CSV/Excel 列映射仅导入每行一个单步、单阶段反应。原始表格保留为来源证据。多步、多阶段及复杂测量使用 JSON/JSONL。",
    "en": "Reaction JSON is the common data specification. CSV/Excel mappings import one single-step, single-stage reaction per row; retain source tables as evidence. Use JSON/JSONL for multiple steps or stages and complex measurements."
  },
  "grouping": {
    "zh": "每行独立解析，不按编号或步骤列跨行合并；多步、多阶段实验使用 JSON/JSONL。",
    "en": "Parse each row independently, without grouping by identifiers or step columns. Use JSON/JSONL for multistep or multistage experiments."
  },
  "table_limits": {
    "material_slots": 20
  },
  "validation": {
    "rest": {
      "url": "/api/reaction-contract/validate",
      "max_request_bytes": 2097152,
      "inputs": [
        "one reaction JSON object",
        "one table row",
        "rows envelope containing one reaction row"
      ],
      "rows_example": {
        "rows": [
          {
            "reaction_identifier": "EXP-001",
            "reactant_1_structure": "CCO",
            "product_structure": "CC=O"
          }
        ]
      },
      "mapping_keys": [
        "column_mapping",
        "source_units"
      ],
      "authentication": "signed-in user"
    },
    "mcp": {
      "tool": "validate_reaction_records",
      "max_records": 50,
      "max_payload_bytes": 1048576,
      "authentication": "uploads:write",
      "grouping": "One logical data sheet per call. Each row is an independent reaction; results identify source_rows (1-based)."
    },
    "upload": {
      "table_cell_max_characters": 64000,
      "reaction_record_max_characters": 512000,
      "batch_max_bytes": 1048576,
      "policy": "REST/MCP validation checks per-cell upload limits. File previews only sample and truncate data; they are not validation. Request and upload-batch limits are separate. Validation never uploads or guarantees publication; inspect the final parse report."
    }
  },
  "links": {
    "table_mapping": "/schemas/reaction-table-mapping.json",
    "table_mapping_guide": "/schemas/reaction-table-mapping.md",
    "validation_guide": "/schemas/reaction-input-guide.md"
  }
}
