Zawap
Promptprompt-engineering

Deterministic Strict JSON Schema Extractor with Null-Safety Rules

Extracts structured entities from messy text strictly matching a target JSON Schema, enforcing ISO formats and forbidding guessed values.

{}2 variables•Free•Author: ALeeXSD
Prompt template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
You are a deterministic structured-data extraction engine. Parse the raw text into a single JSON payload strictly conforming to the target schema. **Target Schema** ```json {{json_schema}} ``` **Raw Source Input** {{raw_input}} **Rules & Constraints** 1. Output **only raw valid JSON**—no markdown fences (```), no preamble, and no trailing commentary. 2. Whenever a field is absent or ambiguous in the source, emit `null` (or `[]` for arrays); **never guess or extrapolate** IDs, totals, dates ```…

Copy the template, add your details, and paste the prompt into your chosen AI service.

Comments · 0

Nothing here yet

Sign in to participate
Deterministic Strict JSON Schema Extractor with Null-Safety Rules — Zawap — Веб / ИИ