/**
* @swagger {components.schemas} CommonsTicketType {
"description": "Type of a ticket.",
"type": "string",
"enum": [ "backend", "''" ]
}
*/
/** Type of ticket. */
export enum ShapeDiverCommonsTicketType {
BACKEND = 'backend',
NONE = '',
}
/**
* @swagger {components.schemas} CommonsTicket {
"type": "object"
}
*/
/** */
export interface ShapeDiverCommonsTicket {
/**
* @swagger {components.schemas.CommonsTicket.properties} accessdomains {
"description": "List of domains (origins) this ticket should be limited to; may be empty.",
"type": "array",
"items": { "type": "string" }
}
*/
/** List of domains (origins) this ticket should be limited to; may be empty. */
accessdomains?: string[];
/**
* @swagger {components.schemas.CommonsTicket.properties} author {
"description": "Should this ticket provide access to model authoring (allows to change configuration)?",
"type": "boolean"
}
*/
/** Should this ticket provide access to model authoring (allows to change configuration)? */
author?: boolean;
/**
* @swagger {components.schemas.CommonsTicket.properties} pub {
"description": "Should this ticket allow public access (ignore the model's accessdomains property)?",
"type": "boolean"
}
* @swagger {components.schemas.CommonsTicket} required [ "pub" ]
*/
/** Should this ticket allow public access (ignore the model's accessdomains property)? */
pub: boolean;
/**
* @swagger {components.schemas.CommonsTicket.properties} until {
"description": "The timestamp until which the ticket should be valid (format YYYYMMDDhhmmss).",
"type": "string",
"pattern": "^\\d{14}$"
}
* @swagger {components.schemas.CommonsTicket} required [ "until" ]
*/
/** The timestamp until which the ticket should be valid (format YYYYMMDDhhmmss). */
until: string;
/**
* @swagger {components.schemas.CommonsTicket.properties} use_id2 {
"description": "Does this ticket identify the model via its secondary ID (model property id2)?",
"type": "boolean"
}
*/
/** Does this ticket identify the model via its secondary ID (model property id2)? */
use_id2?: boolean;
}