shaka-packager/tools/json_schema_compiler/test/json_schema_test.json

107 lines
1.7 KiB
JSON

[
{
"namespace": "compile",
"description": "The compile API.",
"functions": [],
"types": {}
},
{
"namespace": "nocompile",
"description": "The nocompile API.",
"nocompile": true,
"functions": [],
"types": {}
},
{
"namespace": "functions",
"description": "The functions API.",
"functions": [
{
"id": "one",
"nocompile": true
},
{
"id": "two"
},
{
"id": "three",
"nocompile": true
},
{
"id": "four"
}
],
"types": {
"one": { "key": "value" }
}
},
{
"namespace": "types",
"description": "The types API.",
"functions": [
{ "id": "one" }
],
"types": {
"one": {
"key": "value",
"nocompile": true
},
"two": {
"key": "value"
},
"three": {
"key": "value",
"nocompile": true
},
"four": {
"key": "value"
}
}
},
{
"namespace": "nested",
"description": "The nested API.",
"properties": {
"sync": {
"functions": [
{
"id": "one",
"nocompile": true
},
{
"id": "two"
},
{
"id": "three",
"nocompile": true
},
{
"id": "four"
}
],
"types": {
"one": {
"key": "value",
"nocompile": true
},
"two": {
"key": "value"
},
"three": {
"key": "value",
"nocompile": true
},
"four": {
"key": "value"
}
}
}
}
}
]