Upload
department-for-communities-and-local-government-local-digital-campaign
View
275
Download
0
Embed Size (px)
Citation preview
Local Digital Programme
Local Waste Service Standards Project
Frontend Workshop#LocalDigital@LDgovUK
Data models Taxonomies
APIs Data formats
Existingsoftwaresystems
What others?
Smart CitiesConcept Model
Data models
APIs
Status update
• Added generic API elements:
• Feature and FeatureType
• Added Site derived from Place
• Re-implemented as simplest possible adaptation layer
• Left out some aspects related to materials, items,
contact info
Outstanding issues
• Capturing why collections have moved for
unusual reasons
• Handling sites that are not basic properties or
streets
API design
• REST - Representational State Transfer
• architecture of the Web
API design
Programmable Web
API design: data
• JSON - JavaScript Object Notation
• JSON-LD - JSON for Linked Data
• Is XML required?
Linked Data
Definingservices
services: - id: 1 name: Refuse esd_url: http://id.esd.org.uk/service/524 feature_types: - name: Black 240L description: - id: 2 name: Recycling esd_url: http://id.esd.org.uk/service/1130 feature_types: - name: Green 240L description: - id: 3 name: Garden waste esd_url: http://id.esd.org.uk/service/530 feature_types: - name: Brown 240L description: - id: 4 name: Glass collection esd_url: http://id.esd.org.uk/service/1130 feature_types: - name: Black Box 55L description:
Demo API
• Subset of documented API
• Authorisation is disabled for now
• Connected to Bartec Collective test database
for Luton
http://waste-demo-api.herokuapp.com
Designing the front-end
Place
BS7666Address
Site
WasteService
Missed collection events
FeatureType Feature
WasteContainerType
WasteContainer
Different ways to describe services:
- Date first
- Materials first
• Can front-end implementations be shared?
• What are the implications of different council
policies?
• How to manage content displayed to users?
• What technologies are used?
Issues
Sorry we didn't empty your bins – they were contaminated with food waste, so could not be collected.
Contaminated: Food waste
CONTAMINATED: FOOD [BROWN]
Citizen
CSR
In-cab
http://communitiesuk.github.io/waste-service-standards/
http://waste-demo-api.herokuapp.com
Questions?#LocalDigital@LDgovUK
@pmackay