RoboHome / code /robohome /src /engine /source /schemas /RPArenaInterfaceV1.schema.json
RoboParty Release
Unify robohome source, assets and scenes delivery
3f15e9f
Raw History Blame Contribute Delete
6 kB
{
"$defs": {
"RPArenaBundlePaths": {
"additionalProperties": false,
"properties": {
"root_usd": {
"const": "root.usda",
"title": "Root Usd",
"type": "string"
},
"scene_usd": {
"const": "scenesmith/scene.usdc",
"title": "Scene Usd",
"type": "string"
},
"scene_manifest": {
"const": "manifests/scene.json",
"title": "Scene Manifest",
"type": "string"
},
"task_manifest": {
"const": "manifests/task.json",
"title": "Task Manifest",
"type": "string"
},
"episode_manifest": {
"const": "manifests/episode.json",
"title": "Episode Manifest",
"type": "string"
},
"evaluator_manifest": {
"const": "manifests/evaluator.json",
"title": "Evaluator Manifest",
"type": "string"
},
"robot_manifest": {
"const": "manifests/robot.json",
"title": "Robot Manifest",
"type": "string"
}
},
"required": [
"root_usd",
"scene_usd",
"scene_manifest",
"task_manifest",
"episode_manifest",
"evaluator_manifest",
"robot_manifest"
],
"title": "RPArenaBundlePaths",
"type": "object"
},
"RPArenaContract": {
"additionalProperties": false,
"properties": {
"bundle_type": {
"const": "single_episode",
"title": "Bundle Type",
"type": "string"
},
"task_type": {
"pattern": "^[a-z][a-z0-9_]*$",
"title": "Task Type",
"type": "string"
},
"evaluator": {
"const": "predicate_graph_v1",
"title": "Evaluator",
"type": "string"
},
"entity_binding": {
"const": "absolute_world_prim_paths",
"title": "Entity Binding",
"type": "string"
},
"physics_authoring": {
"const": "consumer",
"title": "Physics Authoring",
"type": "string"
},
"robot_embodiment": {
"const": "consumer",
"title": "Robot Embodiment",
"type": "string"
},
"coordinate_system": {
"const": "usd_z_up_right_handed_metres",
"title": "Coordinate System",
"type": "string"
},
"checksums": {
"const": "sha256_complete",
"title": "Checksums",
"type": "string"
}
},
"required": [
"bundle_type",
"task_type",
"evaluator",
"entity_binding",
"physics_authoring",
"robot_embodiment",
"coordinate_system",
"checksums"
],
"title": "RPArenaContract",
"type": "object"
},
"RPArenaIdentity": {
"additionalProperties": false,
"properties": {
"scene_id": {
"minLength": 1,
"title": "Scene Id",
"type": "string"
},
"task_id": {
"minLength": 1,
"title": "Task Id",
"type": "string"
},
"episode_id": {
"minLength": 1,
"title": "Episode Id",
"type": "string"
},
"entity_ids": {
"items": {
"minLength": 1,
"type": "string"
},
"minItems": 1,
"title": "Entity Ids",
"type": "array",
"uniqueItems": true
},
"manipulated_entity_ids": {
"items": {
"minLength": 1,
"type": "string"
},
"minItems": 1,
"title": "Manipulated Entity Ids",
"type": "array",
"uniqueItems": true
}
},
"required": [
"scene_id",
"task_id",
"episode_id",
"entity_ids",
"manipulated_entity_ids"
],
"title": "RPArenaIdentity",
"type": "object"
},
"RPArenaProducer": {
"additionalProperties": false,
"properties": {
"name": {
"minLength": 1,
"title": "Name",
"type": "string"
},
"version": {
"minLength": 1,
"title": "Version",
"type": "string"
},
"adapter": {
"minLength": 1,
"title": "Adapter",
"type": "string"
}
},
"required": [
"name",
"version",
"adapter"
],
"title": "RPArenaProducer",
"type": "object"
},
"RPArenaSource": {
"additionalProperties": false,
"properties": {
"kind": {
"minLength": 1,
"title": "Kind",
"type": "string"
},
"source_task_id": {
"minLength": 1,
"title": "Source Task Id",
"type": "string"
},
"source_digest": {
"pattern": "^[0-9a-f]{64}$",
"title": "Source Digest",
"type": "string"
}
},
"required": [
"kind",
"source_task_id",
"source_digest"
],
"title": "RPArenaSource",
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"schema_version": {
"const": "rparena.generator-interface/1.0",
"title": "Schema Version",
"type": "string"
},
"producer": {
"$ref": "#/$defs/RPArenaProducer"
},
"bundle": {
"$ref": "#/$defs/RPArenaBundlePaths"
},
"contract": {
"$ref": "#/$defs/RPArenaContract"
},
"identity": {
"$ref": "#/$defs/RPArenaIdentity"
},
"source": {
"$ref": "#/$defs/RPArenaSource"
}
},
"required": [
"schema_version",
"producer",
"bundle",
"contract",
"identity",
"source"
],
"title": "RPArenaInterfaceV1",
"type": "object"
}