json-schema-spec-types
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -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) |
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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10454