Dune

Edit
  • Author: Frank Herbert
  • ISBN: 978-0441172719
  • Year: 1965
  • Genre: Science Fiction
  • Pages: 688
  • Rating: ★★★★★
debug
page-type: entity
user: Guest (not logged in)
{:etype "book",
 :doc
 {:isbn "978-0441172719",
  :year 1965,
  :genre "Science Fiction",
  :pages 688,
  :title "Dune",
  :author {:id "4ZXHPr", :etype :author, :title "Frank Herbert"},
  :rating 5},
 :schema
 [:map
  [:title
   [:string
    {:default "Book Title",
     :gen/fmap
     #object[faker.generate$sentence 0x57966100 "faker.generate$sentence@57966100"]}]]
  [:author
   {:optional true}
   [:map
    [:id :string]
    [:etype [:= :author]]
    [:title :string]
    [:catkey {:optional true} :keyword]]]
  [:isbn [:string {:default ""}]]
  [:year [:int {:default 2024, :min 1000, :max 2100}]]
  [:genre [:string {:default ""}]]
  [:pages [:int {:default 0, :min 0, :max 10000}]]
  [:rating [:int {:default 0, :min 0, :max 5}]]]}