generated from w3c-ccg/markdown-to-spec
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schemas v0.1 v0.2 #76
Merged
Merged
Changes from 3 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
2018d3a
Remove v0.2 support from 0.3/schemas/json_schema/image.schema
will-moore 2eaf0c8
Add validation tests and schemas for 0.1 and 0.2
will-moore 880c650
Add plate schema and examples for v0.1
will-moore e9b5560
Test for SHOULD rules
will-moore df8962e
multiscales 'name' is not required
will-moore 20481ca
version is not required property 0.1, 0.2, 0.3
will-moore 145b0ad
v0.1. images SHOULD contain 'type' but not 'omero'
will-moore f392500
Remove unused 'multiscales' from strict_image.schema
will-moore 8449821
Remove non-essential 'version' and 'name' from v0.3 image.json
will-moore 4f2bf33
Use allOf in strict_image.schema to add SHOULD rules to image.schema
will-moore c3283d1
Remove unused merge()
will-moore c2c1394
Manually cache image.schema instead of load via URL resolver
will-moore 7513ddc
Subclass RefResolver to load local files
will-moore 37c56dd
Add 'name' to strict_image.schema. multiscales SHOULD have name
will-moore e4865a6
Improve LocalRefResolver - overwrite resolve_remove()
will-moore 78c658f
Fix omero.version numbers in 0.1 samples
will-moore 7ec782c
remove json_schema/ directory from each version
will-moore 4aeb82b
Remove .DS_Store
will-moore File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ jobs: | |
strategy: | ||
matrix: | ||
ngff: | ||
- '0.1' | ||
- '0.2' | ||
- '0.3' | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*/.DS_Store | ||
**/__pycache__/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"@type": "ngff:Image", | ||
"multiscales": [ | ||
{ | ||
"version": "0.1", | ||
"name": "example", | ||
"datasets": [ | ||
{ | ||
"path": "path/to/0" | ||
} | ||
] | ||
} | ||
], | ||
"omero": { | ||
"channels": [ | ||
{ | ||
"active": true, | ||
"coefficient": 1.0, | ||
"color": 255, | ||
"family": "linear", | ||
"label": "1234", | ||
"window": { | ||
"end": 1765.0, | ||
"max": 2555.0, | ||
"min": 5.0, | ||
"start": 0.0 | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"@type": "ngff:Image", | ||
"multiscales": [ | ||
{ | ||
"version": "0.2", | ||
"name": "example", | ||
"datasets": [ | ||
{ | ||
"path": "path/to/0" | ||
} | ||
] | ||
} | ||
], | ||
"omero": { | ||
"channels": [ | ||
{ | ||
"active": true, | ||
"coefficient": 1.0, | ||
"color": "ff0000", | ||
"family": "linear", | ||
"label": "1234", | ||
"window": { | ||
"end": "100", | ||
"max": 2555.0, | ||
"min": 5.0, | ||
"start": 0.0 | ||
} | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"@type": "ngff:Image", | ||
"multiscales": [ | ||
{ | ||
"version": "0.1", | ||
"name": "example", | ||
"datasets": [ | ||
{ | ||
"path": "path/to/0" | ||
}, | ||
{ | ||
"path": 0 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"@type": "ngff:Image", | ||
"multiscales": [ | ||
{ | ||
"version": "0.1", | ||
"name": "example" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"@type": "ngff:Image", | ||
"multiscales": [ | ||
{ | ||
"version": "0.1", | ||
"datasets": [ | ||
{ | ||
"path": "path/to/0" | ||
}, | ||
{ | ||
"path": 0 | ||
} | ||
], | ||
"type": "gaussian", | ||
"metadata": { | ||
"method": "skimage.transform.pyramid_gaussian", | ||
"version": "0.16.1", | ||
"args": [ | ||
"true", | ||
"false" | ||
], | ||
"kwargs": { | ||
"multichannel": true | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"@type": "ngff:Image", | ||
"multiscales": [ | ||
{ | ||
"version": "0.1", | ||
"name": "example", | ||
"datasets": [ | ||
{ | ||
"foo": "path/to/0" | ||
}, | ||
{ | ||
"path": "1" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"@type": "ngff:Image", | ||
"multiscales": [ | ||
{ | ||
"version": "0.1", | ||
"name": "example", | ||
"datasets": [], | ||
"axes": [ | ||
"z", | ||
"y", | ||
"x" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"@type": "ngff:Image", | ||
"multiscales": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"@type": "ngff:Image", | ||
"multiscales": [ | ||
{ | ||
"version": "0.1", | ||
"name": "example", | ||
"datasets": [ | ||
{"path": "path/to/0"}, | ||
{"path": "1"}, | ||
{"path": "2"} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"@id": "top", | ||
"@type": "ngff:Image", | ||
"multiscales": [ | ||
{ | ||
"@id": "inner", | ||
"version": "0.1", | ||
"name": "example", | ||
"datasets": [ | ||
{ | ||
"path": "path/to/0" | ||
} | ||
], | ||
"type": "gaussian", | ||
"metadata": { | ||
"method": "skimage.transform.pyramid_gaussian", | ||
"version": "0.16.1", | ||
"args": [ | ||
"true", | ||
"false" | ||
], | ||
"kwargs": { | ||
"multichannel": true | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"@id": "#my-image", | ||
"@type": "ngff:Image", | ||
"multiscales": [ | ||
{ | ||
"@id": "#my-pyramid", | ||
"version": "0.1", | ||
"name": "example", | ||
"datasets": [ | ||
{ | ||
"path": "path/to/0" | ||
}, | ||
{ | ||
"path": "1" | ||
}, | ||
{ | ||
"path": "2" | ||
} | ||
], | ||
"type": "gaussian", | ||
"metadata": { | ||
"method": "skimage.transform.pyramid_gaussian", | ||
"version": "0.16.1", | ||
"args": [ | ||
"true", | ||
"false" | ||
], | ||
"kwargs": { | ||
"multichannel": true | ||
} | ||
} | ||
} | ||
], | ||
"omero": { | ||
"id": 1, | ||
"version": "0.2", | ||
"channels": [ | ||
{ | ||
"active": true, | ||
"color": "0000FF", | ||
"family": "linear", | ||
"inverted": false, | ||
"label": "1234", | ||
"window": { | ||
"end": 1765.0, | ||
"max": 2555.0, | ||
"min": 5.0, | ||
"start": 0.0 | ||
} | ||
} | ||
], | ||
"rdefs": { | ||
"defaultZ": 0, | ||
"defaultT": 0, | ||
"model": "color" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"plate": { | ||
"columns": [ | ||
{ | ||
"name": "1" | ||
} | ||
], | ||
"rows": [ | ||
{ | ||
"name": "A" | ||
} | ||
], | ||
"version": "0.1", | ||
"wells": [] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"plate": { | ||
"columns": [ | ||
{ | ||
"name": "1" | ||
} | ||
], | ||
"field_count": 1, | ||
"name": "plate name", | ||
"rows": [ | ||
{ | ||
"name": "A" | ||
} | ||
], | ||
"version": "0.1", | ||
"wells": [ | ||
{ | ||
"path": "A/3" | ||
} | ||
], | ||
"acquisitions": [ | ||
{ | ||
"id": 1, | ||
"maximumfieldcount": "2" | ||
}, | ||
{ | ||
"id": 2 | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"plate": { | ||
"columns": [ | ||
{ | ||
"name": "1" | ||
} | ||
], | ||
"field_count": 1, | ||
"name": "plate name", | ||
"rows": [ | ||
{ | ||
"name": "A" | ||
} | ||
], | ||
"version": "0.1", | ||
"wells": [ | ||
{ | ||
"path": "A/3" | ||
} | ||
], | ||
"acquisitions": [ | ||
{ | ||
"maximumfieldcount": 2, | ||
"name": "Meas_01(2012-07-31_10-41-12)", | ||
"starttime": 1343731272000 | ||
}, | ||
{ | ||
"id": 2, | ||
"maximumfieldcount": 2, | ||
"name": "Meas_02(201207-31_11-56-41)", | ||
"starttime": 1343735801000 | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"plate": { | ||
"columns": [ | ||
{} | ||
], | ||
"rows": [ | ||
{ | ||
"name": "A" | ||
} | ||
], | ||
"version": "0.1", | ||
"wells": [ | ||
{ | ||
"path": "A/3" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was dropped from v0.3?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed to "0.1"