Description |
JSON Definition below. JSON example also attached.
-------------------------------
\{
"definitions": \{\},
"$schema": " [http://json-schema.org/draft-07/schema#] ",
"$id": " [http://example.com/root.json] ",
"type": "object",
"title": "The Root Schema",
"required": [
"Vendor"
],
"properties": \{
"Vendor": \{
"$id": "#/properties/Vendor",
"type": "object",
"title": "The Vendor Schema",
"required": [
"Id"
],
"properties": \{
"Id": \{
"$id": "#/properties/Vendor/properties/Id",
"type": "string",
"title": "The Id Schema",
"default": "",
"examples": [
"cust1"
],
"pattern": "^(.*)$"
\},
"Description": \{
"$id": "#/properties/Vendor/properties/Description",
"type": "string",
"title": "The Description Schema",
"default": "",
"examples": [
"Customer 1"
],
"pattern": "^(.*)$"
\},
"Contact": \{
"$id": "#/properties/Vendor/properties/Contact",
"type": "string",
"title": "The Contact Schema",
"default": "",
"examples": [
"Betty"
],
"pattern": "^(.*)$"
\},
"ContactInfo": \{
"$id": "#/properties/Vendor/properties/ContactInfo",
"type": "object",
"title": "The Contactinfo Schema",
"default": null,
"properties": \{
"FirstName": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/FirstName",
"type": "string",
"title": "The Firstname Schema",
"default": "",
"examples": [
"Robert"
],
"pattern": "^(.*)$"
\},
"LastName": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/LastName",
"type": "string",
"title": "The Lastname Schema",
"default": "",
"examples": [
"Robertson"
],
"pattern": "^(.*)$"
\},
"Address1": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/Address1",
"type": "string",
"title": "The Address1 Schema",
"default": "",
"examples": [
"1234 Main St."
],
"pattern": "^(.*)$"
\},
"Address2": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/Address2",
"type": "string",
"title": "The Address2 Schema",
"default": "",
"examples": [
"Apt 3"
],
"pattern": "^(.*)$"
\},
"City": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/City",
"type": "string",
"title": "The City Schema",
"default": "",
"examples": [
"Somewhere"
],
"pattern": "^(.*)$"
\},
"StateProv": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/StateProv",
"type": "string",
"title": "The Stateprov Schema",
"default": "",
"examples": [
"MN"
],
"pattern": "^(.*)$"
\},
"PostalCode": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/PostalCode",
"type": "string",
"title": "The Postalcode Schema",
"default": "",
"examples": [
"33875"
],
"pattern": "^(.*)$"
\},
"Phone": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/Phone",
"type": "string",
"title": "The Phone Schema",
"default": "",
"examples": [
"690-332-7543"
],
"pattern": "^(.*)$"
\},
"Mobile": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/Mobile",
"type": "string",
"title": "The Mobile Schema",
"default": "",
"examples": [
"558-213-8843"
],
"pattern": "^(.*)$"
\},
"Fax": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/Fax",
"type": "string",
"title": "The Fax Schema",
"default": "",
"examples": [
"994-335-2214"
],
"pattern": "^(.*)$"
\},
"Email": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/Email",
"type": "string",
"title": "The Email Schema",
"default": "",
"examples": [
" [bob@bob.com|http://jira.irelyserver.commailto:bob@bob.com] "
],
"pattern": "^(.*)$"
\},
"Website": \{
"$id": "#/properties/Vendor/properties/ContactInfo/properties/Website",
"type": "string",
"title": "The Website Schema",
"default": "",
"examples": [
" [www.bob.com|http://www.bob.com] "
],
"pattern": "^(.*)$"
\}
\},
"required": [
"Address2",
"City"
]
\},
"useShipperWeight": \{
"$id": "#/properties/Vendor/properties/useShipperWeight",
"type": "boolean",
"title": "The Useshipperweight Schema",
"default": false,
"examples": [
false
]
\},
"vendorType": \{
"$id": "#/properties/Vendor/properties/vendorType",
"type": "integer",
"title": "The Vendortype Schema",
"description": "0 = Vendor, 1 = Trucking, 2 = Both",
"default": 2,
"examples": [
0
]
\}
\}
\}
\}
\}
|