Description |
!pastedImage_d104562_0.png|height=426,width=989!
JSON Definition below. {color:#ff0000}JSON example also attached.{color}
-------------------------------
\{
"definitions": \{\},
"$schema": " [http://json-schema.org/draft-07/schema#] ",
"$id": " [http://example.com/root.json] ",
"type": "object",
"title": "The Root Schema",
"required": [
"Customer"
],
"properties": \{
"Customer": \{
"$id": "#/properties/Customer",
"type": "object",
"title": "The Customer Schema",
"required": [
"Id"
],
"properties": \{
"Id": \{
"$id": "#/properties/Customer/properties/Id",
"type": "string",
"title": "The Id Schema",
"default": "",
"examples": [
"cust1"
],
"pattern": "^(.*)$"
\},
"Description": \{
"$id": "#/properties/Customer/properties/Description",
"type": "string",
"title": "The Description Schema",
"default": "",
"examples": [
"Customer 1"
],
"pattern": "^(.*)$"
\},
"GroupRequired": \{
"$id": "#/properties/Customer/properties/GroupRequired",
"type": "boolean",
"title": "The Grouprequired Schema",
"default": false,
"examples": [
false
]
\},
"LocationRequired": \{
"$id": "#/properties/Customer/properties/LocationRequired",
"type": "boolean",
"title": "The Locationrequired Schema",
"default": false,
"examples": [
false
]
\},
"CreditHold": \{
"$id": "#/properties/Customer/properties/CreditHold",
"type": "boolean",
"title": "The Credithold Schema",
"default": false,
"examples": [
false
]
\},
"Taxable": \{
"$id": "#/properties/Customer/properties/Taxable",
"type": "boolean",
"title": "The Taxable Schema",
"default": false,
"examples": [
false
]
\},
"VFDDealer": \{
"$id": "#/properties/Customer/properties/VFDDealer",
"type": "boolean",
"title": "The Vfddealer Schema",
"default": false,
"examples": [
false
]
\},
"VFDAcknowledged": \{
"$id": "#/properties/Customer/properties/VFDAcknowledged",
"type": "boolean",
"title": "The Vfdacknowledged Schema",
"default": false,
"examples": [
false
]
\},
"OrganicType": \{
"$id": "#/properties/Customer/properties/OrganicType",
"type": "integer",
"title": "The Organictype Schema",
"description": "0 = conventional, 1 = Non GMO, 2 = Organic",
"default": 0,
"examples": [
1
]
\},
"ContactInfo": \{
"$id": "#/properties/Customer/properties/ContactInfo",
"type": "object",
"title": "The Contactinfo Schema",
"default": null,
"properties": \{
"FirstName": \{
"$id": "#/properties/Customer/properties/ContactInfo/properties/FirstName",
"type": "string",
"title": "The Firstname Schema",
"default": "",
"examples": [
"Robert"
],
"pattern": "^(.*)$"
\},
"LastName": \{
"$id": "#/properties/Customer/properties/ContactInfo/properties/LastName",
"type": "string",
"title": "The Lastname Schema",
"default": "",
"examples": [
"Robertson"
],
"pattern": "^(.*)$"
\},
"Address1": \{
"$id": "#/properties/Customer/properties/ContactInfo/properties/Address1",
"type": "string",
"title": "The Address1 Schema",
"default": "",
"examples": [
"1234 Main St."
],
"pattern": "^(.*)$"
\},
"Address2": \{
"$id": "#/properties/Customer/properties/ContactInfo/properties/Address2",
"type": "string",
"title": "The Address2 Schema",
"default": "",
"examples": [
"Apt 3"
],
"pattern": "^(.*)$"
\},
"City": \{
"$id": "#/properties/Customer/properties/ContactInfo/properties/City",
"type": "string",
"title": "The City Schema",
"default": "",
"examples": [
"Somewhere"
],
"pattern": "^(.*)$"
\},
"StateProv": \{
"$id": "#/properties/Customer/properties/ContactInfo/properties/StateProv",
"type": "string",
"title": "The Stateprov Schema",
"default": "",
"examples": [
"MN"
],
"pattern": "^(.*)$"
\},
"PostalCode": \{
"$id": "#/properties/Customer/properties/ContactInfo/properties/PostalCode",
"type": "string",
"title": "The Postalcode Schema",
"default": "",
"examples": [
"33875"
],
"pattern": "^(.*)$"
\},
"Phone": \{
"$id": "#/properties/Customer/properties/ContactInfo/properties/Phone",
"type": "string",
"title": "The Phone Schema",
"default": "",
"examples": [
"690-332-7543"
],
"pattern": "^(.*)$"
\},
"Mobile": \{
"$id": "#/properties/Customer/properties/ContactInfo/properties/Mobile",
"type": "string",
"title": "The Mobile Schema",
"default": "",
"examples": [
"558-213-8843"
],
"pattern": "^(.*)$"
\},
"Fax": \{
"$id": "#/properties/Customer/properties/ContactInfo/properties/Fax",
"type": "string",
"title": "The Fax Schema",
"default": "",
"examples": [
"994-335-2214"
],
"pattern": "^(.*)$"
\},
"Email": \{
"$id": "#/properties/Customer/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/Customer/properties/ContactInfo/properties/Website",
"type": "string",
"title": "The Website Schema",
"default": "",
"examples": [
" [www.bob.com|http://www.bob.com] "
],
"pattern": "^(.*)$"
\}
\}
\},
"Comments": \{
"$id": "#/properties/Customer/properties/Comments",
"type": "string",
"title": "The Comments Schema",
"default": "",
"examples": [
"Comments are text."
],
"pattern": "^(.*)$"
\}
\}
\}
\}
\}
|