{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "required": [
    "id",
    "name",
    "kind",
    "year",
    "upstream_version",
    "summary",
    "tracks",
    "facts",
    "sources",
    "relations",
    "caveats",
    "citation",
    "reviewed_on",
    "review",
    "media",
    "primary_task",
    "resource_type",
    "classification",
    "task_data",
    "related_tasks"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "kind": {
      "enum": [
        "dataset",
        "collection",
        "variant"
      ]
    },
    "year": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1900
        },
        {
          "type": "null"
        }
      ]
    },
    "upstream_version": {
      "type": [
        "string",
        "null"
      ]
    },
    "summary": {
      "type": "object",
      "required": [
        "zh",
        "en"
      ],
      "properties": {
        "zh": {
          "type": "string",
          "minLength": 1
        },
        "en": {
          "type": "string",
          "minLength": 1
        }
      },
      "additionalProperties": false
    },
    "tracks": {
      "type": "array",
      "items": {
        "enum": [
          "vla",
          "manipulation",
          "long-horizon",
          "human-video",
          "cross-embodiment",
          "navigation",
          "locomotion",
          "bimanual",
          "dexterous",
          "perception",
          "reasoning",
          "integrated"
        ]
      },
      "minItems": 1,
      "uniqueItems": true
    },
    "facts": {
      "type": "object",
      "required": [
        "environment",
        "embodiment",
        "modalities",
        "actionLabels",
        "languageLabels",
        "formats",
        "license",
        "access",
        "episodes",
        "hours",
        "actionSpace",
        "codeLicense"
      ],
      "properties": {
        "environment": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "enum": [
                    "real",
                    "simulation",
                    "mixed"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "embodiment": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  },
                  "uniqueItems": true,
                  "minItems": 1
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "modalities": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  },
                  "uniqueItems": true,
                  "minItems": 1
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "actionLabels": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "languageLabels": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "formats": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  },
                  "uniqueItems": true,
                  "minItems": 1
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "license": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "access": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "enum": [
                    "direct",
                    "agreement",
                    "unknown"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "episodes": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "hours": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "number",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "actionSpace": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        },
        "codeLicense": {
          "type": "object",
          "required": [
            "value",
            "status",
            "sources",
            "note"
          ],
          "properties": {
            "value": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 1
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "source_reported",
                "unknown"
              ]
            },
            "sources": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              },
              "uniqueItems": true
            },
            "note": {
              "type": "object",
              "required": [
                "zh",
                "en"
              ],
              "properties": {
                "zh": {
                  "type": "string",
                  "minLength": 1
                },
                "en": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "sources": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": [
          "id",
          "url",
          "title",
          "locator",
          "accessed_on"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string",
            "minLength": 1
          },
          "locator": {
            "type": "string",
            "minLength": 1
          },
          "accessed_on": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false
      }
    },
    "relations": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "target",
          "source"
        ],
        "properties": {
          "type": {
            "enum": [
              "subset_of",
              "derived_from",
              "contains",
              "member_of"
            ]
          },
          "target": {
            "type": "string",
            "minLength": 1
          },
          "source": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      }
    },
    "caveats": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "zh",
          "en"
        ],
        "properties": {
          "zh": {
            "type": "string",
            "minLength": 1
          },
          "en": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false
      },
      "minItems": 1
    },
    "citation": {
      "type": "object",
      "required": [
        "title",
        "author",
        "year",
        "url"
      ],
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1
        },
        "author": {
          "type": "string",
          "minLength": 1
        },
        "year": {
          "type": "integer"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "type": {
          "enum": [
            "paper",
            "organizational-website",
            "software"
          ]
        }
      },
      "additionalProperties": false
    },
    "reviewed_on": {
      "type": "string",
      "format": "date"
    },
    "review": {
      "type": "object",
      "required": [
        "method",
        "human_verified",
        "download_tested"
      ],
      "properties": {
        "method": {
          "enum": [
            "assistant_source_review"
          ]
        },
        "human_verified": {
          "enum": [
            false
          ]
        },
        "download_tested": {
          "enum": [
            false
          ]
        }
      },
      "additionalProperties": false
    },
    "media": {
      "type": "object",
      "required": [
        "type",
        "url",
        "page_url",
        "poster",
        "scope",
        "attribution",
        "caption",
        "source",
        "reviewed_on"
      ],
      "properties": {
        "type": {
          "enum": [
            "video",
            "embed",
            "link",
            "image"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "page_url": {
          "type": "string",
          "format": "uri"
        },
        "poster": {
          "anyOf": [
            {
              "type": "string",
              "format": "uri"
            },
            {
              "type": "null"
            }
          ]
        },
        "scope": {
          "enum": [
            "dataset",
            "project",
            "parent"
          ]
        },
        "attribution": {
          "type": "string",
          "minLength": 1
        },
        "caption": {
          "type": "object",
          "required": [
            "zh",
            "en"
          ],
          "properties": {
            "zh": {
              "type": "string",
              "minLength": 1
            },
            "en": {
              "type": "string",
              "minLength": 1
            }
          },
          "additionalProperties": false
        },
        "source": {
          "type": "string",
          "minLength": 1
        },
        "reviewed_on": {
          "type": "string",
          "format": "date"
        }
      },
      "additionalProperties": false
    },
    "primary_task": {
      "enum": [
        "perception",
        "reasoning",
        "navigation",
        "manipulation",
        "locomotion",
        "integrated"
      ]
    },
    "resource_type": {
      "enum": [
        "dataset",
        "benchmark",
        "scene-assets",
        "object-assets",
        "collection"
      ]
    },
    "classification": {
      "type": "object",
      "required": [
        "scheme",
        "reason",
        "sources",
        "assigned_on"
      ],
      "properties": {
        "scheme": {
          "enum": [
            "task-v1"
          ]
        },
        "reason": {
          "type": "object",
          "required": [
            "zh",
            "en"
          ],
          "properties": {
            "zh": {
              "type": "string",
              "minLength": 1
            },
            "en": {
              "type": "string",
              "minLength": 1
            }
          },
          "additionalProperties": false
        },
        "sources": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          },
          "minItems": 1,
          "uniqueItems": true
        },
        "assigned_on": {
          "type": "string",
          "format": "date"
        }
      },
      "additionalProperties": false
    },
    "task_data": {
      "type": "object",
      "required": [
        "annotations",
        "scale"
      ],
      "properties": {
        "annotations": {
          "type": "object",
          "required": [
            "zh",
            "en"
          ],
          "properties": {
            "zh": {
              "type": "string",
              "minLength": 1
            },
            "en": {
              "type": "string",
              "minLength": 1
            }
          },
          "additionalProperties": false
        },
        "scale": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "label",
              "value",
              "source"
            ],
            "properties": {
              "label": {
                "type": "object",
                "required": [
                  "zh",
                  "en"
                ],
                "properties": {
                  "zh": {
                    "type": "string",
                    "minLength": 1
                  },
                  "en": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              },
              "value": {
                "type": "object",
                "required": [
                  "zh",
                  "en"
                ],
                "properties": {
                  "zh": {
                    "type": "string",
                    "minLength": 1
                  },
                  "en": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "additionalProperties": false
              },
              "source": {
                "type": "string",
                "format": "uri"
              }
            },
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    },
    "related_tasks": {
      "type": "array",
      "items": {
        "enum": [
          "perception",
          "reasoning",
          "navigation",
          "manipulation",
          "locomotion",
          "integrated"
        ]
      },
      "uniqueItems": true
    }
  },
  "additionalProperties": false
}
