Global InfraGlobal Infra Cloud

Assets

Asset reference for Book Store.

Edit

This page documents the following assets:

  • Book — Represents a book in the bookstore collection.
  • Store — Represents a bookstore location with its inventory.
  • Store Permission — Represents access permissions for a store.

Book

Represents a book in the bookstore collection.

Schema

The following properties describe a Book:

PropertyTypeDescription
author
stringThe author of the book.
description
stringA short description of the book.
isbn
Required
stringThe ISBN identifier of the book.
pages
integerThe number of pages in the book.
publish_date
stringThe publication date of the book.
publisher
stringThe publisher of the book.
subTitle
stringThe subtitle of the book.
title
stringThe title of the book.
website
stringThe website URL for the book.

Examples


Store

Represents a bookstore location with its inventory.

Schema

The following properties describe a Store:

PropertyTypeDescription
digicode
Required
integerThe digicode for the store's entrance. It's a 4-digit code that allows access to the store after hours.
isbns
list(string)The list of ISBNs available in the store.
location
Required
stringThe location of the store.
name
Required
stringThe name of the store.
opening_hours
Default
object
path
Computed
stringThe path to the store's inventory file. This is computed based on the store's location.

Examples


Store Permission

Represents access permissions for a store.

Schema

The following properties describe a Store Permission:

PropertyTypeDescription
groups
Required
list(string)The list of groups that have this permission.
role
Required
stringThe role associated with this permission.
store_id
Required
stringThe ID of the store this permission applies to.

Examples

On this page