baseball-engine / docs /motion-manifest.schema.json
github-actions[bot]
Automated Deploy: 5adf0d75b051454f4f57f2bdbd9cf6565e76db5f
d835db0
Raw History Blame Contribute Delete
4.18 kB
{
"$defs": {
"Artifact": {
"additionalProperties": false,
"properties": {
"status": {
"enum": [
"available",
"unavailable"
],
"title": "Status",
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Url"
},
"filename": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Filename"
},
"format": {
"title": "Format",
"type": "string"
},
"media_type": {
"title": "Media Type",
"type": "string"
},
"size_bytes": {
"anyOf": [
{
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Size Bytes"
},
"sha256": {
"anyOf": [
{
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Sha256"
},
"expires_at": {
"title": "Expires At",
"type": "string"
},
"reason_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Reason Code"
}
},
"required": [
"status",
"format",
"media_type",
"expires_at"
],
"title": "Artifact",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"schema_version": {
"const": "1.0",
"default": "1.0",
"title": "Schema Version",
"type": "string"
},
"analysis_id": {
"title": "Analysis Id",
"type": "string"
},
"job_id": {
"title": "Job Id",
"type": "string"
},
"analysis_revision": {
"minimum": 1,
"title": "Analysis Revision",
"type": "integer"
},
"parent_job_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Parent Job Id"
},
"person_id": {
"title": "Person Id",
"type": "string"
},
"source_video": {
"additionalProperties": true,
"title": "Source Video",
"type": "object"
},
"pipeline": {
"additionalProperties": true,
"title": "Pipeline",
"type": "object"
},
"coordinates": {
"additionalProperties": true,
"title": "Coordinates",
"type": "object"
},
"timing": {
"additionalProperties": true,
"title": "Timing",
"type": "object"
},
"skeleton": {
"additionalProperties": true,
"title": "Skeleton",
"type": "object"
},
"sampling": {
"additionalProperties": true,
"title": "Sampling",
"type": "object"
},
"quality": {
"additionalProperties": true,
"title": "Quality",
"type": "object"
},
"artifacts": {
"additionalProperties": {
"$ref": "#/$defs/Artifact"
},
"title": "Artifacts",
"type": "object"
},
"expires_at": {
"title": "Expires At",
"type": "string"
},
"accuracy_validated": {
"const": false,
"default": false,
"title": "Accuracy Validated",
"type": "boolean"
}
},
"required": [
"analysis_id",
"job_id",
"analysis_revision",
"person_id",
"source_video",
"pipeline",
"coordinates",
"timing",
"skeleton",
"sampling",
"quality",
"artifacts",
"expires_at"
],
"title": "MotionManifest",
"type": "object"
}