Variable submissionRequirementSchemaConst

submissionRequirementSchema: {
    oneOf: readonly [{
        additionalProperties: false;
        properties: {
            count: {
                minimum: 1;
                type: "integer";
            };
            from: {
                type: "string";
            };
            max: {
                minimum: 0;
                type: "integer";
            };
            min: {
                minimum: 0;
                type: "integer";
            };
            name: {
                type: "string";
            };
            purpose: {
                type: "string";
            };
            rule: {
                enum: readonly ["all", "pick"];
                type: "string";
            };
        };
        required: readonly ["rule", "from"];
    }, {
        additionalProperties: false;
        properties: {
            count: {
                minimum: 1;
                type: "integer";
            };
            from_nested: {
                items: {
                    $ref: "#/definitions/submission_requirements";
                };
                minItems: 1;
                type: "array";
            };
            max: {
                minimum: 0;
                type: "integer";
            };
            min: {
                minimum: 0;
                type: "integer";
            };
            name: {
                type: "string";
            };
            purpose: {
                type: "string";
            };
            rule: {
                enum: readonly ["all", "pick"];
                type: "string";
            };
        };
        required: readonly ["rule", "from_nested"];
    }];
    type: "object";
} = ...

Type declaration

  • Readonly oneOf: readonly [{
        additionalProperties: false;
        properties: {
            count: {
                minimum: 1;
                type: "integer";
            };
            from: {
                type: "string";
            };
            max: {
                minimum: 0;
                type: "integer";
            };
            min: {
                minimum: 0;
                type: "integer";
            };
            name: {
                type: "string";
            };
            purpose: {
                type: "string";
            };
            rule: {
                enum: readonly ["all", "pick"];
                type: "string";
            };
        };
        required: readonly ["rule", "from"];
    }, {
        additionalProperties: false;
        properties: {
            count: {
                minimum: 1;
                type: "integer";
            };
            from_nested: {
                items: {
                    $ref: "#/definitions/submission_requirements";
                };
                minItems: 1;
                type: "array";
            };
            max: {
                minimum: 0;
                type: "integer";
            };
            min: {
                minimum: 0;
                type: "integer";
            };
            name: {
                type: "string";
            };
            purpose: {
                type: "string";
            };
            rule: {
                enum: readonly ["all", "pick"];
                type: "string";
            };
        };
        required: readonly ["rule", "from_nested"];
    }]
  • Readonly type: "object"