1. Use clear names

    • Choose field names that are descriptive
    • Use snake_case for consistency
    • Avoid special characters and spaces
  2. Add descriptions

    • Include clear descriptions for each field, especially for object and array fields
    • Explain any special requirements or formats
  3. Start simple

    • Begin with basic fields
    • Add complexity gradually as needed
    • Test your schema with sample documents and validate the output
  4. Group related fields

    • Use objects to group related information. For example, a person object might contain name, email, and phone fields.
    • Keep your schema organized and logical

Need Help?

If you need assistance with your schema, please contact us at tyler@getomni.ai.