Skip to content

Inconsistent property naming between CQL json schema and yam scheme #1010

@georgetanyeah

Description

@georgetanyeah

In yaml, the property in isLikeOperands is called items, in json it is called prefixItems

    isLikeOperands:
      type: array
      minItems: 2
      maxItems: 2
      items:
        oneOf:
          - oneOf:
              - $ref: '#/components/schemas/characterExpression'
              - $ref: '#/components/schemas/propertyRef'
              - $ref: '#/components/schemas/functionRef'
          - $ref: '#/components/schemas/patternExpression'

    "isLikeOperands": {
      "type": "array",
      "minItems": 2,
      "maxItems": 2,
      "prefixItems": [
        {
          "oneOf": [
            {"$ref": "#/$defs/characterExpression"},
            {"$ref": "#/$defs/propertyRef"        },
            {"$ref": "#/$defs/functionRef"        }
          ]
        },
        {"$ref": "#/$defs/patternExpression"}
      ]
    },

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions