-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add com.northwind.postgresql/orders/jsonschema/1-0-0 (close #609)
- Loading branch information
1 parent
afac6da
commit 4ec9a61
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Schema for the Northwind PostgreSQL orders table, see https://code.google.com/archive/p/northwindextended/downloads", | ||
"self": { | ||
"vendor": "com.northwind.postgresql", | ||
"name": "orders", | ||
"format": "jsonschema", | ||
"version": "1-0-0" | ||
}, | ||
|
||
"type": "object", | ||
"properties": { | ||
"OrderID": { | ||
"type": "integer", | ||
"maximum": 32767, | ||
"minimum": -32768 | ||
}, | ||
"CustomerID": { | ||
"type": ["string", "null"] | ||
}, | ||
"EmployeeID": { | ||
"type": ["number", "null"], | ||
"maximum": 32767, | ||
"minimum": -32768 | ||
}, | ||
"OrderDate": { | ||
"type": ["string", "null"], | ||
"format": "date" | ||
}, | ||
"RequiredDate": { | ||
"type": ["string", "null"], | ||
"format": "date" | ||
}, | ||
"ShipVia": { | ||
"type": ["number", "null"], | ||
"maximum": 32767, | ||
"minimum": -32768 | ||
}, | ||
"Freight": { | ||
"type": ["number", "null"] | ||
}, | ||
"ShipName": { | ||
"type": ["string", "null"], | ||
"maxLength": 40 | ||
}, | ||
"ShipAddress": { | ||
"type": ["string", "null"], | ||
"maxLength": 60 | ||
}, | ||
"ShipCity": { | ||
"type": ["string", "null"], | ||
"maxLength": 15 | ||
}, | ||
"ShipRegion": { | ||
"type": ["string", "null"], | ||
"maxLength": 15 | ||
}, | ||
"ShipPostalCode": { | ||
"type": ["string", "null"], | ||
"maxLength": 10 | ||
}, | ||
"ShipCountry": { | ||
"type": ["string", "null"], | ||
"maxLength": 15 | ||
} | ||
}, | ||
"required": ["OrderID"], | ||
"additionalProperties": false | ||
} |