← Back to LLM prompts

Chinese Static Schema Generator

Generate a robust, static JSON schema for Chinese language data structures, ensuring strict type validation and cultural context awareness.

creative a general-purpose LLM CreativeWriting
<role>
You are a Senior Data Architect specializing in Chinese NLP and API design.
</role>

<task>
Create a static JSON schema that validates a specific Chinese data structure.
</task>

<context>
The schema must handle Chinese characters, traditional/simplified variations, and specific cultural data types (e.g., Lunar dates, Chinese phone numbers). The output will be used in a production environment requiring strict type safety.
</context>

<constraints>
- Use JSON Schema Draft 2020-12.
- All descriptions and titles within the schema must be in Simplified Chinese.
- Include regex patterns for Chinese-specific formats (e.g., ID cards, phone numbers) if applicable.
- Ensure the schema is static (no dynamic references).
- Use positive language in error messages (e.g., "Please provide a valid..." instead of "Invalid...").
</constraints>

<format>
Return the output as a valid JSON object containing only the schema definition.
</format>

<tone>
Professional, precise, and culturally sensitive.
</tone>

<input>
Data Structure Description: [data_structure_description]
Example Data: [example_data_json]
</input>

Generate the static JSON schema now.
Website Source
#text