Skip to content

Commit

Permalink
feat: update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
etowahadams committed Jun 7, 2024
1 parent 0cafc9d commit 4fa2385
Showing 1 changed file with 0 additions and 149 deletions.
149 changes: 0 additions & 149 deletions src/gosling-schema/gosling.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -559,152 +559,6 @@
}
]
},
"DataTrack": {
"additionalProperties": false,
"description": "Partial specification of `BasicSingleTrack` to use default visual encoding predefined by data type.",
"properties": {
"_assignedHeight": {
"type": "number"
},
"_assignedWidth": {
"description": "Internal: Used for responsive spec",
"type": "number"
},
"_invalidTrack": {
"description": "internal",
"type": "boolean"
},
"_renderingId": {
"description": "internal",
"type": "string"
},
"assembly": {
"$ref": "#/definitions/Assembly",
"description": "A string that specifies the genome builds to use. Currently support `\"hg38\"`, `\"hg19\"`, `\"hg18\"`, `\"hg17\"`, `\"hg16\"`, `\"mm10\"`, `\"mm9\"`, and `\"unknown\"`.\n\n__Note:__: with `\"unknown\"` assembly, genomic axes do not show chrN: in labels."
},
"centerRadius": {
"description": "Proportion of the radius of the center white space.\n\n__Default:__ `0.3`",
"type": "number"
},
"data": {
"$ref": "#/definitions/DataDeep"
},
"endAngle": {
"description": "Specify the end angle (in the range of [0, 360]) of circular tracks (`{\"layout\": \"circular\"}`).",
"type": "number"
},
"height": {
"description": "Specify the track height in pixels.",
"type": "number"
},
"id": {
"description": "Assigned to `uid` in a HiGlass view config, used for API and caching.",
"type": "string"
},
"innerRadius": {
"description": "Specify the inner radius of tracks when (`{\"layout\": \"circular\"}`).",
"type": "number"
},
"layout": {
"$ref": "#/definitions/Layout",
"description": "Specify the layout type of all tracks."
},
"linkingId": {
"description": "Specify an ID for [linking multiple views](http://gosling-lang.org/docs/user-interaction#linking-views)",
"type": "string"
},
"orientation": {
"$ref": "#/definitions/Orientation",
"description": "Specify the orientation."
},
"outerRadius": {
"description": "Specify the outer radius of tracks when `{\"layout\": \"circular\"}`.",
"type": "number"
},
"overlayOnPreviousTrack": {
"type": "boolean"
},
"prerelease": {
"additionalProperties": false,
"description": "internal",
"type": "object"
},
"spacing": {
"description": "The size of the gap (1) between tracks, (2) between views, and (3) of the origin of circular tracks. The effect of this property depends on where on the spec you specify the `spacing`.\n\nIn a linear layout, this value is used in pixels, while in a circular layout, this value is used relative to the height of the tracks or views.",
"type": "number"
},
"startAngle": {
"description": "Specify the start angle (in the range of [0, 360]) of circular tracks (`{\"layout\": \"circular\"}`).",
"type": "number"
},
"static": {
"description": "Whether to disable [Zooming and Panning](http://gosling-lang.org/docs/user-interaction#zooming-and-panning), __Default:__ `false`.",
"type": "boolean"
},
"style": {
"$ref": "#/definitions/Style",
"description": "Define the [style](http://gosling-lang.org/docs/visual-channel#style-related-properties) of multive views. Will be overwritten by the style of children elements (e.g., view, track)."
},
"subtitle": {
"type": "string"
},
"title": {
"description": "If defined, will show the textual label on the left-top corner of a track.",
"type": "string"
},
"width": {
"description": "Specify the track width in pixels.",
"type": "number"
},
"xAxis": {
"$ref": "#/definitions/AxisPosition",
"description": "not supported"
},
"xDomain": {
"anyOf": [
{
"$ref": "#/definitions/DomainInterval"
},
{
"$ref": "#/definitions/DomainChrInterval"
},
{
"$ref": "#/definitions/DomainChr"
}
],
"description": "Specify the visible region of genomic x-axis"
},
"xOffset": {
"description": "Specify the x offset of views in the unit of pixels",
"type": "number"
},
"yDomain": {
"anyOf": [
{
"$ref": "#/definitions/DomainInterval"
},
{
"$ref": "#/definitions/DomainChrInterval"
},
{
"$ref": "#/definitions/DomainChr"
}
],
"description": "Specify the visible region of genomic y-axis"
},
"yOffset": {
"description": "Specify the y offset of views in the unit of pixels",
"type": "number"
},
"zoomLimits": {
"$ref": "#/definitions/ZoomLimits"
}
},
"required": [
"data"
],
"type": "object"
},
"DataTransform": {
"anyOf": [
{
Expand Down Expand Up @@ -9176,9 +9030,6 @@
{
"$ref": "#/definitions/OverlaidTrack"
},
{
"$ref": "#/definitions/DataTrack"
},
{
"$ref": "#/definitions/TemplateTrack"
},
Expand Down

0 comments on commit 4fa2385

Please sign in to comment.