Skip to main content

AddonContentContract

Content authoring contract returned by addonContentContract; schema and example are JSON objects, not strings.

type AddonContentContract {
contractRevision: String!
schema: JSON!
example: JSON!
}

Fields​

AddonContentContract.contractRevision ● String! non-null scalar​

Revision identifier of the content schema and example returned by this query.

AddonContentContract.schema ● JSON! non-null scalar​

JSON Schema object defining content for the requested type.

AddonContentContract.example ● JSON! non-null scalar​

Representative JSON content object; encode it as a string for content inputs.

Returned By​

addonContentContract query