Web Service Method: Create a Class in an Ontology

Description

Create an ontology class.

URL: /PoolParty/api/schema/class

Content-Type

application/json

Supported Methods

POST

JSON Request Object

CreateCustomTypeInput

Type: CreateCustomTypeInput

Ontology Class

Attribute

Type

Comment

addToCustomScheme

Array of IRIs

Custom scheme URI(s)

comment

Literal

Description of ontology class

contributor

IRI

created

Literal

creator

IRI

label

Literal

Class label

modified

Literal

schemaUri

IRI

URI of ontology

subClassOf

Array of IRIs

Subclasses

uri

IRI

URI of class

Returns

Content-Type: application/json

Status: 200 - OK