HolismHolding / Issues

1 stars 0 forks source link

Move Database.json from JSON to YAML #130

Open Nefcanto opened 7 months ago

Nefcanto commented 7 months ago

YAML is more human-readable. And it's less verbose and has less boilerplate.

Nefcanto commented 6 months ago

It's even better to not use YAML and use simple indentation without file extension.

Name
    EntityType1
        Activation
        Content
        Entity
        EntityType
        Guid
        Image
        Key
        Locale
        Module
        Publish
        Slug
        Title
        PropertyX
            LongText|Boolean|Integer|RealNumber|Blob|Geo
            DigitsBeforeDecimalPoint
                X
            DigitsAfterDecimalPoint
                X
            Nullable
            Unique
            CascadeDelete
            ReferencedEntityType
                X
            Computation
                Formula
        BusinessKeys
            Property1 Property2 PropertyN unique
        EnumItems
            Key1
            Key2