ochre-sdk 1.0.22 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/xml/schemas.mjs +2 -2
- package/package.json +1 -1
package/dist/xml/schemas.mjs
CHANGED
|
@@ -201,7 +201,7 @@ const XMLImage = v.object({
|
|
|
201
201
|
fileSize: XMLOptionalNumber,
|
|
202
202
|
payload: v.optional(v.string("XMLImage: payload is string and optional"))
|
|
203
203
|
}, "XMLImage: Shape error");
|
|
204
|
-
const XMLImageMapArea = v.
|
|
204
|
+
const XMLImageMapArea = v.object({
|
|
205
205
|
uuid: v.pipe(v.string("XMLImageMapArea: uuid is string and required"), v.check(isPseudoUuid, "XMLImageMapArea: uuid is not a valid pseudo-UUID")),
|
|
206
206
|
publicationDateTime: v.optional(customDateTime("XMLImageMapArea: publicationDateTime is not a valid datetime")),
|
|
207
207
|
type: v.string("XMLImageMapArea: type is string and required"),
|
|
@@ -213,7 +213,7 @@ const XMLImageMapArea = v.pipe(v.object({
|
|
|
213
213
|
"poly"
|
|
214
214
|
], "XMLImageMapArea: shape is rect, circle, or poly"),
|
|
215
215
|
coords: v.string("XMLImageMapArea: coords is string and required")
|
|
216
|
-
}, "XMLImageMapArea: Shape error")
|
|
216
|
+
}, "XMLImageMapArea: Shape error");
|
|
217
217
|
const XMLImageMap = v.object({
|
|
218
218
|
area: v.array(XMLImageMapArea, "XMLImageMap: area is array of XMLImageMapArea"),
|
|
219
219
|
width: XMLNumber,
|