Skip to content

Commit 76b78f0

Browse files
committed
temporal and spatial scale in Prez4 model
1 parent ee74f6a commit 76b78f0

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

source/presentation/4.0/model.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,6 +1849,29 @@ The value _MUST_ be an array of JSON objects. Each object _MUST_ be a service re
18491849
{: #source}
18501850

18511851

1852+
### spatialScale
1853+
{: #spatialScale}
1854+
1855+
A single UnitValue that defines a real-world scale factor for the coordinate units of a Canvas or Scene. A Canvas with a `width` of 5000 and a `spatialScale` with `value` 0.00008 represents a physical space 0.4 metres wide. The value of `unit` _MUST_ always be `m`, i.e., metres.
1856+
1857+
1858+
{% include api/code_header.html %}
1859+
``` json-doc
1860+
{
1861+
"type": "Scene",
1862+
1863+
"spatialScale": {
1864+
"type": "UnitValue",
1865+
"value": 22.0,
1866+
"unit": "m"
1867+
}
1868+
}
1869+
```
1870+
1871+
* A Canvas _MAY_ have the `spatialScale` property.<br/>
1872+
Clients _SHOULD_ process `spatialScale` on a Canvas.
1873+
* A Scene _MAY_ have the `spatialScale` property.<br/>
1874+
Clients _SHOULD_ process `spatialScale` on a Scene.
18521875

18531876

18541877
### start
@@ -1964,6 +1987,33 @@ The value _MUST_ be a JSON object, which _MUST_ have the `id` and `type` propert
19641987
{ "supplementary": { "id": "https://example.org/iiif/1/annos/1", "type": "AnnotationCollection" } }
19651988
```
19661989

1990+
### temporalScale
1991+
{: #temporalScale}
1992+
1993+
A single UnitValue that defines a multiplier or scale factor for the `duration` property of a Container, indicating that one second in "Container time" represents some other real world duration. A Canvas with a `duration` of 450 seconds and a `temporalScale` with `value` 1000 represents a real-world duration of 450,000 seconds (5.2 days), for example a time-lapse video of a growing plant. The value of `unit` _MUST_ always be `s`, i.e., seconds.
1994+
1995+
1996+
{% include api/code_header.html %}
1997+
``` json-doc
1998+
{
1999+
"type": "Canvas",
2000+
2001+
"temporalScale": {
2002+
"type": "UnitValue",
2003+
"value": 1000,
2004+
"unit": "s"
2005+
}
2006+
}
2007+
```
2008+
2009+
* A Timeline _MAY_ have the `temporalScale` property.<br/>
2010+
Clients _MAY_ process `temporalScale` on a Timeline.
2011+
* A Canvas _MAY_ have the `temporalScale` property.<br/>
2012+
Clients _MAY_ process `temporalScale` on a Canvas.
2013+
* A Scene _MAY_ have the `temporalScale` property.<br/>
2014+
Clients _MAY_ process `temporalScale` on a Scene.
2015+
2016+
19672017
### thumbnail
19682018
{: #thumbnail}
19692019

0 commit comments

Comments
 (0)