dyne / zenpub

Reflow federated economic network
GNU Affero General Public License v3.0
13 stars 3 forks source link

Create/Get/List ResourceSpecification #41

Open mayel opened 4 years ago

mayel commented 4 years ago

Follows from #15 for more fleshed out Intents

Specification of a kind of resource. Could define a material item, service, digital item, currency account, etc. Used instead of a classification when more information is needed, particularly for recipes.

type ResourceSpecification {
  id: ID!

  """
  An informal or formal textual identifier for a type of resource. Does not imply uniqueness.
  """
  name: String!

  """
  The uri to an image relevant to the entity, such as a photo, diagram, etc.
  """
  image: URI

  """
  References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
  """
  resourceClassifiedAs: [URI!]

  """A textual description or comment."""
  note: String

  """[UNSTABLE] The default unit used for quantifying this resource type."""
  defaultUnitOfEffort: Unit
  conformingResources: [EconomicResource!]
}