Feature type

Use cases and requirements

The ContainerType model should have properties for:

name

Identifer.

description

Additional information.

manufacturer

To know who to order from.

Types

ContainerType derives from FeatureType.

Properties

Term Mapping Definition
id   Unique identifer.
name schema:name Identifer for the Feature.
description schema:description A short description of the Feature.
manufacturer schema:manufacturer The organisation that manufactured it.

Serialisation

  {
  "@type": "WasteContainerType",
  "@id": "http://example.com/container-types/1",
  "name": "240L wheelie bin",
  "description": "240L wheelie bin",
  "reusable": true,
  "sizes": [180, 240],
  "materials": {
    "name": "paper",
    "@id": "/api/materials/paper"
  }
}
  
  <?xml version="1.0" encoding="UTF-8"?>
<feature-type>
  <type>WasteContainerType</type>
  <href>http://example.com/container-types/1</href>
  <name>240L wheelie bin</name>
  <description>240L wheelie bin</description>
  <reusable type="boolean">true</reusable>
  <sizes type="array">
    <size type="integer">180</size>
    <size type="integer">240</size>
  </sizes>
  <materials>
    <name>paper</name>
    <href>/api/materials/paper</href>
  </materials>
</feature-type>