@uipath/ontology-tool 0.0.0-stage → 1.207.0-preview.375

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/LICENSE.txt +3 -0
  2. package/README.md +45 -2
  3. package/dist/embedded-file-reader-k94wt612.js +111 -0
  4. package/dist/first-party-service-85sa75ba.js +8 -0
  5. package/dist/getMachineId-bsd-hr7dy73y.js +38 -0
  6. package/dist/getMachineId-darwin-k0c7ykqv.js +38 -0
  7. package/dist/getMachineId-linux-f0m4gd78.js +31 -0
  8. package/dist/getMachineId-unsupported-e99prk6h.js +21 -0
  9. package/dist/getMachineId-win-zqh7yjfs.js +40 -0
  10. package/dist/index-54ywa7rb.js +13 -0
  11. package/dist/index-fd6h1hdg.js +917 -0
  12. package/dist/index-fq58f0y2.js +24 -0
  13. package/dist/index-n58agv5e.js +12 -0
  14. package/dist/index-nzr4mx5p.js +614 -0
  15. package/dist/index-s5xhee2c.js +2686 -0
  16. package/dist/index.js +19 -0
  17. package/dist/inline-jqd3vt3r.js +870 -0
  18. package/dist/inline-zz6vvray.js +1034 -0
  19. package/dist/jmespath-ab6tdc42.js +1485 -0
  20. package/dist/js-yaml-a2bk27p6.js +3151 -0
  21. package/dist/ontology-live-tnvyfnh3.js +72 -0
  22. package/dist/sdk-client-knfd9z5r.js +19391 -0
  23. package/dist/service-validation-rqjc3a9f.js +50 -0
  24. package/dist/solution-definition-helper-pvb9ejsq.js +8 -0
  25. package/dist/tool-1y1ef6qy.js +1531 -0
  26. package/dist/tool-4b88bsfh.js +1487 -0
  27. package/dist/tool-51y4km98.js +20747 -0
  28. package/dist/tool-5ybsrypf.js +28 -0
  29. package/dist/tool-b4rxpt4h.js +7102 -0
  30. package/dist/tool-epsr41wx.js +48 -0
  31. package/dist/tool-ggemp2c3.js +17 -0
  32. package/dist/tool-j8etdbzn.js +8961 -0
  33. package/dist/tool-nycpvpet.js +149 -0
  34. package/dist/tool-sgrs0rhy.js +32 -0
  35. package/dist/tool-shsc6058.js +559 -0
  36. package/dist/tool-vajrgdtr.js +133 -0
  37. package/dist/tool.js +14 -0
  38. package/package.json +40 -5
package/LICENSE.txt ADDED
@@ -0,0 +1,3 @@
1
+ © 2026 UiPath
2
+ Use of this product is subject (a) to the applicable licensing agreement available: https://www.uipath.com/legal/trust-and-security/legal-terms#content-1 and, (b) for paid products listed here https://licensing.uipath.com/: the licensing agreement agreed between you and UiPath.
3
+ (UiPath means UiPath SRL with headquarters at 4 Vasile Alecsandri Str. and 11 Constantin Daniel Str., Building A, floors 5 and 6, District 1, Bucharest 010639, Romania and UiPath Inc. with principal place of business: One Vanderbilt Avenue, 60th Floor, New York, NY 10017)
package/README.md CHANGED
@@ -1,3 +1,46 @@
1
- # Temporary Holding Version
1
+ # Ontology Tool
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ `uip` tool for authoring, checking and reading UiPath ontologies. Every `uip ont` command is available on stable and preview builds.
4
+
5
+ An ontology is an `ontology` resource in a local solution, and reaches a tenant only when the solution is packed, published and deployed. Most commands work on the local solution alone. Three call the ontology service and need `uip login`: `validate`, and `get` / `list` with `--folder-key` or `--folder-path`, which read deployed ontologies. Full reference: [docs/tools/ontology.md](../../docs/tools/ontology.md).
6
+
7
+ ## Usage
8
+
9
+ | Command | Description |
10
+ |---------|-------------|
11
+ | `uip ont create <name> --local` | Create an ontology resource over local entities |
12
+ | `uip ont get <name>` | Show a local ontology (`--local`), or read a deployed one (`--folder-key` / `--folder-path`, needs `uip login`) |
13
+ | `uip ont list` | List local ontologies (`--local`), or the ones deployed in a folder (`--folder-key` / `--folder-path`, needs `uip login`) |
14
+ | `uip ont update <name> --local` | Change the entities, display name or description |
15
+ | `uip ont delete <name> --local --yes` | Delete the ontology and its attached zip |
16
+ | `uip ont files add\|list\|remove <name> --local` | Attach, list or remove artifact files |
17
+ | `uip ont validate [name] --local` | Run the local rules, then the ontology service's check (needs `uip login`) |
18
+ | `uip ont artifacts check <file>` | Check one artifact file against the UiPath convention rules offline (no network) |
19
+
20
+ ## `artifacts check`
21
+
22
+ Options: `--type <type>`, `--content <text>`.
23
+
24
+ The file's name decides its type, the same way `uip ont files add` decides it, so a file is checked as the type it will be attached as:
25
+
26
+ | Extension | Artifact type | Rule set |
27
+ |-----------|---------------|----------|
28
+ | `.ofn` | `schema` | OWL schema (`ofn`) |
29
+ | `.ttl` | `constraints` (optional) | SHACL constraints (`shacl`) |
30
+ | `.yarrrml.yml`, `.yml`, `.yaml` | `mapping` | YARRRML mapping (`yarrrml`) |
31
+ | `.json` ending `-context` | `context` | JSON-LD context (`jsonld-context`) |
32
+ | `.json` ending `-summary` | `summary` | Summary (`summary`) |
33
+
34
+ `--type` (`schema`, `constraints`, `mapping`, `summary`, `context`) is needed only for a `.json` name that ends in neither suffix, and must be one the extension allows. `--content` checks the given text instead of reading the file; `<file>` still names it.
35
+
36
+ Only UiPath conventions are checked; W3C validity is left to the service.
37
+
38
+ ### Examples
39
+
40
+ ```bash
41
+ uip ont artifacts check ./schema.ofn
42
+ uip ont artifacts check ./orders-constraints.ttl
43
+ uip ont artifacts check ./orders.json --type context
44
+ ```
45
+
46
+ The command exits `1` with `ErrorCode: invalid_argument` when any `ERROR` rule fires; `Data.violations` lists every violation with its rule, severity, message and suggestion.