Variable: LixDirectoryDescriptorSchema

const LixDirectoryDescriptorSchema: { additionalProperties: false; properties: { hidden: { type: "boolean"; x-lix-generated: true; }; id: { type: "string"; x-lix-generated: true; }; name: { description: "Directory segment without slashes."; pattern: "^[^/\\]+$"; type: "string"; }; parent_id: { description: "Identifier of the parent directory. Null indicates the virtual root directory."; nullable: true; type: "string"; }; }; required: readonly ["id", "parent_id", "name"]; type: "object"; x-lix-key: "lix_directory_descriptor"; x-lix-primary-key: readonly ["id"]; x-lix-unique: readonly [readonly ["parent_id", "name"]]; x-lix-version: "1.0"; }

Type Declaration

additionalProperties

readonly additionalProperties: false = false

properties

readonly properties: { hidden: { type: "boolean"; x-lix-generated: true; }; id: { type: "string"; x-lix-generated: true; }; name: { description: "Directory segment without slashes."; pattern: "^[^/\\]+$"; type: "string"; }; parent_id: { description: "Identifier of the parent directory. Null indicates the virtual root directory."; nullable: true; type: "string"; }; }

properties.hidden

readonly hidden: { type: "boolean"; x-lix-generated: true; }

properties.hidden.type

readonly type: "boolean" = "boolean"

properties.hidden.x-lix-generated

readonly x-lix-generated: true = true

properties.id

readonly id: { type: "string"; x-lix-generated: true; }

properties.id.type

readonly type: "string" = "string"

properties.id.x-lix-generated

readonly x-lix-generated: true = true

properties.name

readonly name: { description: "Directory segment without slashes."; pattern: "^[^/\\]+$"; type: "string"; }

properties.name.description

readonly description: "Directory segment without slashes." = "Directory segment without slashes."

properties.name.pattern

readonly pattern: "^[^/\\]+$" = "^[^/\\\\]+$"

properties.name.type

readonly type: "string" = "string"

properties.parent_id

readonly parent_id: { description: "Identifier of the parent directory. Null indicates the virtual root directory."; nullable: true; type: "string"; }

properties.parent_id.description

readonly description: "Identifier of the parent directory. Null indicates the virtual root directory." = "Identifier of the parent directory. Null indicates the virtual root directory."

properties.parent_id.nullable

readonly nullable: true = true

properties.parent_id.type

readonly type: "string" = "string"

required

readonly required: readonly ["id", "parent_id", "name"]

type

readonly type: "object" = "object"

x-lix-key

readonly x-lix-key: "lix_directory_descriptor" = "lix_directory_descriptor"

x-lix-primary-key

readonly x-lix-primary-key: readonly ["id"]

x-lix-unique

readonly x-lix-unique: readonly [readonly ["parent_id", "name"]]

x-lix-version

readonly x-lix-version: "1.0" = "1.0"