Skip to content

Commit

Permalink
Add identity to image coordinateTransformations schema
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Oct 20, 2022
1 parent 449fbca commit 7b2b229
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 0.4/schemas/image.schema
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,18 @@
"maxContains": 1,
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"identity"
]
}
},
"required": ["type"]
},
{
"type": "object",
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions 0.4/tests/image_suite.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
{
"path": "path/to/0",
"coordinateTransformations": [
{
"type": "identity"
},
{
"type": "scale",
"scale": [
Expand Down
12 changes: 12 additions & 0 deletions latest/schemas/image.schema
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,18 @@
"maxContains": 1,
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"identity"
]
}
},
"required": ["type"]
},
{
"type": "object",
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions latest/tests/image_suite.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
{
"path": "path/to/0",
"coordinateTransformations": [
{
"type": "identity"
},
{
"type": "scale",
"scale": [
Expand Down

0 comments on commit 7b2b229

Please sign in to comment.