Can keys in !define contain dots?

I’m allowing plugins of the system I’m building to define their own types. I know each plugin has a unique name, but multiple plugins might define a type of the same name, so I’d like to put them into a namespace per plugin.

So it’d look like:

{
    "!define": {
        "time.Month": {...},
        "calendar.Month": {...}
    }
}

Is this valid?

Definitions under !define should be local/private by default, so I don’t think you need to worry about this.

Hey Marijn, thanks for your quick reply.

The plugins I’m talking about are plugins within my own system. I’m creating a JSON defs structure from them programmatically, so I need unique keys.