@balena/contrato
Advanced tools
Comparing version
@@ -9,8 +9,3 @@ "use strict"; | ||
const ajv_formats_1 = __importDefault(require("ajv-formats")); | ||
function isString(value) { | ||
return typeof value === 'string' || value instanceof String; | ||
} | ||
const configureAjv = (ajv) => { | ||
ajv.addFormat('markdown', isString); | ||
ajv.addFormat('mermaid', isString); | ||
(0, ajv_formats_1.default)(ajv); | ||
@@ -20,3 +15,3 @@ }; | ||
$schema: 'http://json-schema.org/draft-07/schema#', | ||
$id: 'jellyfish-meta-schema', | ||
$id: 'contrato-meta-schema', | ||
title: 'Core schema meta-schema', | ||
@@ -270,3 +265,2 @@ definitions: { | ||
errors: ['no schema'], | ||
score: 0, | ||
}; | ||
@@ -278,3 +272,2 @@ } | ||
errors: ['invalid schema'], | ||
score: 0, | ||
}; | ||
@@ -281,0 +274,0 @@ } |
{ | ||
"name": "@balena/contrato", | ||
"version": "0.10.0-build-json-schema-is-valid-71492925df5c1b142a7499289e8e6208a90cb868-1", | ||
"version": "0.10.0-build-json-schema-is-valid-f31c103be4faa14b30234c711d2d5f8c8ff581a1-1", | ||
"description": "The official contract implementation", | ||
@@ -77,4 +77,4 @@ "homepage": "https://github.com/product-os/contrato", | ||
"versionist": { | ||
"publishedAt": "2024-12-16T23:53:45.055Z" | ||
"publishedAt": "2024-12-17T01:45:58.007Z" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
139372
-0.33%1846
-0.38%