Skip to content

Latest commit

 

History

History
206 lines (89 loc) · 6.19 KB

asdl.md

File metadata and controls

206 lines (89 loc) · 6.19 KB

Internet of Seats and Spaces Schema

This document presents the vocabulary used in the Internet of Seats and Spaces project.

Verbs

checkin

Indicates that the actor has entered or occupied the object (place).

leave

Indicates that the actor has left or vacated the object (place).

request

Indicates that the actor has requested the object (place) for a specified time.

cancel

Indicates that the actor has canceled the object (request).

approve

Indicates that the actor has approved the object (request).

deny

Indicates that the actor has denied the object (request).

Object Types

place

Represents a physical location. This may be tied to a physical object (chair), a physical space (room), and/or a geographic location (latitude,longitude).

activity

Represents an activity. This will be the object type for requests.

trainRecordWithSeatingInfo

Represents a trainRecord object from the Internet of Bart with additional information regarding available seats.

Object Properties

position

The latitude, longitude, and altitude of the object (place). This is not necessarily constant for a single object (place). For example, a chair may be moved.

This property has the type JSON Object and only has well-defined meaning for objects of the following types: Place

latitude

The latitude of this point on Earth according to the WGS-84 coordinate reference system in decimal degrees (e.g. 27.9881, -3.12676).

This property has the type Floating point Number and only has well-defined meaning for objects of the following types: Position

longitude

The longitude of this point on Earth according to the WGS-74 coordinate reference system in decimal degrees (e.g. 86.9253, -134.4323).

This property has the type Floating point Number and only has well-defined meaning for objects of the following types: Position

altitude

The elevation of this point relative to the Earth, in meters above or below mean sea level (e.g. 8848.00, -86.00).

This property has the type Floating point Number and only has well-defined meaning for objects of the following types: Position

address

The physical address of the object (place). This is not necessarily constant for a single object (place). For example, a chair may be moved.

This property has the type JSON Object and only has well-defined meaning for objects of the following types: Place

locality

The city or locality of the address.

This property has the type String and only has well-defined meaning for objects of the following types: Address

region

The state or region of the address.

This property has the type String and only has well-defined meaning for objects of the following types: Address

provider

The application, group, or company that published the activity.

This property has the type JSON Object and only has well-defined meaning for objects of the following types: Activity

displayName

A human-readable name that describes the object.

This property has the type String and only has well-defined meaning for objects of the following types: Place, Provider

startTime

A time that represents the beginning of the object (request).

This property has the type String in the format %Y-%m-%dT%H:%M:%SZ and only has well-defined meaning for objects of the following types: Activity (verb: request)

endTime

A time that represents the end of the object (request).

This property has the type String in the format %Y-%m-%dT%H:%M:%SZ and only has well-defined meaning for objects of the following types: Activity (verb: request)

descriptor-tags

A list of descriptors that detail the object's (place) properties.

This property has the type JSON Array, consists of Strings, and only has well-defined meaning for objects of the following types: Place

reason

A human-readable explanation of the action (deny).

This property has the type String and only has well-defined meaning for objects of the following types: Activity (verb: deny)

availableSeats

A count of the number of available seats in the Bart car.

This property has the type Integer and only has well-defined meaning for objects of the following types: trainRecordWithSeatingInfo