home/roleplay/json-schema-prompt

Json Schema Prompt

GPTClaudeGemini··435 copies·updated 2026-07-14
json-schema-prompt.prompt
## Information Extraction – JSON Output

### Prompt
Extract the required information from the text below.

Rules:
- Return ONLY valid JSON
- Do not add explanations
- Use null if information is missing

Schema:
{
  "issue": "",
  "urgency": "low | medium | high",
  "sentiment": "positive | neutral | negative"
}

Text:
{{My laptop has been overheating frequently since last week and it shuts down during meetings. This is very frustrating and I need this fixed as soon as possible.}}

when to use it

Community prompt sourced from the open-source GitHub repo HasiniPadakandla/Prompt-Engineering-Portfolio (no explicit license). A "Json Schema Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

HasiniPadakandla/Prompt-Engineering-Portfolio · no explicit license