{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/PublishLayerVersionRequest", "title": "PublishLayerVersionRequest", "type": "object", "required": [ "Content" ], "properties": { "Description": { "allOf": [ { "$ref": "#/components/schemas/Description" }, { "description": "The description of the version." } ] }, "Content": { "allOf": [ { "$ref": "#/components/schemas/LayerVersionContentInput" }, { "description": "The function layer archive." } ] }, "CompatibleRuntimes": { "allOf": [ { "$ref": "#/components/schemas/CompatibleRuntimes" }, { "description": "A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions." } ] }, "LicenseInfo": { "allOf": [ { "$ref": "#/components/schemas/LicenseInfo" }, { "description": "
The layer's software license. It can be any of the following:
An SPDX license identifier. For example, MIT.
The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT.
The full text of the license.