{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/6"}],"enrichment":{"capability":"Implements JSON Schema, JSON Pointer, and JSON Reference specifications to validate, navigate, and resolve JSON documents programmatically or via CLI.","skillfed_tags":["json-validation","schema-validation","cli-tool"],"use_cases":["Validate incoming API payloads or configuration files against a JSON Schema before processing.","Extract specific nested values from large JSON documents using JSON Pointer paths.","Resolve $ref references in JSON documents to follow and validate linked schemas.","Transform JSON documents via CLI commands (add, remove, replace, move) in shell scripts or pipelines.","Test JSON data structures programmatically in unit tests using schema validation."],"what_it_does":"json-spec is a library and CLI tool that implements three JSON specifications: JSON Schema for validation, JSON Pointer for navigating document paths, and JSON Reference for resolving references within JSON structures. It provides both a programmatic API for Python scripts and command-line commands (json add, json check, json copy, json extract, json move, json remove, json replace, json validate) for JSON document manipulation.\n\nThe library works with Python 3.10 and above and has minimal dependencies, making it straightforward to install. You can use it to validate data against schemas, extract nested values by path, resolve cross-references, and transform JSON documents. Optional extras like [cli] and [ip] enable additional features such as colorized output and IP format support for JSON Schema.","worth_installing":"Yes, if you need JSON Schema validation or JSON Pointer/Reference support and can tolerate dormant maintenance. The low install friction, permissive license, no known vulnerabilities, and stable API make it suitable for established projects. Not recommended if you require active maintenance or expect frequent updates to JSON specification support."},"id":"json-spec","links":{"html":"https://skillfed.io/packages/json-spec","md":"https://skillfed.io/packages/json-spec.md","pypi":"https://pypi.org/project/json-spec/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-04-29","license_spdx":null,"license_treatment":"permissive","name":"json-spec","python_support":"supports_current","summary":"Implements JSON Schema, JSON Pointer and JSON Reference."},"popularity":{"monthly_downloads":455004,"position":6563,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.12.0"}
