File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ Informatics Matters Data Manager Job Decoder
13
13
:target: https://github.com/InformaticsMatters/squonk2-data-manager-job-decoder/actions/workflows/publish.yaml
14
14
:alt: Publish
15
15
16
- A package that simplifies the decoding of encoded text strings.
16
+ A package that simplifies the decoding of encoded text strings and validation
17
+ of Job Definitions and Manifests.
18
+
17
19
Given an encoded string the ``decode() `` method
18
20
returns the decoded value or an error.
19
21
@@ -31,6 +33,14 @@ The package also provides ``validate_job_schema()`` and
31
33
validate the Manifests and Job definitions against the
32
34
built-in schemas.
33
35
36
+ If you have a Job Definition or Manifest file you can add a reference to the
37
+ corresponding schema in this package to your file to help you identify schema
38
+ violations prior to deployment. To do this you just need to add a line starting
39
+ ``# yaml-language-server: `` at the top of your file. For example,
40
+ you can link to the **v2.3.0 ** Job Definition schema by adding the following line::
41
+
42
+ # yaml-language-server: $schema=https://raw.githubusercontent.com/InformaticsMatters/squonk2-data-manager-job-decoder/refs/tags/2.3.0/decoder/job-definition-schema.yaml
43
+
34
44
.. _jinja2 : https://jinja.palletsprojects.com/en/3.0.x/
35
45
36
46
Installation (Python)
You can’t perform that action at this time.
0 commit comments