Skip to content

Commit e003018

Browse files
committed
feat: add capd + rpc + schema stubs
1 parent bbad104 commit e003018

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

capd/speachlab.capd.v0.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
capability_id: "socio.speachlab"
2+
version: "0.1.0"
3+
status: "draft"
4+
description: "Linux-native capability repo for SourceOS: speachlab"
5+
entrypoints:
6+
validate:
7+
command: "make validate"
8+
contracts:
9+
rpc_dir: "rpc"
10+
schema_dir: "schemas"

rpc/speachlab.service.v0.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
service: "socio.speachlab.v0"
2+
transport: "triRPC"
3+
methods: []
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$id": "socio.speachlab.event.v0",
3+
"$schema": "https://json-schema.org/draft/2020-12/schema",
4+
"additionalProperties": true,
5+
"properties": {
6+
"event_type": {
7+
"type": "string"
8+
},
9+
"payload": {
10+
"type": "object"
11+
},
12+
"ts": {
13+
"description": "ISO-8601 timestamp",
14+
"type": "string"
15+
}
16+
},
17+
"required": [
18+
"event_type",
19+
"ts"
20+
],
21+
"title": "speachlab Event (v0)",
22+
"type": "object"
23+
}

0 commit comments

Comments
 (0)