0.3.5 • Published 1 year ago

findatex-schemas v0.3.5

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
1 year ago

npm version

findatex-schemas

Note: findatex-schemas is not in any way affiliated with findatex.eu

Excel files are neither human nor machine friendly. This project tries convert the excel description of the EPT format to a JSON schema. The data can then be written in YAML (with editor validation) and converted to .xlsx file afterwards.

JSON schemas for https://findatex.eu formats

installation

npm install -g findatex-schemas

validation

command line

eptValidate findatex-ept-captor-2023-12-29.yaml

vscode

In vscode you can add something like this to .vscode/settings.json and install redhat.vscode-yaml

{
  "json.schemas": [
    {
      "fileMatch": ["findatex-ept*.json"],
      "url": "./schemas/ept.schema.json"
    }
  ],
  "yaml.schemas": {
    "schemas/ept.schema.json": ["findatex-ept*.yaml"]
  }
}

executables

In addition to ept.schema.json findatex-schemas exposes executables to convert .xslx files to .yaml and back again.

for example:

eptExcel2yaml examples/findatex-ept-captor-2023-12-29.xlsx
eptYaml2excel findatex-ept-captor-2023-12-29.yaml
eptValidate findatex-ept-captor-2023-12-29.yaml

Contributions

Feel free to report bugs and submit pull requests

0.3.5

1 year ago

0.3.3

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago