Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

json-schema-spec-types

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-schema-spec-types - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.1.2"></a>
## [0.1.2](https://bitbucket.org/atlassian/json-schema-spec-types/compare/0.1.1...0.1.2) (2018-12-17)
### Bug Fixes
* clarify schema array and map type names ([e1b42ca](https://bitbucket.org/atlassian/json-schema-spec-types/commits/e1b42ca))
<a name="0.1.1"></a>

@@ -2,0 +12,0 @@ ## [0.1.1](https://bitbucket.org/atlassian/json-schema-spec-types/compare/0.1.0...0.1.1) (2018-12-04)

18

lib/json-schema.d.ts
export type NonNegativeInteger = number;
export type NonNegativeIntegerDefault0 = NonNegativeInteger;
export type SchemaArray = JsonSchema[];
export type JsonSchemaArray = JsonSchema[];
export type SimpleTypes = 'array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string';
export type StringArray = string[];
export interface SchemaMap {
export interface JsonSchemaMap {
[key: string]: JsonSchema;

@@ -30,3 +30,3 @@ }

additionalItems?: JsonSchema;
items?: JsonSchema | SchemaArray;
items?: JsonSchema | JsonSchemaArray;
maxItems?: NonNegativeInteger;

@@ -40,5 +40,5 @@ minItems?: NonNegativeIntegerDefault0;

additionalProperties?: JsonSchema;
definitions?: SchemaMap;
properties?: SchemaMap;
patternProperties?: SchemaMap;
definitions?: JsonSchemaMap;
properties?: JsonSchemaMap;
patternProperties?: JsonSchemaMap;
dependencies?: {

@@ -57,5 +57,5 @@ [k: string]: JsonSchema | StringArray;

else?: JsonSchema;
allOf?: SchemaArray;
anyOf?: SchemaArray;
oneOf?: SchemaArray;
allOf?: JsonSchemaArray;
anyOf?: JsonSchemaArray;
oneOf?: JsonSchemaArray;
not?: JsonSchema;

@@ -62,0 +62,0 @@ [k: string]: any;

{
"name": "json-schema-spec-types",
"version": "0.1.1",
"version": "0.1.2",
"description": "type definitions for the json-schema specification draft-07",

@@ -5,0 +5,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc