Use of $ref for referencing elements in a JSON Schema

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • V4.0_WD01
    • Affects Version/s: V4.0_WD01
    • Component/s: CSDL JSON
    • None
    • Environment:

      [Proposed]

    • Hide

      1) Always use $ref to reference a named type (complex, entity, typedef, enum)
      2) We use odata paths to reference entity sets and singletons
      3) For functions and actions, use $ref

      Show
      1) Always use $ref to reference a named type (complex, entity, typedef, enum) 2) We use odata paths to reference entity sets and singletons 3) For functions and actions, use $ref

      Should we use $ref to reference the identify of something that must be externally defined (i.e., the function in a functionimport or entity type of an entity set or base term in a term)?

      In places where we choose $ref: should additional keywords that refine/decorate the use of the referenced element be placed next to $ref within the reference object, or should the reference be wrapped in an "allOf":[

      {"$ref":"..."}

      ] construct and the additional keywords be placed next to allOf?

            Assignee:
            Unassigned
            Reporter:
            Michael Pizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: