@softvisio/core
Version:
Softisio core
67 lines (59 loc) • 1.89 kB
YAML
- $id: index
type: object
properties:
emits:
anyOf:
- type: "null"
- { type: array, items: { type: string, format: glob-pattern }, uniqueItems: true }
additionalProperties: false
- $id: module
type: object
properties:
title: { type: string }
description: { type: ["null", string] }
emits:
anyOf:
- type: "null"
- { type: array, items: { type: string, format: glob-pattern }, uniqueItems: true }
aclResolvers:
anyOf:
- type: "null"
- type: object
minProperties: 1
propertyNames: { type: string, format: kebab-case }
additionalProperties: { type: ["null", string] }
methods:
type: object
minProperties: 1
propertyNames: { type: string, format: kebab-case }
additionalProperties:
type: object
properties:
title: { type: string }
description: { type: ["null", string] }
deprecated: { type: boolean }
permission: { type: ["null", string] }
requireAuthorization: { type: boolean }
requirePersistentConnection: { type: boolean }
maxParallelCallsPerClient:
anyOf:
- type: "null"
- { type: integer, minimum: 1 }
params:
anyOf:
- type: "null"
- type: array
minItems: 1
items:
type: object
properties:
name: { type: string, format: snake-case }
description: { type: string }
required: { type: boolean }
schema: { type: object }
additionalProperties: false
required: [name, schema]
additionalProperties: false
required: []
additionalProperties: false
required: []