Skip to main content

YAML

bedoc_parser_lpc.yaml
# yaml-language-server: $schema=https://bedoc.gesslar.dev/schemas/v1/bedoc.action.json
provides:
type: object
properties:
functions:
type: array
items:
type: object
properties:
name:
type: string
description:
type: array
items:
type: string
param:
type: array
items:
type: object
properties:
type:
type: string
name:
type: string
content:
type: array
items:
type: string
return:
type: object
properties:
type:
type: string
content:
type: array
items:
type: string
example:
type: array
items:
type: string

JSON

bedoc_parser_lpc.json
{
$schema: "https://bedoc.gesslar.dev/schemas/v1/bedoc.action.json",
provides: {
type: "object",
properties: {
functions: {
type: "array",
items: {
type: "object",
properties: {
name: {
type: "string"
},
description: {
type: "array",
items: {
type: "string"
}
},
param: {
type: "array",
items: {
type: "object",
properties: {
type: {
type: "string"
},
name: {
type: "string"
},
content: {
type: "array",
items: {
type: "string"
}
}
}
}
},
return: {
type: "object",
properties: {
type: {
type: "string"
},
content: {
type: "array",
items: {
type: "string"
}
}
}
},
example: {
type: "array",
items: {
type: "string"
}
}
}
}
}
}
}
}