invopop / gobl.builder

GOBL Builder is an interactive, low code tool for building GOBL documents.
https://build.gobl.org
Apache License 2.0
5 stars 0 forks source link

Visual Editor: examples #59

Closed samlown closed 1 year ago

samlown commented 1 year ago

One possible solution would be to define "empty examples" for a specific set of schemas. When adding an org.Party for example, something like the following JSON would be used:

{
  "name": "",
  "tax_id": {
     "country": "",
     "code": ""
  },
  "addresses": [
     {
       "num": "",
       "street": "",
       "locality": "",
       "region": ""
     }
  ],
  "emails": [
     {
        "addr": ""
     }
  ]
}

While not so useful for JSON, this would produce a lot of empty boxes in the Visual editor which can be easily removed later.

juanmoliner commented 1 year ago

Agreed

Juan Moliner Malaxechevarría

Co-Founder

invopop.com ( http://invopop.com/ )

On Tue, Sep 19, 2023 at 10:00:33, Sam Lown < @.*** > wrote:

Assigned #59 ( https://github.com/invopop/gobl.builder/issues/59 ) to @ juanmoli9 ( https://github.com/juanmoli9 ).

— Reply to this email directly, view it on GitHub ( https://github.com/invopop/gobl.builder/issues/59#event-10407082218 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AFRYBSYTB373SW4NDFK2JQ3X3FGKDANCNFSM6AAAAAA454AL7M ). You are receiving this because you were assigned. Message ID: <invopop/gobl . builder/issue/59/issue_event/10407082218 @ github. com>