Attachments
Click to expand Click to collapse
Dataset schema
Click to expand Click to collapse
JSON Schema
The following JSON object is a standardized description of your dataset's schema.
More about JSON schema.
{
- "title":"campelltown-business-directory",
- "type":"object",
- "oneOf":
[
{
- "$ref":"#/definitions/campelltown-business-directory"
}
]
, - "definitions":
{
- "campelltown-business-directory":
{
- "properties":
{
- "records":
{
- "type":"array",
- "items":
{
- "$ref":"#/definitions/campelltown-business-directory_records"
}
}
}
}
, - "geoJSON":
{
- "title":"Geo JSON object",
- "description":"Schema for a Geo JSON object",
- "type":"object",
- "required":,
- "properties":
{
- "crs":
{
- "$ref":"#/definitions/crs"
}
, - "bbox":
{
- "$ref":"#/definitions/bbox"
}
}
, - "oneOf":
[
{
- "$ref":"#/definitions/geometry"
}
,{
- "$ref":"#/definitions/geometryCollection"
}
,{
- "$ref":"#/definitions/feature"
}
,{
- "$ref":"#/definitions/featureCollection"
}
]
}
, - "bbox":
{
- "description":"A bounding box as defined by GeoJSON",
- "type":"array",
- "items":
}
, - "crs":
{
- "title":"crs",
- "description":"a Coordinate Reference System object",
- "type":,
- "required":,
- "properties":,
- "additionalProperties":false,
- "oneOf":
[
{
- "$ref":"#/definitions/namedCrs"
}
,{
- "$ref":"#/definitions/linkedCrs"
}
]
}
, - "namedCrs":
{
- "properties":
{
- "type":,
- "properties":
{
- "required":,
- "additionalProperties":false,
- "properties":
}
}
}
, - "linkedObject":
{
- "type":"object",
- "required":,
- "properties":
{
- "href":
{
- "type":"string",
- "format":"uri"
}
, - "type":
{
- "type":"string",
- "description":"Suggested values: proj4, ogjwkt, esriwkt"
}
}
}
, - "linkedCrs":
{
- "properties":
{
- "type":,
- "properties":
{
- "$ref":"#/definitions/linkedObject"
}
}
}
, - "geometryCollection":
{
- "title":"GeometryCollection",
- "description":"A collection of geometry objects",
- "required":,
- "properties":
{
- "type":,
- "geometries":
{
- "type":"array",
- "items":
{
- "$ref":"http://json-schema.org/geojson/geometry.json#"
}
}
}
}
, - "feature":
{
- "title":"Feature",
- "description":"A Geo JSON feature object",
- "required":,
- "properties":
{
- "type":,
- "geometry":
{
- "oneOf":
[
- ,
{
- "$ref":"#/definitions/geometry"
}
]
}
, - "properties":,
- "id":
}
}
, - "featureCollection":
{
- "title":"FeatureCollection",
- "description":"A Geo JSON feature collection",
- "required":,
- "properties":
{
- "type":,
- "features":
{
- "type":"array",
- "items":
{
- "$ref":"#/definitions/feature"
}
}
}
}
, - "geometry":
{
- "title":"geometry",
- "description":"One geometry as defined by GeoJSON",
- "type":"object",
- "required":,
- "oneOf":
[
{
- "title":"Point",
- "properties":
{
- "type":,
- "coordinates":
{
- "$ref":"#/definitions/position"
}
}
}
,{
- "title":"MultiPoint",
- "properties":
{
- "type":,
- "coordinates":
{
- "$ref":"#/definitions/positionArray"
}
}
}
,{
- "title":"LineString",
- "properties":
{
- "type":,
- "coordinates":
{
- "$ref":"#/definitions/lineString"
}
}
}
,{
- "title":"MultiLineString",
- "properties":
{
- "type":,
- "coordinates":
{
- "type":"array",
- "items":
{
- "$ref":"#/definitions/lineString"
}
}
}
}
,{
- "title":"Polygon",
- "properties":
{
- "type":,
- "coordinates":
{
- "$ref":"#/definitions/polygon"
}
}
}
,{
- "title":"MultiPolygon",
- "properties":
{
- "type":,
- "coordinates":
{
- "type":"array",
- "items":
{
- "$ref":"#/definitions/polygon"
}
}
}
}
]
, - "position":
{
- "description":"A single position",
- "type":"array",
- "minItems":2,
- "items":,
- "additionalItems":false
}
, - "positionArray":
{
- "description":"An array of positions",
- "type":"array",
- "items":
{
- "$ref":"#/definitions/position"
}
}
, - "lineString":
{
- "description":"An array of two or more positions",
- "allOf":
[
{
- "$ref":"#/definitions/positionArray"
}
,
]
}
, - "linearRing":
{
- "description":"An array of four positions where the first equals the last",
- "allOf":
[
{
- "$ref":"#/definitions/positionArray"
}
,
]
}
, - "polygon":
{
- "description":"An array of linear rings",
- "type":"array",
- "items":
{
- "$ref":"#/definitions/linearRing"
}
}
}
, - "campelltown-business-directory_records":
{
- "properties":
{
- "fields":
{
- "type":"object",
- "properties":
{
- "business_name":
{
- "type":"string",
- "title":"Business name",
- "description":""
}
, - "street_address":
{
- "type":"string",
- "title":"Street address",
- "description":""
}
, - "suburb":
{
- "type":"string",
- "title":"Suburb",
- "description":""
}
, - "state":
{
- "type":"string",
- "title":"State",
- "description":""
}
, - "postcode":
{
- "type":"string",
- "title":"Postcode",
- "description":""
}
, - "phone_number":
{
- "type":"string",
- "title":"Phone number",
- "description":""
}
, - "lat_long":
{
- "type":"array",
- "minItems":2,
- "maxItems":2,
- "items":,
- "title":"lat_long",
- "description":""
}
, - "business_email":
{
- "type":"string",
- "title":"Business email",
- "description":""
}
, - "website":
{
- "type":"string",
- "title":"Website",
- "description":""
}
, - "instagram":
{
- "type":"string",
- "title":"Instagram",
- "description":""
}
, - "facebook":
{
- "type":"string",
- "title":"Facebook",
- "description":""
}
, - "type_of_business":
{
- "type":"string",
- "title":"Type of business",
- "description":""
}
, - "cuisine_type":
{
- "type":"string",
- "title":"Cuisine type",
- "description":""
}
, - "describe_your_business_product_or_service":
{
- "type":"string",
- "title":"Describe your business, product or service.",
- "description":""
}
, - "operating_days":
{
- "type":"string",
- "title":"Operating days",
- "description":""
}
, - "delivery":
{
- "type":"string",
- "title":"Delivery",
- "description":""
}
, - "take_out":
{
- "type":"string",
- "title":"Take out",
- "description":""
}
, - "online_sales":
{
- "type":"string",
- "title":"Online sales",
- "description":""
}
}
}
}
}
}
}