moonbitstack/moonmodel/examples/annotations does not have a README file

    Home

    pub struct Home {
    city : String
    zip : String
    }

    A model another one refers to. name= is what the projections call it.

    Home::describe

    Role

    pub enum Role {
    Admin
    Member
    Guest
    }

    The values a role may take: the constructors, as text.

    User

    pub struct User {
    id : Int64
    name : String
    email : String?
    age : Int?
    role : Role
    weight : Double
    home : Home
    tags : Array[String]
    joined : String
    count : Int
    visits : Int
    }

    A field without annotations is required, named after itself, and typed by its own type. T? may be left out and may be null; a default may be left out. #model.skip keeps a field out of the description altogether.

    User::describe