cutekit/schemas/osdk.manifest.target.v1.json

65 lines
2.1 KiB
JSON
Raw Normal View History

2023-02-20 11:05:55 +00:00
{
"$id": "https://schema.cute.engineering/osdk.manifest.target.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "A representation of a target manifest for OSDK",
"type": "object",
"properties": {
"id": {
"description": "The unique identifier for this manifest",
"type": "string"
},
"type": {
"description": "The type of this manifest",
"type": "string"
},
"description": {
"description": "A description of this manifest",
"type": "string"
},
"props": {
"type": "object",
"description": "A list of properties that this target provides",
"patternProperties": {
".*": {}
}
},
"tools": {
"type": "object",
"description": "A list of tools that this target provides",
"patternProperties": {
".*": {
"type": "object",
"properties": {
"cmd": {
"description": "Command to run the tool",
"type": "string"
},
"args": {
"description": "Arguments to pass to the tool",
"type": "array",
"items": {
"type": "string"
}
},
"files": {
"description": "Files used by the tool",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"routing": {
"type": "object",
"description": "A list of feature to component mappings",
"patternProperties": {
".*": {
"type": "string"
}
}
}
}
}