Skip to content

Commit

Permalink
generate another formats for genome_annotation,library_generation,ana…
Browse files Browse the repository at this point in the history
…tomical_structure,assertion_evidence model(s)
  • Loading branch information
[email protected] authored and [email protected] committed Jan 17, 2025
1 parent 299575d commit f19a74b
Show file tree
Hide file tree
Showing 12 changed files with 3,960 additions and 1,936 deletions.
122 changes: 103 additions & 19 deletions json-schema-autogen/anatomical_structure.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
"items": {
"type": "string"
},
"type": "array"
"type": [
"array",
"null"
]
},
"description": {
"type": "string"
Expand Down Expand Up @@ -53,6 +56,9 @@
},
{
"type": "string"
},
{
"type": "null"
}
],
"type": "string"
Expand Down Expand Up @@ -82,7 +88,10 @@
"items": {
"type": "string"
},
"type": "array"
"type": [
"array",
"null"
]
},
"description": {
"type": "string"
Expand Down Expand Up @@ -112,6 +121,9 @@
},
{
"type": "string"
},
{
"type": "null"
}
],
"type": "string"
Expand Down Expand Up @@ -151,7 +163,10 @@
"items": {
"type": "string"
},
"type": "array"
"type": [
"array",
"null"
]
},
"description": {
"type": "string"
Expand All @@ -169,6 +184,9 @@
},
{
"type": "string"
},
{
"type": "null"
}
],
"type": "string"
Expand All @@ -186,38 +204,56 @@
},
"x_resolution": {
"description": "The resolution (length / pixel) in along the x axis (numerical value part).",
"type": "number"
"type": [
"number",
"null"
]
},
"x_size": {
"description": "The number of pixels/voxels (size) along the x axis.",
"minimum": 1,
"type": "integer"
"type": [
"integer",
"null"
]
},
"y_direction": {
"$ref": "#/$defs/ANATOMICALDIRECTION",
"description": "A controlled vocabulary attribute defining the y axis direction in terms of anatomical direction."
},
"y_resolution": {
"description": "The resolution (length / pixel) in along the y axis (numerical value part).",
"type": "number"
"type": [
"number",
"null"
]
},
"y_size": {
"description": "The number of pixels/voxels (size) along the y axis.",
"minimum": 1,
"type": "integer"
"type": [
"integer",
"null"
]
},
"z_direction": {
"$ref": "#/$defs/ANATOMICALDIRECTION",
"description": "A controlled vocabulary attribute defining the z axis direction in terms of anatomical direction."
},
"z_resolution": {
"description": "The resolution (length / pixel) in along the z axis (numerical value part).",
"type": "number"
"type": [
"number",
"null"
]
},
"z_size": {
"description": "The number of pixels/voxels (size) along the y axis.",
"minimum": 1,
"type": "integer"
"type": [
"integer",
"null"
]
}
},
"required": [
Expand Down Expand Up @@ -251,7 +287,10 @@
"voxel_count": {
"description": "The number of voxels (3D pixels) spanned by the parcellation annotation (optional).",
"minimum": 0,
"type": "integer"
"type": [
"integer",
"null"
]
}
},
"required": [
Expand Down Expand Up @@ -308,7 +347,10 @@
"items": {
"type": "string"
},
"type": "array"
"type": [
"array",
"null"
]
},
"description": {
"type": "string"
Expand Down Expand Up @@ -362,6 +404,9 @@
},
{
"type": "string"
},
{
"type": "null"
}
],
"type": "string"
Expand All @@ -373,6 +418,9 @@
},
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Reference to the general (non versioned) parcellation atlas for which the parcellation atlas is a specific version release of.",
Expand Down Expand Up @@ -400,7 +448,10 @@
"properties": {
"color": {
"description": "A string representing to hex triplet code of a color",
"type": "string"
"type": [
"string",
"null"
]
},
"part_of_parcellation_color_scheme": {
"anyOf": [
Expand Down Expand Up @@ -445,7 +496,10 @@
"items": {
"type": "string"
},
"type": "array"
"type": [
"array",
"null"
]
},
"description": {
"type": "string"
Expand All @@ -463,6 +517,9 @@
},
{
"type": "string"
},
{
"type": "null"
}
],
"type": "string"
Expand Down Expand Up @@ -504,7 +561,10 @@
"items": {
"type": "string"
},
"type": "array"
"type": [
"array",
"null"
]
},
"description": {
"type": "string"
Expand All @@ -516,6 +576,9 @@
},
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Reference to the parent parcellation term for which the parcellation term is a child ( spatially part) of",
Expand All @@ -530,7 +593,10 @@
"ordinal": {
"description": "Ordinal of the parcellation term among other terms within the context of the associated parcellation terminology.",
"minimum": 0,
"type": "integer"
"type": [
"integer",
"null"
]
},
"part_of_parcellation_term_set": {
"anyOf": [
Expand All @@ -546,7 +612,10 @@
},
"symbol": {
"description": "Symbol representing a parcellation term.",
"type": "string"
"type": [
"string",
"null"
]
}
},
"required": [
Expand All @@ -569,7 +638,10 @@
"items": {
"type": "string"
},
"type": "array"
"type": [
"array",
"null"
]
},
"description": {
"type": "string"
Expand All @@ -581,6 +653,9 @@
},
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Reference to the parent parcellation term set for which the parcellation term set is a child (lower taxonomic rank) of.",
Expand All @@ -595,7 +670,10 @@
"ordinal": {
"description": "Ordinal of the parcellation term set among other term sets within the context of the associated parcellation terminology.",
"minimum": 0,
"type": "integer"
"type": [
"integer",
"null"
]
},
"part_of_parcellation_terminology": {
"anyOf": [
Expand Down Expand Up @@ -630,7 +708,10 @@
"items": {
"type": "string"
},
"type": "array"
"type": [
"array",
"null"
]
},
"description": {
"type": "string"
Expand All @@ -648,6 +729,9 @@
},
{
"type": "string"
},
{
"type": "null"
}
],
"type": "string"
Expand Down
Loading

0 comments on commit f19a74b

Please sign in to comment.