klotz: validation*

0 bookmark(s) - Sort by: Date ↓ / Title / - Bookmarks from other users for this tag

  1. Agentic workflows are rapidly accelerating the volume of pull requests, and validation is quickly becoming the most critical bottleneck. Teams using service meshes like Istio are well-positioned to solve it in ephemeral environments.
  2. Creating a JSON Schema for existing YAML values
    We can infer a schema from existing YAML values and use it as a starting point when writing a new schema. The steps are:

    Convert your values YAML file to JSON on https://www.json2yaml.com/
    Paste the JSON on https://www.jsonschema.net/ and click on "Infer Schema"
    Paste the schema into the values.schema.json file
    W
  3. 2019-06-30 Tags: , , , , , , by klotz
  4. 2019-06-05 Tags: , by klotz
  5. 2019-04-20 Tags: , , by klotz
  6. 2016-03-24 Tags: , by klotz
  7. var JSV = require("./jsv").JSV;
    var json = {};
    var schema = {"type" : "object"};
    var env = JSV.createEnvironment();
    var report = env.validate(json, schema);

    if (report.errors.length === 0) {
    //JSON is valid against the schema
    }
    2015-05-22 Tags: , , , , by klotz
  8. 2014-03-07 Tags: , , , , , by klotz
  9. 2013-09-24 Tags: , by klotz

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: Tags: validation

About - Propulsed by SemanticScuttle