Attribute: {
    __typename?: "Attribute";
    id: Scalars["ID"];
    locale?: Maybe<Scalars["String"]>;
    meta?: Maybe<Scalars["JSON"]>;
    value?: Maybe<Scalars["JSON"]>;
}

Additional data defined on a resource

Type declaration

  • Optional __typename?: "Attribute"
  • id: Scalars["ID"]

    The attribute identifier

    Has the form "{{resource_type}}/{{attribute_name}}" eg: The "title" attribute on an item will have the id: "item/title"

    Custom attributes have the form "custom/{{attribute_name}}"

  • Optional locale?: Maybe<Scalars["String"]>

    Optional string representing the locale of the attribute value

  • Optional meta?: Maybe<Scalars["JSON"]>

    Optional attribute metadata, can be any JSON-serialisable type

  • Optional value?: Maybe<Scalars["JSON"]>

    The attribute value, can be any JSON-serialisable type

Generated using TypeDoc