Skip to main content

Create a new schema for projectId

POST 

/schema

Create a new schema for projectId

Request

Body

Schema data

    projectId projectId (string)required

    Unique identifier for Project

    displayInteractive string
    categoryId string

    Unique identifier for Category

    state schemaState (string)

    Possible values: [draft, open, closed]

    approvalMethod string
    data stringrequired
    postProcessing string

    A json holding certain regulations for the post processing of submissions assigned to the schema

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

    voteThresholdSettings string

    Vote threshold

    tags string[]
    description string

    Possible values: <= 3000 characters

    displayThumbnail string

Responses

Schema successfully created

Schema

    projectId projectId (string)required

    Unique identifier for Project

    displayInteractive string
    categoryId string

    Unique identifier for Category

    id string

    Unique identifier for Schema

    state schemaState (string)

    Possible values: [draft, open, closed]

    approvalMethod string
    data stringrequired
    thumbnail string

    Url for thumbnail

    postProcessing string

    A json holding certain regulations for the post processing of submissions assigned to the schema

    createdAt date-time

    Time representation of schema creation

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

    voteThresholdSettings string

    Vote threshold

    type string
    category object[]

    Categories for schema

    tags string[]
    description string

    Possible values: <= 3000 characters

    displayThumbnail string
Loading...