ApiSchemas
ProviderNameTakenEncoded
One shape from the contract, as it appears on the wire.
Used by providers.create
JSON Schema
{
"type": "object",
"properties": {
"_tag": {
"type": "string",
"enum": [
"ProviderNameTaken"
]
},
"name": {
"type": "string"
},
"existingId": {
"$ref": "#/components/schemas/ProviderId"
}
},
"required": [
"_tag",
"name",
"existingId"
],
"additionalProperties": false
}