schematic.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. backendname: schematics
  2. description: Willies World Schematics Database
  3. models:
  4. - name: schematic
  5. fields:
  6. - name: Manufacturer
  7. type: string
  8. mandatory: true
  9. collection: false
  10. - name: Model
  11. type: string
  12. mandatory: true
  13. collection: false
  14. - name: Tags
  15. type: string
  16. mandatory: false
  17. collection: true
  18. - name: Files
  19. type: file
  20. mandatory: false
  21. collection: true
  22. indexes:
  23. - name: $fulltext
  24. fields:
  25. - Manufacturer
  26. - Model
  27. - Tags
  28. - name: Foreignid
  29. unique: true
  30. fields:
  31. - Foreignid
  32. - name: manufacturers
  33. fields:
  34. - name: name
  35. type: string
  36. mandatory: true
  37. collection: false
  38. indexes:
  39. - name: name
  40. unique: true
  41. fields:
  42. - name
  43. - name: tags
  44. fields:
  45. - name: name
  46. type: string
  47. mandatory: true
  48. collection: false
  49. indexes:
  50. - name: name
  51. unique: true
  52. fields:
  53. - name