one-data-model / language

(Old repo:) Simple Definition Format (SDF) for One Data Model definitions
7 stars 4 forks source link

Replace "odmInclude" #84

Closed mjkoster closed 4 years ago

mjkoster commented 4 years ago

We resolved to replace "odmInclude" with a new reserved word.

The recommendation is "odmComponent" which is used with a pointer-list value to refer to existing declarations.

This also replaces "odmView"

e.g.

{
  "odmThing" : {
    "outletstrip": {
      "odmComponent": [
        "#/odmObject/socket_1",
        "#/odmObject/socket_2",
        "#/odmObject/socket_3",
        "#/odmObject/socket_4",
        "#/odmObject/mastercontrol"
      ]
    }
  }
}
mjkoster commented 4 years ago

resolved with https://github.com/one-data-model/language/pull/87 https://github.com/one-data-model/language/pull/88