🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@types/json-schema

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/json-schema - npm Package Compare versions

Comparing version

to
7.0.1

62

json-schema/index.d.ts

@@ -217,2 +217,3 @@ // Type definitions for json-schema 4.0, 6.0 and 7.0

*/
export type JSONSchema6Definition = JSONSchema6 | boolean;
export interface JSONSchema6 {

@@ -285,3 +286,3 @@ $id?: string

*/
items?: boolean | JSONSchema6 | JSONSchema6[]
items?: JSONSchema6Definition | JSONSchema6Definition[]

@@ -297,3 +298,3 @@ /**

*/
additionalItems?: boolean | JSONSchema6
additionalItems?: JSONSchema6Definition

@@ -327,3 +328,3 @@ /**

*/
contains?: boolean | JSONSchema6
contains?: JSONSchema6Definition

@@ -363,3 +364,3 @@ /**

properties?: {
[k: string]: boolean | JSONSchema6
[k: string]: JSONSchema6Definition
}

@@ -376,3 +377,3 @@

patternProperties?: {
[k: string]: boolean | JSONSchema6
[k: string]: JSONSchema6Definition
}

@@ -387,3 +388,3 @@

*/
additionalProperties?: boolean | JSONSchema6
additionalProperties?: JSONSchema6Definition

@@ -398,3 +399,3 @@ /**

dependencies?: {
[k: string]: boolean | JSONSchema6 | string[]
[k: string]: JSONSchema6Definition | string[]
}

@@ -408,3 +409,3 @@

*/
propertyNames?: boolean | JSONSchema6
propertyNames?: JSONSchema6Definition

@@ -437,3 +438,3 @@ /**

*/
allOf?: JSONSchema6[]
allOf?: JSONSchema6Definition[]

@@ -443,3 +444,3 @@ /**

*/
anyOf?: JSONSchema6[]
anyOf?: JSONSchema6Definition[]

@@ -449,3 +450,3 @@ /**

*/
oneOf?: JSONSchema6[]
oneOf?: JSONSchema6Definition[]

@@ -455,3 +456,3 @@ /**

*/
not?: boolean | JSONSchema6
not?: JSONSchema6Definition

@@ -462,3 +463,3 @@ /**

definitions?: {
[k: string]: boolean | JSONSchema6
[k: string]: JSONSchema6Definition
}

@@ -525,2 +526,7 @@

/**
* JSON Schema v7
* @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01
*/
export type JSONSchema7Definition = JSONSchema7 | boolean;
export interface JSONSchema7 {

@@ -558,4 +564,4 @@ $id?: string;

*/
items?: JSONSchema7 | JSONSchema7[];
additionalItems?: JSONSchema7;
items?: JSONSchema7Definition | JSONSchema7Definition[];
additionalItems?: JSONSchema7Definition;
maxItems?: number;

@@ -573,12 +579,12 @@ minItems?: number;

properties?: {
[key: string]: JSONSchema7;
[key: string]: JSONSchema7Definition;
};
patternProperties?: {
[key: string]: JSONSchema7;
[key: string]: JSONSchema7Definition;
};
additionalProperties?: JSONSchema7;
additionalProperties?: JSONSchema7Definition;
dependencies?: {
[key: string]: JSONSchema7 | string[];
[key: string]: JSONSchema7Definition | string[];
};
propertyNames?: JSONSchema7;
propertyNames?: JSONSchema7Definition;

@@ -588,5 +594,5 @@ /**

*/
if?: JSONSchema7;
then?: JSONSchema7;
else?: JSONSchema7;
if?: JSONSchema7Definition;
then?: JSONSchema7Definition;
else?: JSONSchema7Definition;

@@ -596,6 +602,6 @@ /**

*/
allOf?: JSONSchema7[];
anyOf?: JSONSchema7[];
oneOf?: JSONSchema7[];
not?: JSONSchema7;
allOf?: JSONSchema7Definition[];
anyOf?: JSONSchema7Definition[];
oneOf?: JSONSchema7Definition[];
not?: JSONSchema7Definition;

@@ -617,3 +623,3 @@ /**

definitions?: {
[key: string]: JSONSchema7;
[key: string]: JSONSchema7Definition;
};

@@ -620,0 +626,0 @@

{
"name": "@types/json-schema",
"version": "7.0.0",
"version": "7.0.1",
"description": "TypeScript definitions for json-schema 4.0, 6.0 and",

@@ -35,4 +35,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "ef0c5629d4da15a4e911b66ec83ecbe8f9da2c530a7304d78924ca62637b2ba8",
"typesPublisherContentHash": "1d7882aae5175e28c219f017173825d4ad27a8c949ff86a12b015a1d0d5fd563",
"typeScriptVersion": "2.2"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 25 Jul 2018 01:26:51 GMT
* Last updated: Thu, 20 Sep 2018 22:05:59 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

Sorry, the diff of this file is not supported yet