{ "components" : { "schemas" : { "AddNewClassRequest" : { "properties" : { "classLayoutPosition" : { "$ref" : "#/components/schemas/ClassLayoutPositionDTO" }, "className" : { "type" : "string" }, "classURIPrefix" : { "type" : "string" }, "packageDTO" : { "$ref" : "#/components/schemas/PackageDTO" } }, "type" : "object" }, "AffectedResource" : { "properties" : { "actions" : { "items" : { "enum" : [ "DELETE", "KEEP", "REMOVE_PACKAGE_REFERENCE", "REMOVE_SUBCLASS_REFERENCE" ], "type" : "string" }, "type" : "array" }, "children" : { "items" : { "$ref" : "#/components/schemas/AffectedResource" }, "type" : "array" }, "context" : { "additionalProperties" : { "type" : "string" }, "type" : "object" }, "reason" : { "enum" : [ "CONTAINED_IN_PACKAGE", "USES_DELETED_CLASS_AS_DATATYPE", "REFENCES_DELETED_CLASS_VIA_ASSOCIATION", "CHILD_OF", "USES_DELETED_CLASS_AS_DEFAULT_VALUE", "USES_DELETED_CLASS_AS_FIXED_VALUE", "DELETION_REQUESTED_BY_USER" ], "type" : "string" }, "resourceIdentifier" : { "$ref" : "#/components/schemas/ResourceIdentifier" }, "type" : { "enum" : [ "PACKAGE", "CLASS", "ATTRIBUTE", "ASSOCIATION", "ENUM_ENTRY", "ONTOLOGY", "UNKNOWN" ], "type" : "string" } }, "type" : "object" }, "AssociationDTO" : { "properties" : { "associationUsed" : { "type" : "boolean" }, "comment" : { "type" : "string" }, "domain" : { "type" : "string" }, "label" : { "type" : "string" }, "multiplicity" : { "type" : "string" }, "prefix" : { "type" : "string" }, "range" : { "$ref" : "#/components/schemas/DataTypeDTO" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "AssociationPairDTO" : { "properties" : { "from" : { "$ref" : "#/components/schemas/AssociationDTO" }, "to" : { "$ref" : "#/components/schemas/AssociationDTO" } }, "type" : "object" }, "AssociationUUIDs" : { "properties" : { "fromUUID" : { "format" : "uuid", "type" : "string" }, "toUUID" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "AttributeDTO" : { "properties" : { "comment" : { "type" : "string" }, "dataType" : { "$ref" : "#/components/schemas/DataTypeDTO" }, "defaultValue" : { "type" : "string" }, "domain" : { "type" : "string" }, "fixedValue" : { "type" : "string" }, "label" : { "type" : "string" }, "multiplicity" : { "type" : "string" }, "prefix" : { "type" : "string" }, "stereotypes" : { "items" : { "type" : "string" }, "type" : "array" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "AvailableNamespaceDTO" : { "properties" : { "configuredPrefix" : { "type" : "string" }, "generatesRdfXmlPrefix" : { "type" : "boolean" }, "iri" : { "type" : "string" }, "usedAsPredicate" : { "type" : "boolean" }, "usedAsResource" : { "type" : "boolean" } }, "type" : "object" }, "BelongsToCategoryDTO" : { "properties" : { "label" : { "type" : "string" }, "prefix" : { "type" : "string" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "CIMAttribute" : { "properties" : { "comment" : { "$ref" : "#/components/schemas/RDFSComment" }, "dataType" : { "$ref" : "#/components/schemas/CIMSDataType" }, "defaultValue" : { "$ref" : "#/components/schemas/CIMSIsDefault" }, "domain" : { "$ref" : "#/components/schemas/RDFSDomain" }, "fixedValue" : { "$ref" : "#/components/schemas/CIMSIsFixed" }, "label" : { "$ref" : "#/components/schemas/RDFSLabel" }, "multiplicity" : { "$ref" : "#/components/schemas/CIMSMultiplicity" }, "stereotypes" : { "items" : { "type" : "string" }, "type" : "array" }, "uri" : { "$ref" : "#/components/schemas/URI" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "CIMClass" : { "properties" : { "comment" : { "$ref" : "#/components/schemas/RDFSComment" }, "label" : { "$ref" : "#/components/schemas/RDFSLabel" }, "package" : { "$ref" : "#/components/schemas/CIMSBelongsToCategory" }, "schemaName" : { "type" : "string" }, "stereotypes" : { "items" : { "type" : "string" }, "type" : "array" }, "superClasses" : { "items" : { "$ref" : "#/components/schemas/RDFSSubClassOf" }, "type" : "array" }, "uri" : { "$ref" : "#/components/schemas/URI" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "CIMPrefixPair" : { "properties" : { "prefix" : { "type" : "string" }, "substitutedPrefix" : { "type" : "string" } }, "type" : "object" }, "CIMSBelongsToCategory" : { "properties" : { "label" : { "$ref" : "#/components/schemas/RDFSLabel" }, "uri" : { "$ref" : "#/components/schemas/URI" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "CIMSDataType" : { "properties" : { "label" : { "$ref" : "#/components/schemas/RDFSLabel" }, "type" : { "enum" : [ "PRIMITIVE", "RANGE", "UNKNOWN" ], "type" : "string" }, "uri" : { "$ref" : "#/components/schemas/URI" } }, "type" : "object" }, "CIMSIsDefault" : { "properties" : { "blankNode" : { "type" : "boolean" }, "dataType" : { "$ref" : "#/components/schemas/URI" }, "value" : { "type" : "string" } }, "type" : "object" }, "CIMSIsFixed" : { "properties" : { "blankNode" : { "type" : "boolean" }, "dataType" : { "$ref" : "#/components/schemas/URI" }, "value" : { "type" : "string" } }, "type" : "object" }, "CIMSMultiplicity" : { "properties" : { "uri" : { "$ref" : "#/components/schemas/URI" } }, "type" : "object" }, "ChangeLogEntryDTO" : { "properties" : { "affectedKinds" : { "items" : { "type" : "string" }, "type" : "array" }, "affectedSchemaNames" : { "items" : { "type" : "string" }, "type" : "array" }, "changeId" : { "type" : "string" }, "contextDeltas" : { "items" : { "$ref" : "#/components/schemas/ContextDeltaDTO" }, "type" : "array" }, "message" : { "type" : "string" }, "removedOnUndo" : { "items" : { "type" : "string" }, "type" : "array" }, "restorableSchemaNames" : { "items" : { "type" : "string" }, "type" : "array" }, "restoreTargetSchemaNames" : { "items" : { "type" : "string" }, "type" : "array" }, "timestamp" : { "type" : "string" }, "undone" : { "type" : "boolean" } }, "type" : "object" }, "ClassDTO" : { "properties" : { "belongsToCategory" : { "format" : "uuid", "type" : "string" }, "comment" : { "type" : "string" }, "label" : { "type" : "string" }, "prefix" : { "type" : "string" }, "schemaName" : { "type" : "string" }, "stereotypes" : { "items" : { "type" : "string" }, "type" : "array" }, "superClass" : { "$ref" : "#/components/schemas/SuperClassDTO" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "ClassExtensionResultDTO" : { "properties" : { "classUUID" : { "format" : "uuid", "type" : "string" }, "created" : { "type" : "boolean" }, "packageUUID" : { "format" : "uuid", "type" : "string" }, "sourceClassUUID" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "ClassInDiagram" : { "properties" : { "schemaName" : { "type" : "string" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "ClassLayoutPositionDTO" : { "properties" : { "xPosition" : { "format" : "double", "type" : "number" }, "yPosition" : { "format" : "double", "type" : "number" } }, "type" : "object" }, "ClassMappingOverview" : { "properties" : { "added" : { "items" : { "$ref" : "#/components/schemas/SemanticClassChange" }, "type" : "array" }, "changes" : { "items" : { "$ref" : "#/components/schemas/SemanticClassChange" }, "type" : "array", "writeOnly" : true }, "deletedAndRemapped" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticClassChange" }, "type" : "array" }, "resourceMappings" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticClassChange" }, "type" : "array", "writeOnly" : true } }, "type" : "object" }, "ClassPositionDTO" : { "properties" : { "XPosition" : { "format" : "double", "type" : "number" }, "YPosition" : { "format" : "double", "type" : "number" }, "ZPosition" : { "format" : "int32", "type" : "integer" }, "classUUID" : { "format" : "uuid", "type" : "string" }, "xPosition" : { "format" : "double", "type" : "number" }, "yPosition" : { "format" : "double", "type" : "number" }, "zPosition" : { "format" : "int32", "type" : "integer" } }, "type" : "object" }, "ClassPropertyMappingOverview" : { "properties" : { "associations" : { "$ref" : "#/components/schemas/PropertyMappingOverviewSemanticAssociationChange" }, "attributes" : { "$ref" : "#/components/schemas/PropertyMappingOverviewSemanticAttributeChange" }, "classLabel" : { "type" : "string" }, "enumEntries" : { "$ref" : "#/components/schemas/PropertyMappingOverviewSemanticEnumEntryChange" } }, "type" : "object" }, "ClassPropertyMappings" : { "properties" : { "associationMappings" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticAssociationChange" }, "type" : "array" }, "attributeMappings" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticAttributeChange" }, "type" : "array" }, "classLabel" : { "type" : "string" }, "enumEntryMappings" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticEnumEntryChange" }, "type" : "array" } }, "type" : "object" }, "ClassRelationsDTO" : { "properties" : { "classesReferencingThisClass" : { "additionalProperties" : { "items" : { "$ref" : "#/components/schemas/ClassDTO" }, "type" : "array" }, "type" : "object" }, "classesReferencingThisClassFromCIM" : { "additionalProperties" : { "items" : { "$ref" : "#/components/schemas/CIMClass" }, "type" : "array" }, "type" : "object", "writeOnly" : true }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "ClassSchemaOccurrenceDTO" : { "properties" : { "classUUID" : { "format" : "uuid", "type" : "string" }, "keyword" : { "type" : "string" }, "label" : { "type" : "string" }, "present" : { "type" : "boolean" }, "schemaName" : { "type" : "string" }, "stub" : { "$ref" : "#/components/schemas/ClassStubDTO" } }, "type" : "object" }, "ClassSourceDTO" : { "properties" : { "classUUID" : { "format" : "uuid", "type" : "string" }, "schema" : { "$ref" : "#/components/schemas/GraphDTO" } }, "type" : "object" }, "ClassStubDTO" : { "properties" : { "comment" : { "type" : "string" }, "label" : { "type" : "string" }, "packageLabel" : { "type" : "string" }, "packageUri" : { "type" : "string" }, "stereotypes" : { "items" : { "type" : "string" }, "type" : "array" }, "superClassUri" : { "type" : "string" } }, "type" : "object" }, "ClassUMLAdaptedDTO" : { "properties" : { "associationPairs" : { "items" : { "$ref" : "#/components/schemas/AssociationPairDTO" }, "type" : "array" }, "attributes" : { "items" : { "$ref" : "#/components/schemas/AttributeDTO" }, "type" : "array" }, "comment" : { "type" : "string" }, "enumEntries" : { "items" : { "$ref" : "#/components/schemas/EnumEntryDTO" }, "type" : "array" }, "external" : { "type" : "boolean" }, "label" : { "type" : "string" }, "package" : { "$ref" : "#/components/schemas/BelongsToCategoryDTO" }, "prefix" : { "type" : "string" }, "stereotypes" : { "items" : { "type" : "string" }, "type" : "array" }, "superClass" : { "$ref" : "#/components/schemas/ClassUMLAdaptedDTO" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "ContextDeltaDTO" : { "properties" : { "additions" : { "items" : { "$ref" : "#/components/schemas/TripleDTO" }, "type" : "array" }, "contextName" : { "type" : "string" }, "deletions" : { "items" : { "$ref" : "#/components/schemas/TripleDTO" }, "type" : "array" }, "schemaName" : { "type" : "string" }, "values" : { "items" : { "$ref" : "#/components/schemas/ValueChangeDTO" }, "type" : "array" } }, "type" : "object" }, "CopyClassResponseDTO" : { "properties" : { "name" : { "type" : "string" }, "uuid" : { "type" : "string" } }, "type" : "object" }, "CrossProfileDiagramColorDataDTO" : { "properties" : { "schemaColors" : { "additionalProperties" : { "type" : "string" }, "type" : "object" } }, "type" : "object" }, "CrossProfileDiagramDTO" : { "properties" : { "classes" : { "items" : { "$ref" : "#/components/schemas/MergedClassDTO" }, "type" : "array" }, "diagramId" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "CustomAndGeneratedTupleListPropertyShape" : { "properties" : { "custom" : { "items" : { "$ref" : "#/components/schemas/PropertyShape" }, "type" : "array" }, "generated" : { "items" : { "$ref" : "#/components/schemas/PropertyShape" }, "type" : "array" } }, "type" : "object" }, "CustomAndGeneratedTupleSHACLToClassRelations" : { "properties" : { "custom" : { "$ref" : "#/components/schemas/SHACLToClassRelations" }, "generated" : { "$ref" : "#/components/schemas/SHACLToClassRelations" } }, "type" : "object" }, "CustomDiagramDTO" : { "properties" : { "classes" : { "items" : { "$ref" : "#/components/schemas/ClassInDiagram" }, "type" : "array" }, "diagramId" : { "format" : "uuid", "type" : "string" }, "name" : { "type" : "string" } }, "type" : "object" }, "DataTypeDTO" : { "properties" : { "label" : { "type" : "string" }, "prefix" : { "type" : "string" }, "type" : { "enum" : [ "PRIMITIVE", "RANGE", "UNKNOWN" ], "type" : "string" } }, "type" : "object" }, "DatasetDTO" : { "properties" : { "name" : { "type" : "string" }, "prefixes" : { "items" : { "$ref" : "#/components/schemas/CIMPrefixPair" }, "type" : "array" }, "readOnly" : { "type" : "boolean" } }, "type" : "object" }, "DefaultValueView" : { "properties" : { "associations" : { "items" : { "$ref" : "#/components/schemas/SemanticAssociationChange" }, "type" : "array" }, "attributes" : { "items" : { "$ref" : "#/components/schemas/SemanticAttributeChange" }, "type" : "array" }, "classLabel" : { "type" : "string" }, "enumEntries" : { "items" : { "$ref" : "#/components/schemas/SemanticEnumEntryChange" }, "type" : "array" } }, "type" : "object" }, "DesktopInfoDTO" : { "properties" : { "application" : { "type" : "string" }, "version" : { "type" : "string" } }, "type" : "object" }, "DesktopStatusDTO" : { "properties" : { "instanceId" : { "type" : "string" }, "unsavedWorkspaces" : { "items" : { "type" : "string" }, "type" : "array" }, "workspaceIds" : { "additionalProperties" : { "type" : "string" }, "type" : "object" }, "workspacesWithFile" : { "items" : { "type" : "string" }, "type" : "array" } }, "type" : "object" }, "DiagramLayoutDTO" : { "properties" : { "allEdges" : { "type" : "boolean" }, "automatic" : { "type" : "boolean" }, "classes" : { "items" : { "$ref" : "#/components/schemas/ClassPositionDTO" }, "type" : "array" }, "edges" : { "items" : { "$ref" : "#/components/schemas/EdgeLayoutDTO" }, "type" : "array" }, "labels" : { "items" : { "$ref" : "#/components/schemas/LabelPositionDTO" }, "type" : "array" } }, "type" : "object" }, "EdgeLayoutDTO" : { "properties" : { "kind" : { "enum" : [ "inheritance", "association" ], "type" : "string" }, "points" : { "items" : { "$ref" : "#/components/schemas/EdgePointDTO" }, "type" : "array" }, "sourceClass" : { "format" : "uuid", "type" : "string" }, "sourceObject" : { "format" : "uuid", "type" : "string" }, "targetClass" : { "format" : "uuid", "type" : "string" }, "targetObject" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "EdgePointDTO" : { "properties" : { "id" : { "type" : "string" }, "side" : { "enum" : [ "source", "target" ], "type" : "string" }, "x" : { "format" : "double", "type" : "number" }, "y" : { "format" : "double", "type" : "number" } }, "type" : "object" }, "EnumEntryDTO" : { "properties" : { "comment" : { "type" : "string" }, "label" : { "type" : "string" }, "prefix" : { "type" : "string" }, "stereotype" : { "type" : "string" }, "type" : { "type" : "string" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "ExtendToSchemaRequest" : { "properties" : { "classUUIDs" : { "items" : { "type" : "string" }, "type" : "array" }, "schemaName" : { "type" : "string" }, "withInheritance" : { "type" : "boolean" } }, "type" : "object" }, "GraphDTO" : { "properties" : { "description" : { "type" : "string" }, "keyword" : { "type" : "string" }, "label" : { "type" : "string" }, "name" : { "type" : "string" }, "ontologyHeader" : { "type" : "boolean" }, "profileClassIri" : { "type" : "string" }, "profileClassUuid" : { "type" : "string" }, "versionInfo" : { "type" : "string" }, "versionIris" : { "items" : { "type" : "string" }, "type" : "array" } }, "type" : "object" }, "GraphFilter" : { "properties" : { "allowedUUIDs" : { "items" : { "type" : "string" }, "type" : "array" }, "includeAssociations" : { "type" : "boolean" }, "includeAttributes" : { "type" : "boolean" }, "includeEnumEntries" : { "type" : "boolean" }, "includeInheritance" : { "type" : "boolean" }, "includePropertiesFromOtherProfiles" : { "type" : "boolean" }, "includeRelationsToExternalPackages" : { "type" : "boolean" }, "packageUUID" : { "type" : "string" } }, "type" : "object" }, "GraphSourceDTOAssociationPairDTO" : { "properties" : { "schemaColor" : { "type" : "string" }, "schemaName" : { "type" : "string" }, "value" : { "$ref" : "#/components/schemas/AssociationPairDTO" } }, "type" : "object" }, "GraphSourceDTOAttributeDTO" : { "properties" : { "schemaColor" : { "type" : "string" }, "schemaName" : { "type" : "string" }, "value" : { "$ref" : "#/components/schemas/AttributeDTO" } }, "type" : "object" }, "GraphSourceDTOEnumEntryDTO" : { "properties" : { "schemaColor" : { "type" : "string" }, "schemaName" : { "type" : "string" }, "value" : { "$ref" : "#/components/schemas/EnumEntryDTO" } }, "type" : "object" }, "GraphSourceDTOSuperClassDTO" : { "properties" : { "schemaColor" : { "type" : "string" }, "schemaName" : { "type" : "string" }, "value" : { "$ref" : "#/components/schemas/SuperClassDTO" } }, "type" : "object" }, "GraphsImported" : { "allOf" : [ { "$ref" : "#/components/schemas/ImportOutcome" }, { "properties" : { "failedFileNames" : { "items" : { "type" : "string" }, "type" : "array" }, "schemaNames" : { "items" : { "type" : "string" }, "type" : "array" }, "warnings" : { "items" : { "$ref" : "#/components/schemas/ImportWarning" }, "type" : "array" } }, "type" : "object" } ] }, "HistoryStepDTO" : { "properties" : { "canRedo" : { "type" : "boolean" }, "canUndo" : { "type" : "boolean" }, "change" : { "$ref" : "#/components/schemas/ChangeLogEntryDTO" } }, "type" : "object" }, "ImportFileStatus" : { "properties" : { "done" : { "format" : "int64", "type" : "integer" }, "fileName" : { "type" : "string" }, "index" : { "format" : "int32", "type" : "integer" }, "reason" : { "type" : "string" }, "schemaName" : { "type" : "string" }, "sizeBytes" : { "format" : "int64", "type" : "integer" }, "state" : { "enum" : [ "PENDING", "RUNNING", "IMPORTED", "SCANNED", "FAILED", "SKIPPED" ], "type" : "string" }, "total" : { "format" : "int64", "type" : "integer" } }, "type" : "object" }, "ImportJobCreatedResponse" : { "properties" : { "jobId" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "ImportJobStatus" : { "properties" : { "errorMessage" : { "type" : "string" }, "files" : { "items" : { "$ref" : "#/components/schemas/ImportFileStatus" }, "type" : "array" }, "jobId" : { "format" : "uuid", "type" : "string" }, "outcome" : { "oneOf" : [ { "$ref" : "#/components/schemas/GraphsImported" }, { "$ref" : "#/components/schemas/PackagesScanned" }, { "$ref" : "#/components/schemas/WorkspaceImported" } ] }, "prefixComparison" : { "items" : { "$ref" : "#/components/schemas/PrefixComparison" }, "type" : "array" }, "problems" : { "items" : { "type" : "string" }, "type" : "array" }, "state" : { "enum" : [ "RUNNING", "SCANNING_PREFIXES", "AWAITING_PREFIX_RESOLUTION", "COMPLETED", "CANCELLED", "FAILED" ], "type" : "string" }, "workspaceName" : { "type" : "string" } }, "type" : "object" }, "ImportOutcome" : { "discriminator" : { "propertyName" : "kind" }, "properties" : { "kind" : { "type" : "string" } }, "required" : [ "kind" ] }, "ImportSelectionDTO" : { "description" : "What to import out of the export.", "properties" : { "diagramIds" : { "items" : { "type" : "string" }, "type" : "array" }, "packages" : { "items" : { "$ref" : "#/components/schemas/SelectedPackageDTO" }, "type" : "array" } }, "type" : "object" }, "ImportWarning" : { "properties" : { "fileName" : { "type" : "string" }, "items" : { "items" : { "$ref" : "#/components/schemas/UncarriedItem" }, "type" : "array" }, "schemaName" : { "type" : "string" } }, "type" : "object" }, "IssueOccurrenceDTO" : { "properties" : { "classUUID" : { "format" : "uuid", "type" : "string" }, "keyword" : { "type" : "string" }, "packageUUID" : { "format" : "uuid", "type" : "string" }, "schemaName" : { "type" : "string" }, "uuid" : { "format" : "uuid", "type" : "string" }, "value" : { "type" : "string" } }, "type" : "object" }, "LabelPositionDTO" : { "properties" : { "identifiedObjectUUID" : { "format" : "uuid", "type" : "string" }, "kind" : { "type" : "string" }, "x" : { "format" : "double", "type" : "number" }, "y" : { "format" : "double", "type" : "number" } }, "type" : "object" }, "ListPackagesResponse" : { "properties" : { "externalPackageList" : { "items" : { "$ref" : "#/components/schemas/PackageDTO" }, "type" : "array" }, "internalPackageList" : { "items" : { "$ref" : "#/components/schemas/PackageDTO" }, "type" : "array" } }, "type" : "object" }, "MergedClassDTO" : { "properties" : { "associationPairs" : { "items" : { "$ref" : "#/components/schemas/GraphSourceDTOAssociationPairDTO" }, "type" : "array" }, "attributes" : { "items" : { "$ref" : "#/components/schemas/GraphSourceDTOAttributeDTO" }, "type" : "array" }, "classUri" : { "type" : "string" }, "enumEntries" : { "items" : { "$ref" : "#/components/schemas/GraphSourceDTOEnumEntryDTO" }, "type" : "array" }, "label" : { "type" : "string" }, "sources" : { "items" : { "$ref" : "#/components/schemas/ClassSourceDTO" }, "type" : "array" }, "stereotypes" : { "items" : { "type" : "string" }, "type" : "array" }, "superClasses" : { "items" : { "$ref" : "#/components/schemas/GraphSourceDTOSuperClassDTO" }, "type" : "array" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "NodeShape" : { "properties" : { "id" : { "type" : "string" }, "triples" : { "type" : "string" } }, "type" : "object" }, "OntologyDTO" : { "properties" : { "entries" : { "items" : { "$ref" : "#/components/schemas/OntologyEntry" }, "type" : "array" }, "namespace" : { "type" : "string" }, "uuid" : { "type" : "string" } }, "type" : "object" }, "OntologyEntry" : { "properties" : { "datatypeIri" : { "type" : "string" }, "iri" : { "type" : "string" }, "isIriEntry" : { "type" : "boolean" }, "value" : { "type" : "string" } }, "type" : "object" }, "OntologyField" : { "properties" : { "datatypeIri" : { "type" : "string" }, "iri" : { "type" : "string" }, "iriEntry" : { "type" : "boolean" }, "isIriEntry" : { "type" : "boolean" } }, "type" : "object" }, "PackageDTO" : { "properties" : { "comment" : { "type" : "string" }, "label" : { "type" : "string" }, "package" : { "$ref" : "#/components/schemas/BelongsToCategoryDTO" }, "prefix" : { "type" : "string" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "PackagesScanned" : { "allOf" : [ { "$ref" : "#/components/schemas/ImportOutcome" }, { "properties" : { "classNames" : { "items" : { "type" : "string" }, "type" : "array" }, "diagrams" : { "items" : { "$ref" : "#/components/schemas/ScannedDiagram" }, "type" : "array" }, "packages" : { "items" : { "$ref" : "#/components/schemas/ScannedPackage" }, "type" : "array" }, "prefixes" : { "items" : { "$ref" : "#/components/schemas/ScannedPrefix" }, "type" : "array" }, "supplierGroups" : { "items" : { "$ref" : "#/components/schemas/SupplierGroup" }, "type" : "array" } }, "type" : "object" } ] }, "PasteClassesRequestDTO" : { "properties" : { "copyAsAbstract" : { "type" : "boolean" }, "copyAssociations" : { "type" : "boolean" }, "copyAttributes" : { "type" : "boolean" }, "copyInheritance" : { "type" : "boolean" }, "referencesToCopy" : { "items" : { "$ref" : "#/components/schemas/URI" }, "type" : "array" }, "sources" : { "items" : { "$ref" : "#/components/schemas/PasteSourceClassDTO" }, "type" : "array" }, "targetPackageUUID" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "PastePreviewRequestDTO" : { "properties" : { "sources" : { "items" : { "$ref" : "#/components/schemas/PasteSourceClassDTO" }, "type" : "array" } }, "type" : "object" }, "PastePreviewResponseDTO" : { "properties" : { "missing" : { "additionalProperties" : { "items" : { "$ref" : "#/components/schemas/PasteReferenceDTO" }, "type" : "array" }, "type" : "object" } }, "type" : "object" }, "PasteReferenceDTO" : { "properties" : { "label" : { "type" : "string" }, "requires" : { "items" : { "$ref" : "#/components/schemas/URI" }, "type" : "array" }, "uri" : { "$ref" : "#/components/schemas/URI" }, "usedBy" : { "items" : { "$ref" : "#/components/schemas/PasteUsageDTO" }, "type" : "array" } }, "type" : "object" }, "PasteSourceClassDTO" : { "properties" : { "classUUID" : { "type" : "string" }, "sourceSchemaName" : { "type" : "string" }, "sourceWorkspaceName" : { "type" : "string" } }, "type" : "object" }, "PasteUsageDTO" : { "properties" : { "className" : { "type" : "string" }, "memberName" : { "type" : "string" } }, "type" : "object" }, "PendingFileDTO" : { "properties" : { "fileName" : { "type" : "string" }, "id" : { "type" : "string" }, "path" : { "type" : "string" } }, "type" : "object" }, "PrefixBinding" : { "properties" : { "fileNames" : { "items" : { "type" : "string" }, "type" : "array" }, "iri" : { "type" : "string" } }, "type" : "object" }, "PrefixComparison" : { "properties" : { "contested" : { "type" : "boolean" }, "imported" : { "items" : { "$ref" : "#/components/schemas/PrefixBinding" }, "type" : "array" }, "prefix" : { "type" : "string" }, "workspace" : { "$ref" : "#/components/schemas/PrefixBinding" } }, "type" : "object" }, "PrefixResolutionDTO" : { "properties" : { "action" : { "enum" : [ "KEEP", "RENAME", "DROP" ], "type" : "string" }, "iri" : { "type" : "string" }, "newPrefix" : { "type" : "string" }, "prefix" : { "type" : "string" } }, "type" : "object" }, "PropertyMappingOverviewSemanticAssociationChange" : { "properties" : { "addedInClass" : { "items" : { "$ref" : "#/components/schemas/SemanticAssociationChange" }, "type" : "array" }, "allAdded" : { "items" : { "$ref" : "#/components/schemas/SemanticAssociationChange" }, "type" : "array" }, "allChanges" : { "items" : { "$ref" : "#/components/schemas/SemanticAssociationChange" }, "type" : "array", "writeOnly" : true }, "changesInClass" : { "items" : { "$ref" : "#/components/schemas/SemanticAssociationChange" }, "type" : "array", "writeOnly" : true }, "deletedAndRemapped" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticAssociationChange" }, "type" : "array" }, "resourceMappings" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticAssociationChange" }, "type" : "array", "writeOnly" : true } }, "type" : "object" }, "PropertyMappingOverviewSemanticAttributeChange" : { "properties" : { "addedInClass" : { "items" : { "$ref" : "#/components/schemas/SemanticAttributeChange" }, "type" : "array" }, "allAdded" : { "items" : { "$ref" : "#/components/schemas/SemanticAttributeChange" }, "type" : "array" }, "allChanges" : { "items" : { "$ref" : "#/components/schemas/SemanticAttributeChange" }, "type" : "array", "writeOnly" : true }, "changesInClass" : { "items" : { "$ref" : "#/components/schemas/SemanticAttributeChange" }, "type" : "array", "writeOnly" : true }, "deletedAndRemapped" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticAttributeChange" }, "type" : "array" }, "resourceMappings" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticAttributeChange" }, "type" : "array", "writeOnly" : true } }, "type" : "object" }, "PropertyMappingOverviewSemanticEnumEntryChange" : { "properties" : { "addedInClass" : { "items" : { "$ref" : "#/components/schemas/SemanticEnumEntryChange" }, "type" : "array" }, "allAdded" : { "items" : { "$ref" : "#/components/schemas/SemanticEnumEntryChange" }, "type" : "array" }, "allChanges" : { "items" : { "$ref" : "#/components/schemas/SemanticEnumEntryChange" }, "type" : "array", "writeOnly" : true }, "changesInClass" : { "items" : { "$ref" : "#/components/schemas/SemanticEnumEntryChange" }, "type" : "array", "writeOnly" : true }, "deletedAndRemapped" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticEnumEntryChange" }, "type" : "array" }, "resourceMappings" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticEnumEntryChange" }, "type" : "array", "writeOnly" : true } }, "type" : "object" }, "PropertyShape" : { "properties" : { "id" : { "type" : "string" }, "order" : { "format" : "double", "type" : "number" }, "triples" : { "type" : "string" } }, "type" : "object" }, "PropertyShapesWrapper" : { "properties" : { "domain" : { "format" : "uuid", "type" : "string" }, "label" : { "type" : "string" }, "propertyShapes" : { "items" : { "$ref" : "#/components/schemas/PropertyShape" }, "type" : "array" }, "propertyType" : { "type" : "string" } }, "type" : "object" }, "RDFSComment" : { "properties" : { "format" : { "$ref" : "#/components/schemas/URI" }, "value" : { "type" : "string" } }, "type" : "object" }, "RDFSDomain" : { "properties" : { "label" : { "$ref" : "#/components/schemas/RDFSLabel" }, "uri" : { "$ref" : "#/components/schemas/URI" } }, "type" : "object" }, "RDFSLabel" : { "properties" : { "lang" : { "type" : "string" }, "value" : { "type" : "string" } }, "type" : "object" }, "RDFSSubClassOf" : { "properties" : { "label" : { "$ref" : "#/components/schemas/RDFSLabel" }, "uri" : { "$ref" : "#/components/schemas/URI" } }, "type" : "object" }, "RecoveredWorkspaceDTO" : { "properties" : { "id" : { "type" : "string" }, "savedAt" : { "format" : "date-time", "type" : "string" }, "workspaceName" : { "type" : "string" } }, "type" : "object" }, "RenderingDataDTO" : { "properties" : { "format" : { "enum" : [ "MERMAID", "SVELTEFLOW" ], "type" : "string" } }, "type" : "object" }, "ResourceDeleteRequest" : { "properties" : { "action" : { "enum" : [ "DELETE", "KEEP", "REMOVE_PACKAGE_REFERENCE", "REMOVE_SUBCLASS_REFERENCE" ], "type" : "string" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "ResourceIdentifier" : { "properties" : { "label" : { "type" : "string" }, "namespace" : { "type" : "string" }, "uuid" : { "format" : "uuid", "type" : "string" } }, "type" : "object" }, "ResourceMappingSemanticAssociationChange" : { "properties" : { "confidenceScore" : { "format" : "double", "type" : "number" }, "id" : { "format" : "uuid", "type" : "string" }, "newResources" : { "items" : { "$ref" : "#/components/schemas/SemanticAssociationChange" }, "type" : "array" }, "oldResources" : { "items" : { "$ref" : "#/components/schemas/SemanticAssociationChange" }, "type" : "array" }, "type" : { "enum" : [ "RENAME", "MOVE", "SPLIT", "MERGE", "UNMAPPED" ], "type" : "string" } }, "type" : "object" }, "ResourceMappingSemanticAttributeChange" : { "properties" : { "confidenceScore" : { "format" : "double", "type" : "number" }, "id" : { "format" : "uuid", "type" : "string" }, "newResources" : { "items" : { "$ref" : "#/components/schemas/SemanticAttributeChange" }, "type" : "array" }, "oldResources" : { "items" : { "$ref" : "#/components/schemas/SemanticAttributeChange" }, "type" : "array" }, "type" : { "enum" : [ "RENAME", "MOVE", "SPLIT", "MERGE", "UNMAPPED" ], "type" : "string" } }, "type" : "object" }, "ResourceMappingSemanticClassChange" : { "properties" : { "confidenceScore" : { "format" : "double", "type" : "number" }, "id" : { "format" : "uuid", "type" : "string" }, "newResources" : { "items" : { "$ref" : "#/components/schemas/SemanticClassChange" }, "type" : "array" }, "oldResources" : { "items" : { "$ref" : "#/components/schemas/SemanticClassChange" }, "type" : "array" }, "type" : { "enum" : [ "RENAME", "MOVE", "SPLIT", "MERGE", "UNMAPPED" ], "type" : "string" } }, "type" : "object" }, "ResourceMappingSemanticEnumEntryChange" : { "properties" : { "confidenceScore" : { "format" : "double", "type" : "number" }, "id" : { "format" : "uuid", "type" : "string" }, "newResources" : { "items" : { "$ref" : "#/components/schemas/SemanticEnumEntryChange" }, "type" : "array" }, "oldResources" : { "items" : { "$ref" : "#/components/schemas/SemanticEnumEntryChange" }, "type" : "array" }, "type" : { "enum" : [ "RENAME", "MOVE", "SPLIT", "MERGE", "UNMAPPED" ], "type" : "string" } }, "type" : "object" }, "RestoreVersionDTO" : { "properties" : { "expectedCurrentChangeId" : { "type" : "string" }, "expectedNewestChangeId" : { "type" : "string" }, "schemaNames" : { "items" : { "type" : "string" }, "type" : "array" }, "versionId" : { "type" : "string" } }, "type" : "object" }, "SHACLToClassRelations" : { "properties" : { "derivedPropertyShapes" : { "items" : { "$ref" : "#/components/schemas/PropertyShapesWrapper" }, "type" : "array" }, "namespaces" : { "type" : "string" }, "nodeShapes" : { "items" : { "$ref" : "#/components/schemas/NodeShape" }, "type" : "array" }, "propertyShapes" : { "items" : { "$ref" : "#/components/schemas/PropertyShapesWrapper" }, "type" : "array" } }, "type" : "object" }, "ScannedDiagram" : { "properties" : { "classes" : { "format" : "int32", "type" : "integer" }, "fileIndex" : { "format" : "int32", "type" : "integer" }, "id" : { "type" : "string" }, "name" : { "type" : "string" }, "packageId" : { "type" : "string" }, "supplierGroups" : { "items" : { "format" : "int32", "type" : "integer" }, "type" : "array" } }, "type" : "object" }, "ScannedPackage" : { "properties" : { "declaredClasses" : { "format" : "int32", "type" : "integer" }, "dependencyClasses" : { "format" : "int32", "type" : "integer" }, "extensionNamespace" : { "type" : "string" }, "fileIndex" : { "format" : "int32", "type" : "integer" }, "fileName" : { "type" : "string" }, "hasExtensionElements" : { "type" : "boolean" }, "id" : { "type" : "string" }, "modelNamespace" : { "type" : "string" }, "name" : { "type" : "string" }, "namespaceCandidates" : { "items" : { "type" : "string" }, "type" : "array" }, "ownClasses" : { "items" : { "format" : "int32", "type" : "integer" }, "type" : "array" }, "ownDependencies" : { "items" : { "format" : "int32", "type" : "integer" }, "type" : "array" }, "parentId" : { "type" : "string" }, "profile" : { "type" : "boolean" } }, "type" : "object" }, "ScannedPrefix" : { "properties" : { "fileIndex" : { "format" : "int32", "type" : "integer" }, "namespace" : { "type" : "string" }, "prefix" : { "type" : "string" } }, "type" : "object" }, "SearchFilter" : { "description" : "The scope where the search is performed.", "properties" : { "packageUUID" : { "type" : "string" }, "schemaName" : { "type" : "string" }, "workspaceName" : { "type" : "string" } }, "type" : "object" }, "SearchResult" : { "properties" : { "label" : { "$ref" : "#/components/schemas/RDFSLabel" }, "packageLabel" : { "$ref" : "#/components/schemas/RDFSLabel" }, "packageUUID" : { "format" : "uuid", "type" : "string" }, "parentClassUUID" : { "format" : "uuid", "type" : "string" }, "parentClassUri" : { "$ref" : "#/components/schemas/URI" }, "schemaName" : { "type" : "string" }, "type" : { "enum" : [ "CLASS", "PACKAGE", "ATTRIBUTE", "ASSOCIATION", "ENUMTYPE" ], "type" : "string" }, "uri" : { "$ref" : "#/components/schemas/URI" }, "uuid" : { "format" : "uuid", "type" : "string" }, "workspaceName" : { "type" : "string" } }, "type" : "object" }, "SearchResults" : { "properties" : { "externalSearchResults" : { "items" : { "$ref" : "#/components/schemas/SearchResult" }, "type" : "array" }, "internalSearchResults" : { "items" : { "$ref" : "#/components/schemas/SearchResult" }, "type" : "array" } }, "type" : "object" }, "SelectedPackageDTO" : { "properties" : { "extensionNamespace" : { "type" : "string" }, "fileIndex" : { "format" : "int32", "type" : "integer" }, "modelNamespace" : { "type" : "string" }, "name" : { "type" : "string" }, "packageId" : { "type" : "string" }, "schemaName" : { "type" : "string" }, "scope" : { "enum" : [ "WITH_SUB_PACKAGES", "PACKAGE_ONLY" ], "type" : "string" } }, "type" : "object" }, "SemanticAssociationChange" : { "allOf" : [ { "$ref" : "#/components/schemas/SemanticResourceChange" }, { "properties" : { "associationUsed" : { "type" : "boolean" }, "domain" : { "type" : "string" }, "mapping" : { "type" : "string" }, "range" : { "type" : "string" }, "targetInstancesNeedValue" : { "type" : "boolean" } }, "type" : "object" } ] }, "SemanticAttributeChange" : { "allOf" : [ { "$ref" : "#/components/schemas/SemanticResourceChange" }, { "properties" : { "allowedValues" : { "items" : { "type" : "string" }, "type" : "array" }, "dataType" : { "type" : "string" }, "dataTypesEquivalent" : { "type" : "boolean" }, "defaultValue" : { "type" : "string" }, "domain" : { "type" : "string" }, "forceDefaultValue" : { "type" : "boolean" }, "oldDataType" : { "type" : "string" }, "optional" : { "type" : "boolean" }, "primitiveDataType" : { "type" : "string" }, "targetInstancesNeedValue" : { "type" : "boolean" } }, "type" : "object" } ] }, "SemanticClassChange" : { "properties" : { "additionalOldIRIs" : { "items" : { "type" : "string" }, "type" : "array" }, "allOldIRIs" : { "items" : { "type" : "string" }, "type" : "array" }, "associationResourceMappings" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticAssociationChange" }, "type" : "array" }, "associations" : { "items" : { "$ref" : "#/components/schemas/SemanticAssociationChange" }, "type" : "array" }, "attributeResourceMappings" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticAttributeChange" }, "type" : "array" }, "attributes" : { "items" : { "$ref" : "#/components/schemas/SemanticAttributeChange" }, "type" : "array" }, "changes" : { "items" : { "$ref" : "#/components/schemas/SemanticFieldChange" }, "type" : "array" }, "comment" : { "type" : "string" }, "enumEntries" : { "items" : { "$ref" : "#/components/schemas/SemanticEnumEntryChange" }, "type" : "array" }, "enumEntryResourceMappings" : { "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticEnumEntryChange" }, "type" : "array" }, "iri" : { "type" : "string" }, "label" : { "type" : "string" }, "mappedToIRIs" : { "items" : { "type" : "string" }, "type" : "array" }, "oldIRI" : { "type" : "string" }, "semanticResourceChangeType" : { "enum" : [ "ADD", "ADDED_FROM_INHERITANCE", "DELETE", "DELETED_FROM_INHERITANCE", "CHANGE", "RENAME", "MOVE", "SPLIT", "MERGE", "REMOVED_VIA_MAPPING", "INHERITS_CHANGE", "INDIRECT_CHANGE" ], "type" : "string" } }, "type" : "object" }, "SemanticEnumEntryChange" : { "allOf" : [ { "$ref" : "#/components/schemas/SemanticResourceChange" }, { "properties" : { "allowedValues" : { "items" : { "type" : "string" }, "type" : "array" }, "domain" : { "type" : "string" }, "replacementValue" : { "type" : "string" }, "targetInstancesNeedValue" : { "type" : "boolean" } }, "type" : "object" } ] }, "SemanticFieldChange" : { "properties" : { "from" : { "type" : "string" }, "semanticFieldChangeType" : { "enum" : [ "LABEL_CHANGE", "COMMENT_CHANGE", "SUPERCLASS_CHANGE", "SUPERCLASS_RENAME", "BELONGS_TO_CATEGORY_CHANGE", "DATATYPE_CHANGE", "DATATYPE_RENAME", "MADE_OPTIONAL", "MADE_REQUIRED", "MULTIPLICITY_CHANGE", "STEREOTYPE_ADDED", "STEREOTYPE_REMOVED", "MADE_ABSTRACT", "DOMAIN_CHANGE", "DOMAIN_RENAME", "TARGET_CHANGE", "POTENTIALLY_INVALID_TARGET", "TARGET_RENAME", "ASSOCIATION_USED_CHANGE", "DEFAULT_VALUE_CHANGE", "FIXED_VALUE_CHANGE" ], "type" : "string" }, "to" : { "type" : "string" } }, "type" : "object" }, "SemanticResourceChange" : { "discriminator" : { "propertyName" : "type" }, "properties" : { "additionalOldIRIs" : { "items" : { "type" : "string" }, "type" : "array" }, "allOldIRIs" : { "items" : { "type" : "string" }, "type" : "array" }, "changes" : { "items" : { "$ref" : "#/components/schemas/SemanticFieldChange" }, "type" : "array" }, "comment" : { "type" : "string" }, "iri" : { "type" : "string" }, "label" : { "type" : "string" }, "mappedToIRIs" : { "items" : { "type" : "string" }, "type" : "array" }, "oldIRI" : { "type" : "string" }, "semanticResourceChangeType" : { "enum" : [ "ADD", "ADDED_FROM_INHERITANCE", "DELETE", "DELETED_FROM_INHERITANCE", "CHANGE", "RENAME", "MOVE", "SPLIT", "MERGE", "REMOVED_VIA_MAPPING", "INHERITS_CHANGE", "INDIRECT_CHANGE" ], "type" : "string" }, "type" : { "type" : "string" } }, "required" : [ "type" ], "type" : "object" }, "SessionDTO" : { "properties" : { "id" : { "type" : "string" } }, "type" : "object" }, "SuperClassDTO" : { "properties" : { "label" : { "type" : "string" }, "prefix" : { "type" : "string" } }, "type" : "object" }, "SupplierGroup" : { "properties" : { "fileIndex" : { "format" : "int32", "type" : "integer" }, "index" : { "format" : "int32", "type" : "integer" }, "packageIds" : { "items" : { "type" : "string" }, "type" : "array" }, "packageOnlyIds" : { "items" : { "type" : "string" }, "type" : "array" } }, "type" : "object" }, "TripleClassChange" : { "properties" : { "associations" : { "items" : { "$ref" : "#/components/schemas/TripleResourceChange" }, "type" : "array" }, "attributes" : { "items" : { "$ref" : "#/components/schemas/TripleResourceChange" }, "type" : "array" }, "changes" : { "items" : { "$ref" : "#/components/schemas/TriplePropertyChange" }, "type" : "array" }, "enumEntries" : { "items" : { "$ref" : "#/components/schemas/TripleResourceChange" }, "type" : "array" }, "label" : { "type" : "string" }, "uri" : { "type" : "string" } }, "type" : "object" }, "TripleDTO" : { "properties" : { "object" : { "type" : "string" }, "predicate" : { "type" : "string" }, "subject" : { "type" : "string" } }, "type" : "object" }, "TriplePackageChange" : { "properties" : { "changes" : { "items" : { "$ref" : "#/components/schemas/TriplePropertyChange" }, "type" : "array" }, "classes" : { "items" : { "$ref" : "#/components/schemas/TripleClassChange" }, "type" : "array" }, "external" : { "type" : "boolean" }, "label" : { "type" : "string" }, "uri" : { "type" : "string" } }, "type" : "object" }, "TriplePropertyChange" : { "properties" : { "from" : { "type" : "string" }, "predicate" : { "type" : "string" }, "to" : { "type" : "string" } }, "type" : "object" }, "TripleResourceChange" : { "properties" : { "changes" : { "items" : { "$ref" : "#/components/schemas/TriplePropertyChange" }, "type" : "array" }, "label" : { "type" : "string" }, "uri" : { "type" : "string" } }, "type" : "object" }, "URI" : { "description" : "When deserializing (parsing json to object), it is possible to alternatively only put a String containing the whole uri. For serializing (parsing object to json), the object structure ist always used.", "properties" : { "prefix" : { "type" : "string" }, "suffix" : { "type" : "string" } }, "type" : "object" }, "UncarriedItem" : { "properties" : { "reason" : { "type" : "string" }, "resource" : { "type" : "string" } }, "type" : "object" }, "ValidationIssueDTO" : { "properties" : { "kind" : { "enum" : [ "RULE", "INFRASTRUCTURE" ], "type" : "string" }, "message" : { "type" : "string" }, "occurrences" : { "items" : { "$ref" : "#/components/schemas/IssueOccurrenceDTO" }, "type" : "array" }, "resourceUri" : { "type" : "string" }, "ruleId" : { "type" : "string" }, "ruleLabel" : { "type" : "string" }, "severity" : { "enum" : [ "ERROR", "WARNING", "INFO" ], "type" : "string" } }, "type" : "object" }, "ValidationReportDTO" : { "properties" : { "issues" : { "items" : { "$ref" : "#/components/schemas/ValidationIssueDTO" }, "type" : "array" }, "valid" : { "type" : "boolean" } }, "type" : "object" }, "ValueChangeDTO" : { "properties" : { "after" : { "type" : "string" }, "before" : { "type" : "string" }, "key" : { "type" : "string" } }, "type" : "object" }, "WorkspaceImported" : { "allOf" : [ { "$ref" : "#/components/schemas/ImportOutcome" }, { "properties" : { "cancelled" : { "type" : "boolean" }, "notices" : { "items" : { "type" : "string" }, "type" : "array" }, "schemaNames" : { "items" : { "type" : "string" }, "type" : "array" } }, "type" : "object" } ] } } }, "externalDocs" : { "description" : "Documentation", "url" : "https://rdfarchitect.soptim.de" }, "info" : { "contact" : { "name" : "RDFArchitect on GitHub", "url" : "https://github.com/SOPTIM/RDFArchitect" }, "description" : "REST API of the RDFArchitect backend. RDFArchitect edits RDFS schemas with CIM extensions and their SHACL constraints.\n\n## Public and internal operations\n\n- The definition **Public API** (top right) lists the operations external tools may rely on. They change incompatibly only in a major release.\n- All other operations serve the RDFArchitect frontend. They are internal and may change in any release.\n- Details: [Public API](https://rdfarchitect.soptim.de/reference/public-api)\n", "license" : { "name" : "Apache License 2.0", "url" : "https://www.apache.org/licenses/LICENSE-2.0" }, "title" : "RDFArchitect backend", "version" : "0.0.0" }, "openapi" : "3.1.0", "paths" : { "/api/compare" : { "post" : { "description" : "Compare two given graphs", "operationId" : "compareSchemasFromFiles", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "properties" : { "fileA" : { "description" : "The first graph file.", "format" : "binary", "type" : "string" }, "fileB" : { "description" : "The second graph file.", "format" : "binary", "type" : "string" } }, "required" : [ "fileA", "fileB" ], "type" : "object" } } } }, "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/TriplePackageChange" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "compare schemas", "tags" : [ "comparison" ] } }, "/api/desktop" : { "get" : { "description" : "Identifies the running desktop app. Only in the desktop app.", "operationId" : "getDesktopInfo", "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/DesktopInfoDTO" } } }, "description" : "OK" } }, "summary" : "Desktop app", "tags" : [ "desktop" ] } }, "/api/desktop/pending-files" : { "post" : { "description" : "Registers a workspace file on this computer to be opened, as the launcher does for a double-clicked .rdfa file. A window opened at /mainpage?open= then opens it. Only in the desktop app.", "operationId" : "addPendingFile", "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PendingFileDTO" } } }, "required" : true }, "responses" : { "201" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/PendingFileDTO" } } }, "description" : "Registered" }, "400" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/PendingFileDTO" } } }, "description" : "No readable workspace file" } }, "summary" : "Open a workspace file", "tags" : [ "desktop" ] } }, "/api/desktop/pending-files/{fileId}" : { "get" : { "description" : "The content of a workspace file registered to be opened. Only in the desktop app.", "operationId" : "getPendingFile", "parameters" : [ { "in" : "path", "name" : "fileId", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/zip" : { } }, "description" : "OK" }, "404" : { "content" : { "*/*" : { "schema" : { "format" : "byte", "type" : "string" } } }, "description" : "No such pending file, or it cannot be read" } }, "summary" : "Workspace file to open", "tags" : [ "desktop" ] } }, "/api/desktop/recovery" : { "get" : { "description" : "The unsaved workspaces the desktop app kept when it last stopped, newest first. Only in the desktop app.", "operationId" : "listRecoveredWorkspaces", "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "items" : { "$ref" : "#/components/schemas/RecoveredWorkspaceDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "Workspaces kept from the previous run", "tags" : [ "desktop" ] } }, "/api/desktop/recovery/{id}" : { "delete" : { "description" : "Removes a copy that is not wanted. Only in the desktop app.", "operationId" : "discardRecoveredWorkspace", "parameters" : [ { "in" : "path", "name" : "id", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "204" : { "description" : "Removed" }, "404" : { "description" : "No such copy" } }, "summary" : "Discard a workspace kept from the previous run", "tags" : [ "desktop" ] }, "get" : { "description" : "The workspace file of a workspace kept from the previous run. Only in the desktop app.", "operationId" : "getRecoveredWorkspace", "parameters" : [ { "in" : "path", "name" : "id", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/zip" : { } }, "description" : "OK" }, "404" : { "content" : { "*/*" : { "schema" : { "format" : "byte", "type" : "string" } } }, "description" : "No such copy" } }, "summary" : "Workspace kept from the previous run", "tags" : [ "desktop" ] } }, "/api/desktop/windows/{windowId}/goodbye" : { "post" : { "description" : "Tells the desktop app that a window has closed or is reloading. Only in the desktop app.", "operationId" : "reportWindowClosed", "parameters" : [ { "in" : "path", "name" : "windowId", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "204" : { "description" : "No Content" } }, "summary" : "Window closed", "tags" : [ "desktop" ] } }, "/api/desktop/windows/{windowId}/heartbeat" : { "post" : { "description" : "Tells the desktop app that a window is still open, and answers which workspaces of the session hold unsaved changes. The app shuts down once no window has sent one for a while. Only in the desktop app.", "operationId" : "reportWindowOpen", "parameters" : [ { "description" : "An id the window chose for itself.", "in" : "path", "name" : "windowId", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/DesktopStatusDTO" } } }, "description" : "OK" } }, "summary" : "Window heartbeat", "tags" : [ "desktop" ] } }, "/api/desktop/workspaces/{workspaceName}/file" : { "get" : { "description" : "The workspace as a workspace file, as File → Export → Workspace writes it. The X-Workspace-Version header names the version it holds, to be passed to PUT .../saved once the file is written, and X-Workspace-Id the workspace. Only in the desktop app.", "operationId" : "getWorkspaceFile", "parameters" : [ { "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/zip" : { } }, "description" : "OK" } }, "summary" : "Workspace file", "tags" : [ "desktop" ] }, "post" : { "description" : "Writes the workspace to the file it was opened from on this computer and records it as saved. 409 if it has no such file. Only in the desktop app.", "operationId" : "saveWorkspaceToFile", "parameters" : [ { "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "204" : { "description" : "Saved" }, "409" : { "description" : "The workspace has no file" } }, "summary" : "Save a workspace to its file", "tags" : [ "desktop" ] } }, "/api/desktop/workspaces/{workspaceName}/opened-from/{fileId}" : { "put" : { "description" : "Records that the workspace was opened from a pending file: it is saved, and Save writes to that file. The pending file is removed once this is recorded. 409 while the workspace is being changed; the pending file stays for another try. Only in the desktop app.", "operationId" : "markOpenedFromPendingFile", "parameters" : [ { "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "in" : "path", "name" : "fileId", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "204" : { "description" : "Recorded" }, "404" : { "description" : "No such pending file" }, "409" : { "description" : "The workspace is being changed right now" } }, "summary" : "Workspace opened from a registered file", "tags" : [ "desktop" ] } }, "/api/desktop/workspaces/{workspaceName}/restored-from/{id}" : { "put" : { "description" : "Records that the workspace was restored from a copy kept from the previous run. The copy is removed once the app keeps a copy of the restored workspace. 409 while it cannot; the copy stays for another try. Only in the desktop app.", "operationId" : "markRestoredFromCopy", "parameters" : [ { "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "in" : "path", "name" : "id", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "204" : { "description" : "Recorded" }, "404" : { "description" : "No such copy" }, "409" : { "description" : "The restored workspace could not be kept right now" } }, "summary" : "Workspace restored from a kept copy", "tags" : [ "desktop" ] } }, "/api/desktop/workspaces/{workspaceName}/saved" : { "put" : { "description" : "Records that the workspace was saved to a file, at the version given or, without one, as it stands now. 409 while it is being changed and no version is given. Only in the desktop app.", "operationId" : "markWorkspaceSaved", "parameters" : [ { "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The version the file holds, as X-Workspace-Version named it. Without it, the version the workspace stands on now.", "in" : "query", "name" : "version", "required" : false, "schema" : { "type" : "string" } } ], "responses" : { "204" : { "description" : "Recorded" }, "400" : { "description" : "Not a version" }, "409" : { "description" : "The workspace is being changed right now" } }, "summary" : "Workspace saved", "tags" : [ "desktop" ] } }, "/api/migrations/changes" : { "get" : { "description" : "returns final changes in migration to be displayed for review", "operationId" : "getMigrationChanges", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/SemanticResourceChange" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "migration changes overview", "tags" : [ "migration" ] }, "post" : { "description" : "Confirms the migration changes including potentially added comments", "operationId" : "confirmMigrationChanges", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The updated class renamings", "items" : { "$ref" : "#/components/schemas/SemanticClassChange" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "description" : "OK" } }, "summary" : "confirm migration changes", "tags" : [ "migration" ] } }, "/api/migrations/class-renamings" : { "get" : { "description" : "Provides an overview of the migration classes including added, modified, deleted and potentially renamed classes.", "operationId" : "getClassMappings", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ClassMappingOverview" } } }, "description" : "OK" } }, "summary" : "migration class overview", "tags" : [ "migration" ] }, "post" : { "description" : "Confirms the previously suggested renamed classes and updates the migration context accordingly.", "operationId" : "confirmRenamedClasses", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The updated class renamings", "items" : { "$ref" : "#/components/schemas/ResourceMappingSemanticClassChange" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "description" : "OK" } }, "summary" : "confirm renamed classes", "tags" : [ "migration" ] } }, "/api/migrations/context" : { "delete" : { "description" : "Resets the current migration context, removing all stored data related to the ongoing migration session.", "operationId" : "clearMigrationContext", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "responses" : { "200" : { "description" : "OK" } }, "summary" : "reset migration context", "tags" : [ "migration" ] }, "post" : { "description" : "Computes the diff of two given graphs and stores it in the session for later usage in migration endpoints. Accepts the graphs either as file uploads, GraphIdentifiers or a combination of both.", "operationId" : "computeMigrationContext", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "Dataset of graph A. Required together with schema_name_a when not uploading graph A as a file.", "in" : "query", "name" : "workspaceA", "required" : false, "schema" : { "type" : "string" } }, { "description" : "Name of schema A. Required together with workspace_a when not uploading schema A as a file.", "in" : "query", "name" : "schemaA", "required" : false, "schema" : { "type" : "string" } }, { "description" : "Dataset of graph B. Required together with schema_name_b when not uploading graph B as a file.", "in" : "query", "name" : "workspaceB", "required" : false, "schema" : { "type" : "string" } }, { "description" : "Name of schema B. Required together with workspace_b when not uploading schema B as a file.", "in" : "query", "name" : "schemaB", "required" : false, "schema" : { "type" : "string" } }, { "description" : "Whether to ignore prefixes in the comparison and rename detection. Defaults to false.", "in" : "query", "name" : "ignorePrefixes", "required" : false, "schema" : { "default" : false, "type" : "boolean" } } ], "requestBody" : { "content" : { "multipart/form-data" : { "schema" : { "properties" : { "fileA" : { "description" : "The file containing graph A. Mutually exclusive with workspace_a and schema_name_a.", "format" : "binary", "type" : "string" }, "fileB" : { "description" : "The file containing graph B. Mutually exclusive with workspace_b and schema_name_b.", "format" : "binary", "type" : "string" } }, "type" : "object" } } } }, "responses" : { "200" : { "description" : "OK" } }, "summary" : "compute migration context", "tags" : [ "migration" ] } }, "/api/migrations/default-values" : { "get" : { "description" : "Provides an overview of attributes that require default values to be set for migration.", "operationId" : "getDefaultValuesViews", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "items" : { "$ref" : "#/components/schemas/DefaultValueView" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "get default values overview", "tags" : [ "migration" ] }, "post" : { "description" : "Sets the default values for attributes as provided by the user.", "operationId" : "submitDefaultValues", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The updated default values for attributes.", "items" : { "$ref" : "#/components/schemas/DefaultValueView" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "description" : "OK" } }, "summary" : "submit default values", "tags" : [ "migration" ] } }, "/api/migrations/export" : { "get" : { "description" : "Generates a migration script based on the previously computed migration actions and the shacl shapes of the new schema.", "operationId" : "generateMigrationScript", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/zip" : { } }, "description" : "OK" } }, "summary" : "generate migration script", "tags" : [ "migration" ] } }, "/api/migrations/property-mappings" : { "get" : { "description" : "Provides an overview of the properties on migration classes including added, deleted and potentially remapped properties.", "operationId" : "migrationPropertiesOverview", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/ClassPropertyMappingOverview" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "migration class property overview", "tags" : [ "migration" ] }, "post" : { "description" : "Confirms the previously suggested renamed properties and updates the migration context accordingly.", "operationId" : "confirmPropertyMappings", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The updated property mappings", "items" : { "$ref" : "#/components/schemas/ClassPropertyMappings" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "description" : "OK" } }, "summary" : "confirm remapped properties", "tags" : [ "migration" ] } }, "/api/migrations/report" : { "get" : { "description" : "Generates a migration script based on the previously computed migration actions and the shacl shapes of the new schema.", "operationId" : "generateMigrationReport", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "Type of the migration report to generate. Can be either SUMMARY or DETAILED.", "in" : "query", "name" : "reportType", "required" : false, "schema" : { "default" : "SUMMARY", "enum" : [ "SUMMARY", "DETAILED" ], "type" : "string" } }, { "description" : "The CGMES version of the original schema", "in" : "query", "name" : "originalCGMESVersion", "required" : false, "schema" : { "default" : "V3_0", "enum" : [ "V2_4_15", "V3_0" ], "type" : "string" } }, { "description" : "The CGMES version of the updated schema", "in" : "query", "name" : "updatedCGMESVersion", "required" : false, "schema" : { "default" : "V3_0", "enum" : [ "V2_4_15", "V3_0" ], "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/zip" : { } }, "description" : "OK" } }, "summary" : "generate migration script", "tags" : [ "migration" ] } }, "/api/ontology-fields" : { "get" : { "description" : "Get a list of all known ontology fields.", "operationId" : "getKnownOntologyFields", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/OntologyField" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "Get known ontology fields", "tags" : [ "ontology" ] } }, "/api/primitiveDatatypes" : { "get" : { "description" : "Get a list of all supported xsd datatypes.", "operationId" : "getPrimitiveDatatypes", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/URI" }, "type" : "array" } } }, "description" : "A list containing the uris of xsd datatypes." } }, "summary" : "Get primitive datatypes", "tags" : [ "data" ] } }, "/api/search" : { "post" : { "description" : "Searches the given graph for a specific query", "operationId" : "search", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The query to search for", "in" : "query", "name" : "query", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/SearchFilter" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/SearchResults" } } }, "description" : "OK" } }, "summary" : "Search the graph", "tags" : [ "dataset" ] } }, "/api/session" : { "delete" : { "description" : "Invalidates the current session, discarding all unsaved changes. A new session is created on the next request.", "operationId" : "resetSession", "responses" : { "204" : { "description" : "No Content" } }, "summary" : "Reset session", "tags" : [ "session" ] }, "get" : { "description" : "The id of the session this request belongs to. Workspaces live in a session, so a tool that wants to read the very workspaces a browser is editing has to address that session — the app hands this id to an embedding host (see the embedded-session handshake) which passes it on to that tool. The id is the session cookie's value and therefore grants full access to the session: treat it as a credential.", "operationId" : "getSession", "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/SessionDTO" } } }, "description" : "OK" } }, "summary" : "Current session", "tags" : [ "session" ], "x-public-api" : true } }, "/api/snapshots" : { "post" : { "description" : "Creates a snapshot for a dataset and persists it in the database", "operationId" : "createSnapshot", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The literal name of the dataset.", "type" : "string" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "snapshot dataset", "tags" : [ "snapshot", "dataset" ], "x-public-api" : true } }, "/api/snapshots/{base64Token}" : { "get" : { "description" : "Fetch a snapshot", "operationId" : "loadSnapshot", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "base64Token", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "get snapshot", "tags" : [ "snapshot", "dataset" ], "x-public-api" : true } }, "/api/validate/{cgmesVersion}" : { "post" : { "description" : "Validates the RDFS schema of a given graph file for completeness, including the profile header.", "operationId" : "validateFile", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "in" : "path", "name" : "cgmesVersion", "required" : true, "schema" : { "enum" : [ "V2_4_15", "V3_0" ], "type" : "string" } } ], "requestBody" : { "content" : { "multipart/form-data" : { "schema" : { "properties" : { "file" : { "description" : "The graph file to validate.", "format" : "binary", "type" : "string" } }, "required" : [ "file" ], "type" : "object" } } } }, "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ValidationReportDTO" } } }, "description" : "OK" } }, "summary" : "Validate schema", "tags" : [ "schema-validation-from-file-rest-controller" ] } }, "/api/workspaces" : { "get" : { "description" : "Lists all non-snapshots datasets including their prefixes and read-only status.", "operationId" : "listDatasets", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "items" : { "$ref" : "#/components/schemas/DatasetDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "List datasets", "tags" : [ "dataset" ], "x-public-api" : true } }, "/api/workspaces/{targetWorkspaceName}/schemas/{targetSchemaName}/paste" : { "post" : { "description" : "Create copies of one or more previously copied classes in the target graph. A referenced data type listed in referencesToCopy also brings the data types its own attributes need.", "operationId" : "pasteClasses", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the target dataset.", "in" : "path", "name" : "targetWorkspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the target schema.", "in" : "path", "name" : "targetSchemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PasteClassesRequestDTO" } } }, "description" : "The target package, copy options and the list of source classes to paste.", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "items" : { "$ref" : "#/components/schemas/CopyClassResponseDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "paste classes", "tags" : [ "paste-rest-controller" ] } }, "/api/workspaces/{targetWorkspaceName}/schemas/{targetSchemaName}/paste/preview" : { "post" : { "description" : "Report which data types, association targets and super classes of the given source classes the target graph does not contain yet.", "operationId" : "previewPaste", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the target dataset.", "in" : "path", "name" : "targetWorkspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the target schema.", "in" : "path", "name" : "targetSchemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PastePreviewRequestDTO" } } }, "description" : "The list of source classes that would be pasted.", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/PastePreviewResponseDTO" } } }, "description" : "OK" } }, "summary" : "preview paste", "tags" : [ "paste-rest-controller" ] } }, "/api/workspaces/{workspaceName}" : { "delete" : { "description" : "Deletes a dataset including all of its graphs.", "operationId" : "deleteDataset", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Delete dataset", "tags" : [ "dataset" ] }, "put" : { "description" : "Creates an empty dataset without any graphs.", "operationId" : "createDataset", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" }, "409" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "Dataset already exists" } }, "summary" : "Create dataset", "tags" : [ "dataset" ] } }, "/api/workspaces/{workspaceName}/canRedo" : { "post" : { "description" : "Check whether the last undone change can be redone", "operationId" : "canRedo", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "boolean" } } }, "description" : "OK" } }, "summary" : "can Redo", "tags" : [ "workspace" ] } }, "/api/workspaces/{workspaceName}/canUndo" : { "post" : { "description" : "Check whether an undo operation is possible.", "operationId" : "canUndo", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "boolean" } } }, "description" : "OK" } }, "summary" : "can undo", "tags" : [ "workspace" ] } }, "/api/workspaces/{workspaceName}/changes" : { "get" : { "description" : "Get a list containing all changes made to a graph", "operationId" : "getChangeLog", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/ChangeLogEntryDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "list changes for graph", "tags" : [ "workspace" ], "x-public-api" : true } }, "/api/workspaces/{workspaceName}/classes/extendToSchema" : { "post" : { "description" : "Creates a stub of every given class in another graph of the same dataset, optionally stubbing their superclasses as well. The classes may come from different graphs and are addressed either by the uuid they carry there or by the uuid of their merged class. Classes that are already defined in the target graph are left untouched.", "operationId" : "extendToSchema", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ExtendToSchemaRequest" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "items" : { "$ref" : "#/components/schemas/ClassExtensionResultDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "Extend classes into another schema", "tags" : [ "class" ] } }, "/api/workspaces/{workspaceName}/classes/{classUUID}/schemas" : { "get" : { "description" : "Lists all graphs of the dataset and tells for each of them whether the class is defined there. The uuid is either the one of a class in one of the graphs, or the one of its merged class.", "operationId" : "listSchemas", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "items" : { "$ref" : "#/components/schemas/ClassSchemaOccurrenceDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "List the schemas of a class", "tags" : [ "class" ] } }, "/api/workspaces/{workspaceName}/content" : { "get" : { "description" : "Export a file storing all RDFSchema graphs from a dataset", "operationId" : "getDatasetSchema", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/n-quads" : { }, "application/trig" : { } }, "description" : "OK" } }, "summary" : "export dataset", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/crossprofilediagram" : { "get" : { "operationId" : "getCrossProfileDiagram", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/CrossProfileDiagramDTO" } } }, "description" : "OK" } }, "tags" : [ "cross-profile-diagram-rest-controller" ] } }, "/api/workspaces/{workspaceName}/crossprofilediagramColors" : { "get" : { "operationId" : "getCrossProfileColors", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/CrossProfileDiagramColorDataDTO" } } }, "description" : "OK" } }, "tags" : [ "cross-profile-diagram-color-rest-controller" ] }, "put" : { "operationId" : "updateCrossProfileColors", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/CrossProfileDiagramColorDataDTO" } } }, "required" : true }, "responses" : { "200" : { "description" : "OK" } }, "tags" : [ "cross-profile-diagram-color-rest-controller" ] } }, "/api/workspaces/{workspaceName}/crossprofilediagramID" : { "get" : { "operationId" : "getCrossProfileDiagramId", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "tags" : [ "cross-profile-diagram-idrest-controller" ] } }, "/api/workspaces/{workspaceName}/crossprofilediagramRendering" : { "get" : { "operationId" : "getCrossProfileRenderingData", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/RenderingDataDTO" } } }, "description" : "OK" } }, "tags" : [ "cross-profile-diagram-rendering-rest-controller" ] } }, "/api/workspaces/{workspaceName}/diagrams" : { "get" : { "description" : "Returns a list of all custom diagrams for the specified dataset. Each diagram includes its ID, name, and other relevant information.", "operationId" : "getCustomDatasetDiagramList", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/CustomDiagramDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "list custom diagrams for dataset", "tags" : [ "diagram" ] } }, "/api/workspaces/{workspaceName}/diagrams/{diagramId}" : { "delete" : { "operationId" : "deleteCustomDatasetDiagram", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the diagram.", "in" : "path", "name" : "diagramId", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "tags" : [ "custom-dataset-diagrams-rest-controller" ] }, "get" : { "operationId" : "getCustomDatasetViewRenderingData", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the diagram.", "in" : "path", "name" : "diagramId", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/RenderingDataDTO" } } }, "description" : "OK" } }, "tags" : [ "custom-dataset-diagrams-rest-controller" ] }, "put" : { "operationId" : "replaceCustomDatasetDiagram", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the diagram.", "in" : "path", "name" : "diagramId", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/CustomDiagramDTO" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "tags" : [ "custom-dataset-diagrams-rest-controller" ] } }, "/api/workspaces/{workspaceName}/diagrams/{diagramId}/classes" : { "delete" : { "operationId" : "removeFromCustomDatasetDiagram", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the diagram.", "in" : "path", "name" : "diagramId", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The list of class uuids to be removed from the diagram", "items" : { "format" : "uuid", "type" : "string" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "tags" : [ "custom-dataset-diagram-all-classes-rest-controller" ] }, "post" : { "operationId" : "addToCustomDatasetDiagram", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the diagram.", "in" : "path", "name" : "diagramId", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The list of the classes to be added to the diagram", "items" : { "$ref" : "#/components/schemas/ClassInDiagram" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "tags" : [ "custom-dataset-diagram-all-classes-rest-controller" ] } }, "/api/workspaces/{workspaceName}/export" : { "get" : { "description" : "Exports the whole workspace as a workspace file: every graph with its custom SHACL, layout and custom diagrams, and the workspace's prefixes, diagrams, layout and cross-profile colours.", "operationId" : "exportWorkspace", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/zip" : { } }, "description" : "OK" } }, "summary" : "export workspace", "tags" : [ "dataset" ] } }, "/api/workspaces/{workspaceName}/import" : { "post" : { "description" : "Starts importing a workspace file, as written by the workspace export, as a new workspace of the given name. Returns the id of the job to poll for progress at /api/workspaces/{workspaceName}/imports/{jobId}. The file is checked completely first: if anything in it is invalid, nothing is imported and the job's status lists every problem.", "operationId" : "startWorkspaceImport", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The name of the workspace to create.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "multipart/form-data" : { "schema" : { "properties" : { "file" : { "description" : "The workspace file", "format" : "binary", "type" : "string" } }, "required" : [ "file" ], "type" : "object" } } } }, "responses" : { "202" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobCreatedResponse" } } }, "description" : "Import started" }, "409" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobCreatedResponse" } } }, "description" : "An import is already running for this session" } }, "summary" : "Start importing a workspace file", "tags" : [ "dataset" ] } }, "/api/workspaces/{workspaceName}/imports/xmi" : { "post" : { "description" : "Starts a background read of one or more Enterprise Architect XMI exports and returns the id of the job to poll for progress. The job reports the packages the exports hold, each of which can become a schema, and stores nothing; the workspace does not have to exist yet.", "operationId" : "startXmiScan", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the workspace.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "multipart/form-data" : { "schema" : { "properties" : { "files" : { "description" : "The Enterprise Architect XMI exports to read", "items" : { "format" : "binary", "type" : "string" }, "type" : "array" } }, "required" : [ "files" ], "type" : "object" } } } }, "responses" : { "202" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobCreatedResponse" } } }, "description" : "Read started" }, "409" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobCreatedResponse" } } }, "description" : "An import is already running for this session" } }, "summary" : "Start reading Enterprise Architect XMI exports", "tags" : [ "dataset" ] } }, "/api/workspaces/{workspaceName}/imports/{jobId}" : { "delete" : { "description" : "Asks a running import to stop after the file it is currently importing. An import of files keeps the graphs it stored up to that point; an import of packages stores nothing.", "operationId" : "cancelImport", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The id of the import job.", "in" : "path", "name" : "jobId", "required" : true, "schema" : { "format" : "uuid", "type" : "string" } } ], "responses" : { "204" : { "description" : "Cancellation requested" }, "404" : { "description" : "No such import job" } }, "summary" : "Cancel an import", "tags" : [ "dataset" ], "x-public-api" : true }, "get" : { "description" : "Returns the progress of a running import and the result of a finished one, including the graphs that were imported, the files that failed and any warnings.", "operationId" : "getImportStatus", "parameters" : [ { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The id of the import job.", "in" : "path", "name" : "jobId", "required" : true, "schema" : { "format" : "uuid", "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobStatus" } } }, "description" : "OK" }, "404" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobStatus" } } }, "description" : "No such import job" } }, "summary" : "Get the progress of an import", "tags" : [ "dataset" ], "x-public-api" : true } }, "/api/workspaces/{workspaceName}/imports/{jobId}/packages" : { "put" : { "description" : "Starts a background import of the chosen packages, each becoming one schema of the workspace, and returns the id of the job to poll for progress. The exports are the ones the given read job holds, so they are not uploaded again; a read can be chosen from once.", "operationId" : "importSelectedPackages", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the workspace.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The id of the job that read the exports.", "in" : "path", "name" : "jobId", "required" : true, "schema" : { "format" : "uuid", "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ImportSelectionDTO" } } }, "required" : true }, "responses" : { "202" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobCreatedResponse" } } }, "description" : "Import started" }, "404" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobCreatedResponse" } } }, "description" : "No such import job" }, "409" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobCreatedResponse" } } }, "description" : "An import is already running for this session, the read has not finished yet, or the exports of that read are gone" } }, "summary" : "Import the packages chosen from Enterprise Architect XMI exports", "tags" : [ "dataset" ] } }, "/api/workspaces/{workspaceName}/imports/{jobId}/prefix-resolutions" : { "put" : { "description" : "Hands an import that is waiting for namespace prefix decisions the decisions it asked for and lets it go on. A contested namespace left out of the request is imported without a prefix, leaving the prefixes of the dataset as they are.", "operationId" : "resolvePrefixConflicts", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The id of the import job.", "in" : "path", "name" : "jobId", "required" : true, "schema" : { "format" : "uuid", "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "What to do with each contested namespace binding.", "items" : { "$ref" : "#/components/schemas/PrefixResolutionDTO" }, "type" : "array" } } }, "required" : true }, "responses" : { "204" : { "description" : "Import continues" }, "400" : { "description" : "Invalid namespace prefix" }, "404" : { "description" : "No such import job" }, "409" : { "description" : "The import is not waiting for decisions" } }, "summary" : "Resolve the namespace prefix conflicts of an import", "tags" : [ "dataset" ], "x-public-api" : true } }, "/api/workspaces/{workspaceName}/layout/{diagramUUID}" : { "put" : { "description" : "Updates the layout of the classes, edges and labels in the request body in one step. Every part is optional, only the elements sent are updated.", "operationId" : "updateDatasetDiagramLayout", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the cross-profile or custom diagram being updated.", "in" : "path", "name" : "diagramUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DiagramLayoutDTO" } } }, "description" : "The layout of the changed classes, edges and labels", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "updates the layout of a diagram on dataset level", "tags" : [ "diagram", "layout" ] } }, "/api/workspaces/{workspaceName}/layout/{diagramUUID}/classes" : { "put" : { "description" : "Updates the positions for all the classes provided in the request body with the provided coordinates.", "operationId" : "updateDatasetClassPositions", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the package or custom diagram being updated.", "in" : "path", "name" : "diagramUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/ClassPositionDTO" }, "type" : "array" } } }, "description" : "The DTO with necessary information for class reposition", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "updates class positions on dataset level", "tags" : [ "diagram", "layout", "class" ] } }, "/api/workspaces/{workspaceName}/layout/{diagramUUID}/edges" : { "put" : { "description" : "Replaces the points of the edges in the request body with the full, ordered list of points sent for each.", "operationId" : "updateDatasetEdgeLayouts", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the cross-profile or custom diagram being updated.", "in" : "path", "name" : "diagramUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/EdgeLayoutDTO" }, "type" : "array" } } }, "description" : "The layout of the changed edges", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "updates the layout of edges on dataset level", "tags" : [ "diagram", "layout", "edge" ] } }, "/api/workspaces/{workspaceName}/layout/{diagramUUID}/labels" : { "put" : { "description" : "Updates the offsets for all the labels provided in the request body. Labels without an offset are reset to their default placement.", "operationId" : "updateDatasetLabelPositions", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the package or custom diagram being updated.", "in" : "path", "name" : "diagramUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/LabelPositionDTO" }, "type" : "array" } } }, "description" : "The DTO with necessary information for label reposition", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "updates label positions on dataset level", "tags" : [ "diagram", "layout", "label" ] } }, "/api/workspaces/{workspaceName}/namespaces" : { "get" : { "description" : "Get a list of namespaces stored in a specified dataset.", "operationId" : "listNamespaces", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/CIMPrefixPair" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "List namespaces", "tags" : [ "dataset" ] }, "put" : { "description" : "Replace all namespaces of a specified dataset.", "operationId" : "replaceNamespaces", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The new Namespaces.", "items" : { "$ref" : "#/components/schemas/CIMPrefixPair" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace namespaces", "tags" : [ "dataset" ] } }, "/api/workspaces/{workspaceName}/namespaces/available" : { "get" : { "description" : "Get the namespaces that the schemas of a specified dataset use or that the application configures, with or without a defined prefix.", "operationId" : "listAvailableNamespaces", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The schema to inspect. If omitted, all schemas of the dataset are inspected.", "in" : "query", "name" : "schemaName", "required" : false, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/AvailableNamespaceDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "List available namespaces", "tags" : [ "dataset" ] } }, "/api/workspaces/{workspaceName}/namespaces/{format}" : { "get" : { "description" : "Get a list of namespaces stored in a specified dataset formatted in a specified format.", "operationId" : "listFormattedNamespaces", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The format of the namespaces.", "in" : "path", "name" : "format", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "List formatted namespaces", "tags" : [ "dataset" ] } }, "/api/workspaces/{workspaceName}/readonly" : { "delete" : { "description" : "Disables editing for specified dataset", "operationId" : "disableEditing", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "disable editing", "tags" : [ "dataset", "read-only" ], "x-public-api" : true }, "get" : { "description" : "Check whether dataset is read-only", "operationId" : "isReadOnly", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "boolean" } } }, "description" : "OK" } }, "summary" : "is read only", "tags" : [ "dataset", "read-only" ] }, "put" : { "description" : "Enables editing for specified dataset", "operationId" : "enableEditing", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "enable editing", "tags" : [ "dataset", "read-only" ] } }, "/api/workspaces/{workspaceName}/redo" : { "post" : { "description" : "Redo the last undone change", "operationId" : "redo", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/HistoryStepDTO" } } }, "description" : "OK" } }, "summary" : "redo ", "tags" : [ "workspace" ] } }, "/api/workspaces/{workspaceName}/rename" : { "post" : { "description" : "Renames a dataset, keeping all of its graphs, diagrams and namespaces.", "operationId" : "renameDataset", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The literal name to rename the dataset to.", "in" : "query", "name" : "newWorkspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Rename dataset", "tags" : [ "dataset" ] } }, "/api/workspaces/{workspaceName}/restore" : { "post" : { "description" : "Puts the workspace back the way the given version left it. Leaving the scope out restores the whole workspace by stepping through the history, which writes nothing and leaves the changes stepped over to be redone. A scope holding the restore to certain graphs is recorded as a new change instead, which discards whatever could still be redone. With expectedCurrentChangeId, only if the workspace still stands on that change, and with expectedNewestChangeId, only if that is still the newest recorded change, undone or not; otherwise nothing is restored and 409 is returned. A restore that cannot be carried out, such as one held to a schema that did not exist yet at that version, is refused with 422.", "operationId" : "restoreVersion", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RestoreVersionDTO" } } }, "description" : "The ID of the version to restore.", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/HistoryStepDTO" } } }, "description" : "OK" }, "409" : { "description" : "The workspace has moved in its history since." }, "422" : { "description" : "The restore cannot be carried out as asked." } }, "summary" : "restore a version", "tags" : [ "workspace" ] } }, "/api/workspaces/{workspaceName}/schemas" : { "get" : { "description" : "Lists all graphs in a specified datasets", "operationId" : "listGraphs", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "items" : { "$ref" : "#/components/schemas/GraphDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "List graphs", "tags" : [ "dataset" ], "x-public-api" : true } }, "/api/workspaces/{workspaceName}/schemas/content/imports" : { "post" : { "description" : "Starts a background import of one or more rdf graphs into the dataset. Accepts multiple files and/or zip archives containing several graph files, and returns the id of the job to poll for progress at /api/workspaces/{workspaceName}/imports/{jobId}.", "operationId" : "startImport", "parameters" : [ { "description" : "Optional schema names, one per file. Defaults to the file names without extension.", "in" : "query", "name" : "schemaNames", "schema" : { "items" : { "type" : "string" }, "type" : "array" } }, { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "multipart/form-data" : { "schema" : { "properties" : { "files" : { "description" : "The files containing the graph data", "items" : { "format" : "binary", "type" : "string" }, "type" : "array" } }, "required" : [ "files" ], "type" : "object" } } } }, "responses" : { "202" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobCreatedResponse" } } }, "description" : "Import started" }, "409" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ImportJobCreatedResponse" } } }, "description" : "An import is already running for this session" } }, "summary" : "Start importing multiple graphs", "tags" : [ "graph" ], "x-public-api" : true } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/asciidocexport/{fileEnding}" : { "get" : { "description" : "Export the rdf-schema graph as asciidoc", "operationId" : "getAsciiDocExport", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The file ending of the diagram files.", "in" : "path", "name" : "fileEnding", "required" : true, "schema" : { "type" : "string" } }, { "description" : "Whether the package diagram is shown in the document instead of only being linked.", "in" : "query", "name" : "embedDiagrams", "required" : false, "schema" : { "default" : false, "type" : "boolean" } } ], "responses" : { "200" : { "content" : { "text/asciidoc" : { } }, "description" : "OK" } }, "summary" : "export graph as asciidoc", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes" : { "get" : { "description" : "Get a list containing all classes. Doesn't include: stereotypes, attributes and associations.", "operationId" : "getClassList", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "Whether to include external classes.", "in" : "query", "name" : "includeExternalClasses", "required" : false, "schema" : { "default" : false, "type" : "boolean" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/ClassUMLAdaptedDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "list classes", "tags" : [ "graph" ] }, "post" : { "description" : "Create a new class with default name and no attributes, stereotypes or associations. Because no concrete stereotype is added the class is abstract by default.", "operationId" : "addClass", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AddNewClassRequest" } } }, "description" : "Helper record, functions as DTO for accepting the necessary information for adding a new class", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "create new class", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}" : { "delete" : { "description" : "Deletes a whole class.", "operationId" : "deleteClass", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Delete class", "tags" : [ "class" ] }, "get" : { "description" : "Get all information about a specified class.", "operationId" : "getClassInformation", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } }, { "description" : "Whether to recursively expand the superclass hierarchy (with their attributes and associations).", "in" : "query", "name" : "includeSuperClasses", "required" : false, "schema" : { "default" : false, "type" : "boolean" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ClassUMLAdaptedDTO" } } }, "description" : "OK" } }, "summary" : "Get class information", "tags" : [ "class" ] }, "put" : { "description" : "Replace a whole class.", "operationId" : "replaceClass", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ClassUMLAdaptedDTO" } } }, "description" : "The new class", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace class", "tags" : [ "class" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/associations" : { "post" : { "description" : "Creates a new association for a specified class.", "operationId" : "createAssociation", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AssociationPairDTO" } } }, "description" : "The new association", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/AssociationUUIDs" } } }, "description" : "OK" } }, "summary" : "Creates association", "tags" : [ "class" ] }, "put" : { "description" : "Replaces all associations of a specified class.", "operationId" : "replaceAllAssociations", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/AssociationPairDTO" }, "type" : "array" } } }, "description" : "The new association", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace all association", "tags" : [ "class" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/associations/{associationUUID}" : { "put" : { "description" : "Replaces an association of a specified class.", "operationId" : "replaceAssociation", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The old, to be replaced association.", "in" : "path", "name" : "associationUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AssociationPairDTO" } } }, "description" : "The new association", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/AssociationUUIDs" } } }, "description" : "OK" } }, "summary" : "Replace/Create association", "tags" : [ "class" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/associations/{associationUUID}/shacl" : { "get" : { "description" : "GET the shacl rules that can be related to a specified association.", "operationId" : "getAssociationSHACL", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the association.", "in" : "path", "name" : "associationUUID", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/CustomAndGeneratedTupleListPropertyShape" } } }, "description" : "OK" } }, "summary" : "Get SHACL related to an association", "tags" : [ "shacl" ] }, "put" : { "description" : "Replace the SHACL rules of an association.", "operationId" : "replaceAssociationSHACL", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the association.", "in" : "path", "name" : "associationUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The SHACL shapes to be inserted.", "type" : "string" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "replace SHACL of an association", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/attributes" : { "post" : { "description" : "Creates a new attribute for a specified class.", "operationId" : "createAttribute", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AttributeDTO" } } }, "description" : "The new attribute", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "format" : "uuid", "type" : "string" } } }, "description" : "OK" } }, "summary" : "Create attribute", "tags" : [ "class" ] }, "put" : { "description" : "Replaces all attributes of a specified class.", "operationId" : "replaceAllAttributes", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/CIMAttribute" }, "type" : "array" } } }, "description" : "The new attribute", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace all attributes", "tags" : [ "class" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/attributes/{attributeUUID}" : { "put" : { "description" : "Replaces an attribute of a specified class.", "operationId" : "replaceAttribute", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the old, to be replaced attribute.", "in" : "path", "name" : "attributeUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/AttributeDTO" } } }, "description" : "The new attribute", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "format" : "uuid", "type" : "string" } } }, "description" : "The uuid of the new attribute." } }, "summary" : "Replace/Create attribute", "tags" : [ "class" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/attributes/{attributeUUID}/shacl" : { "get" : { "description" : "GET the shacl rules that can be related to a specified attribute.", "operationId" : "getAttributeSHACL", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the attribute.", "in" : "path", "name" : "attributeUUID", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/CustomAndGeneratedTupleListPropertyShape" } } }, "description" : "OK" } }, "summary" : "Get SHACL related to an attribute", "tags" : [ "shacl" ] }, "put" : { "description" : "Replace the SHACL rules of an attribute.", "operationId" : "replaceAttributeSHACL", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the association.", "in" : "path", "name" : "attributeUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The SHACL shapes to be inserted.", "type" : "string" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "replace SHACL of an attribute", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/enumentries" : { "post" : { "description" : "Creates a new enum entry for a specified class.", "operationId" : "createEnumEntry", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the enum.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/EnumEntryDTO" } } }, "description" : "The new enum entry.", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "format" : "uuid", "type" : "string" } } }, "description" : "UUID of the newly created enum entry." } }, "summary" : "Create enum entry", "tags" : [ "enum" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/enumentries/{enumEntryUUID}" : { "put" : { "description" : "Replaces the enum entry for a given enum URI and labels", "operationId" : "replaceEnumEntry", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the enum.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the enum entry.", "in" : "path", "name" : "enumEntryUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/EnumEntryDTO" } } }, "description" : "The new enum entry.", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "format" : "uuid", "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace enum entry", "tags" : [ "enum" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/referencedByClasses" : { "get" : { "description" : "Get all classes referencing this class.", "operationId" : "getClassesReferencingThisClass", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/ClassRelationsDTO" } } }, "description" : "OK" } }, "summary" : "Get classes referencing this class", "tags" : [ "class" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/shacl" : { "get" : { "description" : "Get the shacl rules that can be related to a specified class.", "operationId" : "getSHACLRelatedToClass", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/CustomAndGeneratedTupleSHACLToClassRelations" } } }, "description" : "OK" } }, "summary" : "Get SHACL related to a class", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/shacl/custom" : { "put" : { "description" : "Replace or insert SHACL rules related to a class.", "operationId" : "putSHACL", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The SHACL shapes to be inserted.", "type" : "string" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace or insert SHACL", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/classes/{classUUID}/shacl/propertyShapes" : { "get" : { "description" : "Get the shacl rules that can be related to a specified class.", "operationId" : "getPropertyShapes", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the class.", "in" : "path", "name" : "classUUID", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "items" : { "$ref" : "#/components/schemas/PropertyShapesWrapper" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "Get SHACL related to a class", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/compare" : { "get" : { "description" : "Compare two graphs stored in the database", "operationId" : "compareStoredSchemas", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the base dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the base schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The literal name of the dataset to compare against.", "in" : "query", "name" : "otherWorkspace", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema to compare against.", "in" : "query", "name" : "otherSchema", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/TriplePackageChange" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "compare schemas", "tags" : [ "comparison" ] }, "post" : { "description" : "Compare a given graph with the specified graph from the dataset", "operationId" : "compareSchemas", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "properties" : { "file" : { "description" : "The file containing the graph to be compared.", "format" : "binary", "type" : "string" } }, "required" : [ "file" ], "type" : "object" } } } }, "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/TriplePackageChange" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "compare schemas", "tags" : [ "comparison" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/content" : { "delete" : { "description" : "Delete an rdf-schema graph", "operationId" : "deleteGraph", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "delete graph", "tags" : [ "graph" ] }, "get" : { "description" : "Export the rdf-schema graph", "operationId" : "getSchema", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/n-triples" : { }, "application/rdf+json" : { }, "application/rdf+xml" : { }, "text/turtle" : { } }, "description" : "OK" } }, "summary" : "export graph", "tags" : [ "graph" ], "x-public-api" : true }, "put" : { "description" : "Replace or insert an rdf-schema graph", "operationId" : "replaceGraph", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "properties" : { "file" : { "description" : "The file containing the graph to be inserted", "format" : "binary", "type" : "string" } }, "type" : "object" } } } }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace/Insert graph", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/datatypes" : { "get" : { "description" : "Get a list of datatypes/classes. Doesn't include: Primitive Datatypes, stereotypes, attributes and associations.", "operationId" : "listDatatypes", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/ClassUMLAdaptedDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "list datatypes", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/delete-requests" : { "post" : { "description" : "Processes a list of delete requests, each specifying a resource UUID and the desired action.", "operationId" : "deleteResources", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "A list of resource delete requests, each containing the uuid of the resource to delete and the type of deletion", "items" : { "$ref" : "#/components/schemas/ResourceDeleteRequest" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Delete resources", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/deletion-impact" : { "post" : { "description" : "Returns, per requested UUID, a tree of affected resources for deleting that resource.", "operationId" : "getDeletionImpact", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The uuids of the cim resources to analyse.", "items" : { "format" : "uuid", "type" : "string" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "additionalProperties" : { "$ref" : "#/components/schemas/AffectedResource" }, "type" : "object" } } }, "description" : "OK" } }, "summary" : "Get deletion impact", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/diagrams" : { "get" : { "description" : "Returns a list of all custom diagrams for the specified graph. Each diagram includes its ID, name, and other relevant information.", "operationId" : "getCustomGraphDiagramList", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/CustomDiagramDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "list custom diagrams for graph", "tags" : [ "diagram" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/diagrams/{diagramId}" : { "delete" : { "operationId" : "deleteCustomGraphDiagram", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the diagram.", "in" : "path", "name" : "diagramId", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "tags" : [ "custom-diagrams-rest-controller" ] }, "post" : { "operationId" : "getCustomProfileViewRenderingData", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the diagram.", "in" : "path", "name" : "diagramId", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/GraphFilter" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/RenderingDataDTO" } } }, "description" : "OK" } }, "tags" : [ "custom-diagrams-rest-controller" ] }, "put" : { "operationId" : "replaceCustomGraphDiagram", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the diagram.", "in" : "path", "name" : "diagramId", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/CustomDiagramDTO" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "tags" : [ "custom-diagrams-rest-controller" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/diagrams/{diagramId}/classes" : { "delete" : { "operationId" : "removeFromDiagram", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the diagram.", "in" : "path", "name" : "diagramId", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The list of class uuids to be removed from the diagram", "items" : { "format" : "uuid", "type" : "string" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "tags" : [ "custom-diagram-all-classes-rest-controller" ] }, "post" : { "operationId" : "addToCustomGraphDiagram", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The uuid of the diagram.", "in" : "path", "name" : "diagramId", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The list of the classes to be added to the diagram", "items" : { "$ref" : "#/components/schemas/ClassInDiagram" }, "type" : "array" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "tags" : [ "custom-diagram-all-classes-rest-controller" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/htmlexport/{fileEnding}" : { "get" : { "description" : "Export the rdf-schema graph as html", "operationId" : "getHTMLExport", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The file ending of the diagram files.", "in" : "path", "name" : "fileEnding", "required" : true, "schema" : { "type" : "string" } }, { "description" : "Whether the package diagram is shown in the document instead of only being linked.", "in" : "query", "name" : "embedDiagrams", "required" : false, "schema" : { "default" : false, "type" : "boolean" } } ], "responses" : { "200" : { "content" : { "text/html" : { } }, "description" : "OK" } }, "summary" : "export graph as html", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/layout/{diagramUUID}" : { "put" : { "description" : "Updates the layout of the classes, edges and labels in the request body in one step. Every part is optional, only the elements sent are updated.", "operationId" : "updateDiagramLayout", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the package or custom diagram being updated.", "in" : "path", "name" : "diagramUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/DiagramLayoutDTO" } } }, "description" : "The layout of the changed classes, edges and labels", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "updates the layout of a diagram", "tags" : [ "diagram", "layout" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/layout/{diagramUUID}/classes" : { "put" : { "description" : "Updates the positions for all the classes provided in the request body with the provided coordinates.", "operationId" : "updateClassPositions", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the package or custom diagram being updated.", "in" : "path", "name" : "diagramUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/ClassPositionDTO" }, "type" : "array" } } }, "description" : "The DTO with necessary information for class reposition", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "updates class positions", "tags" : [ "diagram", "layout", "class" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/layout/{diagramUUID}/edges" : { "put" : { "description" : "Replaces the points of the edges in the request body with the full, ordered list of points sent for each.", "operationId" : "updateEdgeLayouts", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the package or custom diagram being updated.", "in" : "path", "name" : "diagramUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/EdgeLayoutDTO" }, "type" : "array" } } }, "description" : "The layout of the changed edges", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "updates the layout of edges", "tags" : [ "diagram", "layout", "edge" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/layout/{diagramUUID}/labels" : { "put" : { "description" : "Updates the offsets for all the labels provided in the request body. Labels without an offset are reset to their default placement.", "operationId" : "updateLabelPositions", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the package or custom diagram being updated.", "in" : "path", "name" : "diagramUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/LabelPositionDTO" }, "type" : "array" } } }, "description" : "The DTO with necessary information for label reposition", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "updates label positions", "tags" : [ "diagram", "layout", "label" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/ontology" : { "delete" : { "description" : "Deletes the currently stored ontology.", "operationId" : "deleteOntology", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Delete ontology", "tags" : [ "ontology" ] }, "get" : { "description" : "Get the currently stored ontology. null if none stored.", "operationId" : "getOntology", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/OntologyDTO" } } }, "description" : "OK" } }, "summary" : "Get ontology", "tags" : [ "ontology" ] }, "post" : { "description" : "create a new ontology.", "operationId" : "createOntology", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/OntologyDTO" } } }, "description" : "The new ontology", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Create ontology", "tags" : [ "ontology" ] }, "put" : { "description" : "Replace the currently stored ontology with a new one.", "operationId" : "replaceOntology", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/OntologyDTO" } } }, "description" : "The new ontology", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace ontology", "tags" : [ "ontology" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/ontology/generate" : { "get" : { "description" : "Get the Ontology fields that can be automatically generated.", "operationId" : "getOntologyEntries", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/OntologyEntry" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "Get generated ontology entries", "tags" : [ "ontology" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/packages" : { "get" : { "description" : "Get two lists of packages: internal and external packages.", "operationId" : "listPackages", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ListPackagesResponse" } } }, "description" : "OK" } }, "summary" : "list packages", "tags" : [ "graph" ] }, "post" : { "description" : "Create a new package with a given name and optional comment, sub-package relation is nulled", "operationId" : "addPackage", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PackageDTO" } } }, "description" : "DTO for the package to be created", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "format" : "uuid", "type" : "string" } } }, "description" : "OK" } }, "summary" : "create new package", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/packages/{packageUUID}" : { "delete" : { "description" : "Deletes a package by UUID.", "operationId" : "deletePackage", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the package to be deleted.", "in" : "path", "name" : "packageUUID", "required" : true, "schema" : { "format" : "uuid", "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "delete package", "tags" : [ "package", "graph" ] }, "get" : { "description" : "Returns the package DTO for the given UUID.", "operationId" : "getPackage", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the package to retrieve.", "in" : "path", "name" : "packageUUID", "required" : true, "schema" : { "format" : "uuid", "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "$ref" : "#/components/schemas/PackageDTO" } } }, "description" : "OK" } }, "summary" : "get package", "tags" : [ "package", "graph" ] }, "put" : { "description" : "Replaces a whole package.", "operationId" : "replacePackage", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The UUID of the package to be replaced.", "in" : "path", "name" : "packageUUID", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/PackageDTO" } } }, "description" : "DTO for the package to be replaced", "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "replace package", "tags" : [ "package", "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/primitives" : { "get" : { "description" : "Get a list of primitive datatypes/classes. Doesn't include: stereotypes, attributes and associations.", "operationId" : "listPrimitives", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "$ref" : "#/components/schemas/ClassUMLAdaptedDTO" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "list primitives", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/rename" : { "post" : { "description" : "Renames a graph within its dataset, keeping its content and history. References to the graph, i.e. in custom diagrams, are rewritten. The profile header is left untouched: what a schema is called on screen is read from there and is edited in the ontology editor.", "operationId" : "renameGraph", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name to rename the schema to.", "in" : "query", "name" : "newSchemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" }, "409" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "A schema of that name already exists" } }, "summary" : "Rename graph", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/rendering" : { "post" : { "description" : "Returns rendering data for UML diagrams. The content varies based on environment configuration (Mermaid or Svelteflow).", "operationId" : "getRenderingDataParameterized", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/GraphFilter" } } }, "required" : true }, "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/RenderingDataDTO" } } }, "description" : "Rendering data (Mermaid or Svelteflow)" } }, "summary" : "Get rendering data", "tags" : [ "svelteflow", "mermaid" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/resolve/iri/{iriIdentifier}" : { "get" : { "description" : "Resolve iri identifier of a cim resource to its uuid.", "operationId" : "resolveIri", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The url encoded iri identifier of the cim resource.", "in" : "path", "name" : "iriIdentifier", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "resolve iri identifier", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/shacl/combined/file" : { "get" : { "description" : "Export the combined rdf-shacl graph of the generated and custom shapes for a graph.", "operationId" : "getCombinedSHACLAsFile", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/n-triples" : { }, "application/rdf+json" : { }, "application/rdf+xml" : { }, "text/turtle" : { } }, "description" : "OK" } }, "summary" : "export shacl", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/shacl/custom/file" : { "get" : { "description" : "Export the rdf-shacl graph", "operationId" : "getCustomSHACLAsFile", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/n-triples" : { }, "application/rdf+json" : { }, "application/rdf+xml" : { }, "text/turtle" : { } }, "description" : "OK" } }, "summary" : "export shacl", "tags" : [ "shacl" ] }, "put" : { "description" : "Replace or insert a shacl graph stored in a file", "operationId" : "replaceGraphWithFile", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "multipart/form-data" : { "schema" : { "properties" : { "file" : { "description" : "The file containing the shacl graph to be inserted", "format" : "binary", "type" : "string" } }, "required" : [ "file" ], "type" : "object" } } } }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace/Insert shacl", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/shacl/custom/namespaces/ttl" : { "get" : { "description" : "Export the namespaces of the custom SHACL graph for a given graph identifier.", "operationId" : "getCustomSHACLNamespacesAsString", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "text/turtle" : { } }, "description" : "OK" } }, "summary" : "export custom SHACL namespaces", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/shacl/custom/string" : { "get" : { "description" : "Export the rdf-shacl graph as String", "operationId" : "getCustomSHACLAsString", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "text/turtle" : { } }, "description" : "OK" } }, "summary" : "export shacl", "tags" : [ "shacl" ] }, "put" : { "description" : "Replace or insert a shacl graph stored in a Turtle String", "operationId" : "replaceGraphWithGraphString", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "The entire SHACL graph as a string", "type" : "string" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace/Insert shacl", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/shacl/custom/{shaclShapeURI}" : { "delete" : { "description" : "Delete a shacl shape form a shacl graph", "operationId" : "deleteShape", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The property shape to delete.", "in" : "path", "name" : "shaclShapeURI", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "delete a shacl shape", "tags" : [ "shacl" ] }, "put" : { "description" : "Replace or insert a shacl shape from a shacl graph with the given triples in a valid turtle syntax.", "operationId" : "replaceShape", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The property shape to replace.", "in" : "path", "name" : "shaclShapeURI", "required" : true, "schema" : { "type" : "string" } } ], "requestBody" : { "content" : { "application/json" : { "schema" : { "description" : "the triples to replace, requires valid turtle syntax.", "type" : "string" } } }, "required" : true }, "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Replace/Insert shacl shape", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/shacl/generate/file" : { "get" : { "description" : "Export the rdf-shacl graph as a file", "operationId" : "getGeneratedSHACLAsFile", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/n-triples" : { }, "application/rdf+json" : { }, "application/rdf+xml" : { }, "text/turtle" : { } }, "description" : "OK" } }, "summary" : "export shacl", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/shacl/generate/string" : { "get" : { "description" : "generate shacl for the whole graph and return it as a Turtle string.", "operationId" : "getGeneratedSHACLAsString", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "generate shacl", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/shacl/generated/namespaces/ttl" : { "get" : { "description" : "Export the namespaces of the generated SHACL graph for a given graph identifier.", "operationId" : "getGeneratedSHACLNamespacesAsString", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "text/turtle" : { } }, "description" : "OK" } }, "summary" : "export generated SHACL namespaces", "tags" : [ "shacl" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/stereotypes" : { "get" : { "description" : "Get a list of all occurring stereotypes in the graph.", "operationId" : "listStereotypes", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "items" : { "type" : "string" }, "type" : "array" } } }, "description" : "OK" } }, "summary" : "list stereotypes", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/validate-workspace" : { "get" : { "description" : "Validates a schema against the other schemas of its workspace and returns the issues that involve the schema.", "operationId" : "validateSchemaInWorkspace", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ValidationReportDTO" } } }, "description" : "OK" } }, "summary" : "Validate schema in workspace", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/validate/{cgmesVersion}" : { "get" : { "description" : "Validates the RDFS schema of a graph for completeness, including the profile header.", "operationId" : "validateSchema", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } }, { "in" : "path", "name" : "cgmesVersion", "required" : true, "schema" : { "enum" : [ "V2_4_15", "V3_0" ], "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ValidationReportDTO" } } }, "description" : "OK" } }, "summary" : "Validate schema", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/schemas/{schemaName}/writeToDatabase" : { "post" : { "description" : "Write a graph to a database to persist it.", "operationId" : "writeToDatabase", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The name of the schema.", "in" : "path", "name" : "schemaName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "*/*" : { "schema" : { "type" : "string" } } }, "description" : "OK" } }, "summary" : "Write to database", "tags" : [ "graph" ] } }, "/api/workspaces/{workspaceName}/undo" : { "post" : { "description" : "Undo the last change. With expectedChangeId, only if that is still the last change; otherwise nothing is undone and 409 is returned.", "operationId" : "undo", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } }, { "description" : "The change the caller means to undo, as read from the undo preview.", "in" : "query", "name" : "expectedChangeId", "required" : false, "schema" : { "format" : "uuid", "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/HistoryStepDTO" } } }, "description" : "OK" }, "409" : { "description" : "The last change is no longer the expected one." } }, "summary" : "undo ", "tags" : [ "workspace" ] } }, "/api/workspaces/{workspaceName}/undo/preview" : { "get" : { "description" : "Get the change that the next undo would take back, so that the editor can ask before an undo that makes something disappear. Returns nothing when there is no history left.", "operationId" : "getUndoPreview", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ChangeLogEntryDTO" } } }, "description" : "OK" } }, "summary" : "peek at the next undo", "tags" : [ "workspace" ] } }, "/api/workspaces/{workspaceName}/validate-workspace" : { "get" : { "description" : "Validates that the schemas of a workspace are compatible with each other.", "operationId" : "validateWorkspace", "parameters" : [ { "description" : "The name/url of the inquirer.", "in" : "header", "name" : "Origin", "required" : false, "schema" : { "default" : "unknown", "type" : "string" } }, { "description" : "The literal name of the dataset.", "in" : "path", "name" : "workspaceName", "required" : true, "schema" : { "type" : "string" } } ], "responses" : { "200" : { "content" : { "application/json" : { "schema" : { "$ref" : "#/components/schemas/ValidationReportDTO" } } }, "description" : "OK" } }, "summary" : "Validate workspace", "tags" : [ "dataset" ] } } } }