Skip to main content

Create metaschema

Create a new metadata schema. The metaschema name must be unique within the entire Frontier instance and can contain only alphanumeric characters, dashes and underscores. The metaschema schema must be a valid JSON schema.Please refer to https://json-schema.org/ to know more about json schema.
Example: {name:"user",schema:{"type":"object","properties":{"label":{"type":"object","additionalProperties":{"type":"string"}},"description":{"type":"string"}}}}

Request Body required
    name string required

    The name of the metaschema. The name must be unique within the entire Frontier instance. The name can contain only alphanumeric characters, dashes and underscores.

    schema string required

    The schema of the metaschema. The schema must be a valid JSON schema.Please refer to https://json-schema.org/ to know more about json schema.

Responses

A successful response.


Schema
    metaschema object
    id string

    The unique metaschema uuid.

    name string
    schema string

    The metaschema json schema.

    createdAt date-time

    The time when the metaschema was created.

    updatedAt date-time

    The time when the metaschema was updated.

Loading...