Create a $_internalSchemaAllowedProperties MatchExpression

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.13
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2017-07-10, Query 2017-07-31, Query 2017-08-21, Query 2017-09-11
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Proposed Syntax

      $_internalSchemaAllowedProperties has the following form:

      { $_internalSchemaAllowedProperties: {
              properties: <list of strings>,
              namePlaceholder: "i",
              patternProperties: <regex-expression-list>,
              otherwise: <schema>
          }
      }
      

      <regex-expression-list> has the following form:

      [
          {regex: <regex>, expression: <MatchExpression>},
          ....
      ]
      

      To constrain a subobject, wrap it in an $_internalSchemaObjectMatch.

            Assignee:
            Kyle Suarez (Inactive)
            Reporter:
            Kyle Suarez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: