diff --git a/hal.css b/hal.css index 05f6050..2f33f44 100644 --- a/hal.css +++ b/hal.css @@ -50,6 +50,7 @@ table { /* HAL.css */ body { font-family: sans-serif; + font-size: 20px; } h1, h2, h3 { @@ -97,6 +98,10 @@ ul { list-style-type: disc; } +strong { + font-weight: bold; +} + #wrapper { margin: 30px; width: 960px; @@ -114,3 +119,7 @@ ul { background-color: #E3E3E3; border: 1px solid #999; } + +#examples .gist { + font-size: 14px; +} diff --git a/hal_specification.html b/hal_specification.html index 3a75bab..ed26b36 100644 --- a/hal_specification.html +++ b/hal_specification.html @@ -56,8 +56,9 @@

General Description

The difference between HTML and HAL is that the former is GUI based and designed to be consumed by people, and the latter is machine-readable and designed to be consumed by automated 'agents'.

- HAL consists of two reserved elements: Resource and Link. Any and all elements are legal in a HAL representation provided they do not conflict with HAL's reserved elements. + HAL has two main components: Resources and Links. Resources have their own state, links, and embedded resources (which are resources in their own right). Links map link relations to href values/URIs, in a key/value fashion. Below is an image illustrating this information model:

+

HAL is a media type with which applications are described and controlled via link relations. It encourages the use of link relations to:

diff --git a/info-model.png b/info-model.png new file mode 100644 index 0000000..1758a72 Binary files /dev/null and b/info-model.png differ