databricks-cli/bundle/internal/schema/testdata/pass
Ilya Kuznetsov f60ad32f07
Allow yaml-anchors in schema (#2200)
## Changes

Allows custom untyped fields in the root config in json-schema so it
doesn't highlight errors when using yaml-anchors.

Example use case:

```
tags: &job-tags
  environment: ${bundle.target}


resources:
  jobs:
    db1:
      tags:
        <<: *job-tags
    db1:
      tags:
        <<: *job-tags
```
  
One downside is that we don't highlight any unknown top-level properties
anymore (but they will still fail during CLI validation)

## Tests

Manually checked behavior in VSCode - it doesn't show validation error.
Also checked that other typed properties are still suggested
2025-01-23 11:11:44 +00:00
..
artifact_references.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
basic.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
direct_value_in_target.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
job.yml Allow using variables in enum fields (#2199) 2025-01-22 10:30:17 +00:00
ml.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
pipeline.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
quality_monitor.yml Make `TableName` field part of quality monitor schema (#1903) 2024-11-14 17:39:38 +00:00
run_job_task.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
schema.yml Add end to end integration tests for bundle JSON schema (#1726) 2024-09-11 09:15:56 +00:00
target_variable.yml Custom annotations for bundle-specific JSON schema fields (#1957) 2024-12-18 10:19:14 +00:00
volume.yml Add default value for `volume_type` for DABs (#1952) 2024-12-04 11:05:54 +00:00
yaml_anchors.yml Allow yaml-anchors in schema (#2200) 2025-01-23 11:11:44 +00:00