Skip to content

Commit

Permalink
Add com.northwind.postgresql/orders/jsonschema/1-0-0 (close #609)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderdean committed Jun 21, 2017
1 parent afac6da commit 4ec9a61
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions schemas/com.northwind.postgresql/orders/jsonschema/1-0-0
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
}

0 comments on commit 4ec9a61

Please sign in to comment.