Sha256: 2af64d2666ece661a3e6a48efb389ce4affa4242d9b1a817cea9bde4271a1b82

Contents?: true

Size: 1.6 KB

Versions: 16

Compression:

Stored size: 1.6 KB

Contents

# this is a comment

# @schema "public"
# @include "file"
# @reserve table, table, table...
#
#@reflect users.last_post_id nil

alice: Users
  name: "Alice"
  age: 20
  groups: [supers, users]
  picture:
    title: Picture of Alice
    blob: "image"
  role: &alices_role # this is a comment
    name: "Administrator" # this is a comment
    active: true # this is a comment

alice: Users
  last_post: *alices_first_post

alices_blog: Blogs
  user: *alice
  title: "Alice's Blog"

Roles
  - &user_role
    name: "User"
    active: true
  - &anon_role
    name: "Anon"
    active: true

Posts
  - &alices_first_post
    blog: *alices_blog
    head: My first blog post
    body: This is the first post in my new blog
    created_at: "1970-01-01"

bob: Users
  name: "Bob"
  role: *alices_role
  last_post: *bobs_last_post
  groups: ["42", "43"]
  blogs:
    - title: "Bob's Blog"
      posts:
        - &bobs_first_post
          head: Bobs first blog post
          body: Hi Alice!
          created_at: "1970-01-01"
        - &bobs_last_post
          head: Happy birthday!
          body: Cakeday!
          created_at: "1970-01-02"

bill: Users
  name: Bill
  role: *user_role
  groups: []

Comments
  - author: *bill
    post: *alices_first_post
    head: Congratulations !
    body: Good luck
    created_at: "1970-01-01 00:00"
  - author: &lizzy
      name: Lizzy
      role: *user_role
      comments:
        - post: *bobs_first_post
          head: "Me too"
          body: "Hugs from Lizzy"
          created_at: "1970-01-03"

    post: *alices_first_post
    head: ""
    body: Same from me
    created_at: "1970-01-01 00:01"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fixture_fox-0.2.12 examples/array.fox
fixture_fox-0.2.11 examples/array.fox
fixture_fox-0.2.10 examples/array.fox
fixture_fox-0.2.9 examples/array.fox
fixture_fox-0.2.8 examples/array.fox
fixture_fox-0.2.7 examples/array.fox
fixture_fox-0.2.6 examples/array.fox
fixture_fox-0.2.5 examples/array.fox
fixture_fox-0.2.4 examples/array.fox
fixture_fox-0.2.3 examples/array.fox
fixture_fox-0.2.2 examples/array.fox
fixture_fox-0.2.1 examples/array.fox
fixture_fox-0.2.0 examples/array.fox
fixture_fox-0.1.3 examples/array.fox
fixture_fox-0.1.2 examples/array.fox
fixture_fox-0.1.1 examples/array.fox