ApiSchemas
Provider
One shape from the contract, as it appears on the wire.
Used by providers.create, providers.get, providers.getByName, providers.list, providers.upsert
JSON Schema
{
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/ProviderId"
},
"name": {
"$ref": "#/components/schemas/ProviderName"
},
"type": {
"$ref": "#/components/schemas/ProviderType"
},
"baseUrl": {
"type": "string",
"minLength": 1
},
"hasSecret": {
"type": "boolean"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
}
},
"required": [
"id",
"name",
"type",
"hasSecret",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}