Skip to content

Commit a885b43

Browse files
author
Rob Sanderson
committed
x y z
1 parent 0c68523 commit a885b43

1 file changed

Lines changed: 31 additions & 7 deletions

File tree

source/presentation/4.0/model.md

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2875,7 +2875,7 @@ For compatibility with previous versions, clients _SHOULD_ accept `Sound` as a s
28752875

28762876
### unit
28772877

2878-
The unit of measurement of a quantity expressed by a Quantity.
2878+
The unit of measurement of a quantity expressed by a Quantity. This unit is necessary to interpet the value, as the same number could result in very different processing for different units: consider a physical scale of 1 meter vs 1 inch, and how clients might misrepresent the intent of the content of the Manifest.
28792879

28802880
The value _MUST_ be a string value. This specification defines the values in the table below. Others may be registered via the IIIF unit registry.
28812881

@@ -3021,35 +3021,59 @@ The value _MUST_ be a positive integer.
30213021
### x
30223022
{: #x}
30233023

3024-
A number (floating point or integer) giving the x coordinate of the point, relative to the dimensions of the source resource
3024+
A number giving the x coordinate of a point, relative to the dimensions of the source resource, or an angular value in degrees for transformation.
30253025

3026+
The value _MUST_ be a number (floating point or integer).
3027+
3028+
* A PointSelector _MAY_ have the `x` property.<br/>
3029+
Clients _MUST_ process `x` on a PointSelector.
3030+
* Transforms _MAY_ have the `x` property.<br/>
3031+
Clients _MUST_ process `x` on a Transforms.
3032+
* Other types of resource _MUST NOT_ have the `x` property.<br/>
3033+
Clients _SHOULD_ ignore `x` on other types of resource.
30263034

30273035
{% include api/code_header.html %}
30283036
``` json-doc
3029-
{ "x": 100 }
3037+
{ "x": 100.0 }
30303038
```
30313039

30323040
### y
30333041
{: #y}
30343042

3035-
A number (floating point or integer) giving the y coordinate of the point, relative to the dimensions of the source resource
3043+
A number giving the y coordinate of the point, relative to the dimensions of the source resource.
3044+
3045+
The value _MUST_ be a number (floating point or integer).
30363046

3047+
* A PointSelector _MAY_ have the `y` property.<br/>
3048+
Clients _MUST_ process `y` on a PointSelector.
3049+
* Transforms _MAY_ have the `y` property.<br/>
3050+
Clients _MUST_ process `y` on a Transforms.
3051+
* Other types of resource _MUST NOT_ have the `y` property.<br/>
3052+
Clients _SHOULD_ ignore `y` on other types of resource.
30373053

30383054

30393055
{% include api/code_header.html %}
30403056
``` json-doc
3041-
{ "y": 100 }
3057+
{ "y": 100.0 }
30423058
```
30433059

30443060
### z
30453061
{: #z}
30463062

3047-
A number (floating point) giving the z coordinate of the point, relative to the dimensions of the source resource
3063+
A number giving the z coordinate of the point, relative to the dimensions of the source resource.
3064+
3065+
The value _MUST_ be a number (floating point or integer).
30483066

3067+
* A PointSelector _MAY_ have the `z` property.<br/>
3068+
Clients _MUST_ process `z` on a PointSelector.
3069+
* Transforms _MAY_ have the `z` property.<br/>
3070+
Clients _MUST_ process `z` on a Transforms.
3071+
* Other types of resource _MUST NOT_ have the `z` property.<br/>
3072+
Clients _SHOULD_ ignore `z` on other types of resource.
30493073

30503074
{% include api/code_header.html %}
30513075
``` json-doc
3052-
{ "z": 100 }
3076+
{ "z": 100.0 }
30533077
```
30543078

30553079
## Dynamic Content

0 commit comments

Comments
 (0)