diff --git a/kinds/5000.md b/kinds/5000.md
index fff3ee3..9ddecf3 100644
--- a/kinds/5000.md
+++ b/kinds/5000.md
@@ -14,7 +14,7 @@ Jobs MIGHT specify a mime type as the marker
in the i
Specifies a range on which to focus the transcription in seconds (for audio inputs)
-```
+```json
[ "param", "range", "", "" ]
```
@@ -24,7 +24,7 @@ Specifies alignment of labels (for audio inputs).
For example, if the output format supports timestamps, these will occur according to the alignment. If parameter is not set, the DVM decides the default alignment.
possible inputs `raw`, `segment`, `word`
-```
+```json
[ "param", "alignment", "raw" ]
```
diff --git a/kinds/5001.md b/kinds/5001.md
index 3243dd3..bde93d9 100644
--- a/kinds/5001.md
+++ b/kinds/5001.md
@@ -14,7 +14,7 @@ Job requests SHOULD include 1 one or more inputs. Inputs should be readily avail
Specifies the desired length in `words` or `paragraphs`.
-```
+```json
[ "param", "length", "" ]
```
diff --git a/kinds/5002.md b/kinds/5002.md
index 8930982..2c50bfa 100644
--- a/kinds/5002.md
+++ b/kinds/5002.md
@@ -14,7 +14,7 @@ Job requests SHOULD include 1 one or more inputs. Inputs should be readily avail
Specifies the desired output language
-```
+```json
[ "param", "language", "es" ]
```
@@ -38,4 +38,8 @@ Including but not limited to:
[ "param", "language", "es" ]
]
}
-```
\ No newline at end of file
+```
+
+# Appendix A
+
+Langue codes SHOULD be on [ISO 639-2/ISO 639-1](https://www.loc.gov/standards/iso639-2/php/code_list.php)
diff --git a/kinds/5050.md b/kinds/5050.md
index 2d3f884..e3913ef 100644
--- a/kinds/5050.md
+++ b/kinds/5050.md
@@ -62,7 +62,7 @@ Values greater than 1.0 discourage repetition, while values less than 1.0 encour
NOTE: All parameters are optional and additional application specific parameters can be added.
-```
+```json
[ "param", "model", "LLaMA-2" ],
[ "param", "max_tokens", "512" ],
[ "param", "temperature", "0.5" ],
diff --git a/kinds/5100.md b/kinds/5100.md
index 2e303a3..a11b56d 100644
--- a/kinds/5100.md
+++ b/kinds/5100.md
@@ -40,8 +40,6 @@ Define a negative prompt that includes what the model should avoid during Genera
Description:
Specifies in the format of `${width}x${height}` (i.e `512x512`, `1024x768`) the exact size/dimension the image will be generated in. This param takes precedence over `ratio`. DVMs SHOULD ignore the job request if unable to fulfill the requested size
-
-
# Output
A link to the generated image(s)
diff --git a/kinds/5200.md b/kinds/5200.md
index 386e6c6..4d21a71 100644
--- a/kinds/5200.md
+++ b/kinds/5200.md
@@ -14,7 +14,7 @@ Clients provide a link to the input video. The link can either point directly to
Specifies a range if the video should be shortend.
-```
+```json
[ "param", "range", "", "" ]
```
diff --git a/kinds/5201.md b/kinds/5201.md
index 71b47cd..a099907 100644
--- a/kinds/5201.md
+++ b/kinds/5201.md
@@ -14,70 +14,34 @@ Clients provide a link to the input video or a reference to an event or job ID.
Specifies the output language of the video. Input language is auto-detected.
-```
+```json
[ "param", "language", "es"]
```
-| ID | Language |
-| ---- | --------- |
-| en | English |
-| jp | Japanese |
-| cn | Chinese |
-| de | German |
-| in | Tamil |
-| fr | French |
-| kr | Korean |
-| br | Portuguese (Brazil) |
-| pt | Portuguese (Portugal) |
-| it | Italian |
-| es | Spanish |
-| id | Indonesian |
-| nl | Dutch |
-| tr | Turkish |
-| ph | Filipino |
-| pl | Polish |
-| se | Swedish |
-| bg | Bulgarian |
-| ro | Romanian |
-| se | Arabic (Saudi Arabia) |
-| ae | Arabic (UAE) |
-| cz | Czech |
-| gr | Greek |
-| fi | Finnish |
-| hr | Croatian |
-| my | Malay |
-| sk | Slovak |
-| dk | Danish |
-| ua | Ukrainian |
-
-
## `subtitle`
Optional parameter. Specifies the language for subtitle captions that be burned into the video.
-```
+```json
[ "param", "subtitle", "en"]
```
-
## `range`
Optional parameter. Specifies a range if the video translation should be targeted to a specific timestamp range.
-```
+```json
[ "param", "range", "", "" ]
```
-
## `format`
Optional. If set the DVM uses the format to convert the video to the given format, otherwise it's up to the DVM to choose an output format. By using a format such as mp3, the video might also be converted to an audio file.
-```
+```json
[ "output", "video/mp4" ]
```
-
# Output
A link to the translated video.
@@ -99,3 +63,7 @@ A link to the translated video.
]
}
```
+
+# Appendix A
+
+Langue codes SHOULD be on [ISO 639-2/ISO 639-1](https://www.loc.gov/standards/iso639-2/php/code_list.php)
diff --git a/kinds/5202.md b/kinds/5202.md
index 2bfc274..4ecbb91 100644
--- a/kinds/5202.md
+++ b/kinds/5202.md
@@ -13,8 +13,8 @@ Clients provide a link to the input image. The link should point to an image fil
Params might be added at a later stage.
# Output
-A link to the generated video
+A link to the generated video
# Example
diff --git a/kinds/5250.md b/kinds/5250.md
index fca5697..7adcfa2 100644
--- a/kinds/5250.md
+++ b/kinds/5250.md
@@ -12,33 +12,10 @@ Clients provide an Input such as a prompt, an event or job ID.
Specifies the output language of the video. Input language is auto-detected.
-```
+```json
[ "param", "language", "en"]
```
-# Params
-
-
-| ID | Language |
-| ---- | --------- |
-| en | English |
-| es | Spanish |
-| fr | French |
-| de | German |
-| it | Italian |
-| pt | Portugese |
-| pl | Polish |
-| tr | Turkish |
-| ru | Russian |
-| cs | Czech |
-| ar | Arabic |
-| zh-cn| Chinese |
-| ja | Japanese |
-| hu | Hungarian |
-| ko | Korean |
-
-
-
# Output
A link to the generated audio.
@@ -57,3 +34,7 @@ A link to the generated audio.
]
}
```
+
+# Appendix A
+
+Langue codes SHOULD be on [ISO 639-2/ISO 639-1](https://www.loc.gov/standards/iso639-2/php/code_list.php)
diff --git a/kinds/5300.md b/kinds/5300.md
index c8c89f8..dbd0250 100644
--- a/kinds/5300.md
+++ b/kinds/5300.md
@@ -34,6 +34,7 @@ Clients should allow users to choose which DVM they want to use, send the reques
# Example
#### Request
+
```json
{
"content": "",
@@ -45,15 +46,10 @@ Clients should allow users to choose which DVM they want to use, send the reques
```
#### Response
+
```json
{
"kind": 6300,
- "content": '
- [ "e", "<...>", "relay-url" ],
- [ "e", "<...>", "relay-url" ],
- [ "e", "<...>", "relay-url" ],
- [ "e", "<...>", "relay-url" ],
- [ "a", "<...>", "relay-url" ]
- '
+ "content": "[ \"e\", \"<...>\", \"relay-url\" ],[ \"e\", \"<...>\", \"relay-url\" ],[ \"e\", \"<...>\", \"relay-url\" ],[ \"e\", \"<...>\", \"relay-url\" ],[ \"a\", \"<...>\", \"relay-url\" ]"
}
-```
\ No newline at end of file
+```
diff --git a/kinds/5301.md b/kinds/5301.md
index dafba29..00db88f 100644
--- a/kinds/5301.md
+++ b/kinds/5301.md
@@ -33,6 +33,7 @@ Clients should allow users to choose which DVM they want to use, send the reques
# Example
#### Request
+
```json
{
"content": "",
@@ -42,14 +43,10 @@ Clients should allow users to choose which DVM they want to use, send the reques
```
#### Response
+
```json
{
"kind": 6301,
- "content": '
- [ "p", "<...>" ],
- [ "p", "<...>" ],
- [ "p", "<...>" ],
- [ "p", "<...>" ]
- '
+ "content": "[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ]"
}
-```
\ No newline at end of file
+```
diff --git a/kinds/5302.md b/kinds/5302.md
index 49cca18..1edb5ad 100644
--- a/kinds/5302.md
+++ b/kinds/5302.md
@@ -26,10 +26,10 @@ Clients can ask a Search DVM to return notes based on certain filters.
# Example
#### Request
+
```json
{
"content": "",
-
"kind": 5302,
"tags":
[
@@ -41,14 +41,10 @@ Clients can ask a Search DVM to return notes based on certain filters.
```
#### Response
+
```json
{
"kind": 6302,
- "content": [
- [ "e", "<...>" ],
- [ "e", "<...>" ],
- [ "e", "<...>" ],
- [ "e", "<...>" ]
- ]
+ "content": "[ \"e\", \"<...>\" ],[ \"e\", \"<...>\" ],[ \"e\", \"<...>\" ],[ \"e\", \"<...>\" ]"
}
```
diff --git a/kinds/5303.md b/kinds/5303.md
index 95fdaf7..71b8306 100644
--- a/kinds/5303.md
+++ b/kinds/5303.md
@@ -5,6 +5,7 @@ description: Job to search for profiles based on a prompt
---
# Input
+
Text to be included in the search
# Output
@@ -19,14 +20,13 @@ A `content` JSON-stringified list of tags. Tags SHOULD be `p`.
Clients can ask a Search DVM to return profiles based on certain filters.
-
# Example
#### Request
+
```json
{
"content": "",
-
"kind": 5303,
"tags":
[
@@ -40,11 +40,6 @@ Clients can ask a Search DVM to return profiles based on certain filters.
```json
{
"kind": 6303,
- "content": '
- [ "p", "<...>" ],
- [ "p", "<...>" ],
- [ "p", "<...>" ],
- [ "p", "<...>" ]
- '
+ "content": "[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ],[ \"p\", \"<...>\" ]"
}
-```
\ No newline at end of file
+```
diff --git a/kinds/5400.md b/kinds/5400.md
index 1ccacb4..bf28a31 100644
--- a/kinds/5400.md
+++ b/kinds/5400.md
@@ -33,6 +33,7 @@ Clients may want to avoid downloading large datasets from many relays simply in
# Example
#### Request
+
```json
{
"content": "[{\"#t\":[\"zapathon\"]}]",
@@ -42,6 +43,7 @@ Clients may want to avoid downloading large datasets from many relays simply in
```
#### Response
+
```json
{
"kind": 6400,
@@ -50,6 +52,7 @@ Clients may want to avoid downloading large datasets from many relays simply in
```
#### Request
+
```json
{
"content": "[{\"#kinds\":[7], \"#e\":[\"7b0d90f1973da1cea186c85fbd09b3e4e455ce4d438b60a3d1f9aabc1681418f\"}]",
@@ -61,6 +64,7 @@ Clients may want to avoid downloading large datasets from many relays simply in
```
#### Response
+
```json
{
"kind": 6400,
diff --git a/kinds/5500.md b/kinds/5500.md
index 5512acb..5a183d5 100644
--- a/kinds/5500.md
+++ b/kinds/5500.md
@@ -30,7 +30,6 @@ If no malware was found, `content` is set to the string `CLEAN`. If malware was
```json
{
- ...
"content": "Scanning eicar.com.txt
eicar.com.txt: Win.Test.EICAR_HDB-1 FOUND
eicar.com.txt: Win.Test.EICAR_HSB-1 FOUND
@@ -49,7 +48,6 @@ Time: 12.757 sec (0 m 12 s)
Start Date: 2024:01:15 17:01:38
End Date: 2024:01:15 17:01:51",
"kind": 6500
- ...
}
```
@@ -77,9 +75,7 @@ End Date: 2024:01:15 17:01:51",
```json
{
- ...
"content": "CLEAN",
"kind": 6500
- ...
}
```
diff --git a/kinds/5900.md b/kinds/5900.md
index d497e29..b49cacc 100644
--- a/kinds/5900.md
+++ b/kinds/5900.md
@@ -30,7 +30,7 @@ Event ID to be stamped.
}
```
-## Desponse
+## Response
```json
{
diff --git a/kinds/5905.md b/kinds/5905.md
index 73571df..b82f683 100644
--- a/kinds/5905.md
+++ b/kinds/5905.md
@@ -12,7 +12,7 @@ Events to be published can have a different pubkey than the requester's pubkey (
Event(s) to be scheduled
```js
-[ "i", "", "text" ]
```
# Params
@@ -64,7 +64,7 @@ Job feedback is sent back the moment an event is scheduled.
A feedback
-## Desponse
+## Response
```json
{