Era.Common.DataDefinition.Common.File

Description

Structure to transfer a file.

Properties

Name JsonSchemaType Description
contents string Contents of the file.
name string Name of the file.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Repository.OnlineInstallersFile
Era.Common.NetworkMessage.ConsoleApi.Common.RpcGetFilesResponse
Era.Common.NetworkMessage.ConsoleApi.Repository.RpcGetGpoInstallerResponse

JsonSchema

{
    "title": "Era.Common.DataDefinition.Common.File",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Common.File"
    ],
    "properties": {
        "Era.Common.DataDefinition.Common.File": {
            "$ref": "#/definitions/File"
        }
    },
    "definitions": {
        "File": {
            "additionalProperties": false,
            "required": [
                "contents",
                "name"
            ],
            "type": "object",
            "properties": {
                "contents": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                }
            }
        }
    }
}