anchor.diff:  ### Update. Normalized mode. [PATCH /v2/entities/{entityId}]
   
   + Parameters
  -    + entityId: Bcn_Welt (required, string) - Entity ID
  -
  -+ Request (application/json)
  -
  +    + entityId: SampleRestaurant (required, string) - Entity ID
  +
  ++ Request (application/json) 
  +    
  +    + Headers
  +
  +            Fiware-Service: tourguide
  +            
       + Body
   
               {
  -                "temperature": {
  -                  "value": 21.7,
  -                  "metadata": {
  -                    "unitCode": "CEL"
  -                  }
  -                },
  -                "ambientNoise": {
  -                  "value": 31.5
  -                }
  +               "priceRange": {
  +                   "value": 12
  +               },
  +               "capacity": {
  +                   "type": "propertyValue",
  +                   "value": 100
  +               }
               }
   
   + Response 204
  
positive.code: ### Get. As text [GET /v2/entities/{entityId}/attrs/{attrName}/value]
  
  + Parameters
      + entityId: Bcn_Welt (required, string) - Entity ID
      + attrName: temperature (required, string) - Attribute name.
      
  + Request
  
    + Headers
  
        Accept: text/plain
  
  + Response 200 (text/plain)
  
          300
  
  
  ### Get. As JSON [GET /v2/entities/{entityId}/attrs/{attrName}/value]
  
  + Parameters
      + entityId: Bcn_Welt (required, string) - Entity ID
      + attrName: temperature (required, string) - Attribute name.
  
  + Response 200 (application/json)
  
          {
              "value": 300
          }
  
  
  ### Update. As Text [PUT /v2/entities/{entityId}/attrs/{attrName}/value]
  
  + Parameters
      + entityId: Bcn_Welt (required, string) - Entity ID
      + attrName: temperature (required, string) - Attribute name.
  
  + Request (text/plain)
  
          25.0
  
  + Response 200
  
  
  ### Update. As JSON [PUT /v2/entities/{entityId}/attrs/{attrName}/value]
  
  + Parameters
      + entityId: Bcn_Welt (required, string) - Entity ID
      + attrName: temperature (required, string) - Attribute name.
  
  + Request (application/json)
  
          {
              "value": 25.0
          }
  
  + Response 200
  
  
  # Group Subscriptions
  
  ### List all subscriptions present in the system [GET /v2/subscriptions]
  
  + Response 200
  
          [
              {
                  "id": "abcdefg",
                  "entity": {
                      "id": "Bcn_Welt",
                      "type": "Room"
                  },
                  "attributes": [
                      "temperature"
                  ],
                  "callback": "http://localhost:1234",
                  "options": {
                      "duration": "1M",
                      "condition": "ONCHANGE",
                      "throttling": "PT5S"
                  }
              },
               {
                  "id": "wyztrew",
                  "entity": {
                      "pattern": "DC_*",
                      "type": "Room"
                  },
                  "attributes": [
                      "temperature"
                  ],
                  "callback": "http://localhost:1234"
              }
          ]
  
  ### Get the details of a subscription [GET /v2/subscriptions/{subscriptionId}]
  
  + Parameters
      + subscriptionId: abcdefg (required, string) - ID of the suscription
  
  + Response 200
  
          {
              "id": "abcdefg",
              "entity": {
                  "id": "Bcn_Welt",
                  "type": "Room"
              },
              "attributes": [
                  "temperature"
              ],
              "callback": "http://localhost:1234",
              "options": {
                  "duration": "1M",
                  "condition": "ONCHANGE",
                  "throttling": "PT5S"
              }
          }
  
  ### Remove a suscription [DELETE /v2/subscriptions/{subscriptionId}]
  
  + Parameters
      + subscriptionId: abcdefg (required, string) - ID of the suscription
  
  + Response 204
  
  
  ### Create a new subscription [POST /v2/subscriptions]
  
  + Request (application/json)
  
          {
              "entity": {
                  "pattern": "Boe_*",
                  "type": "Room"
              },
              "attributes": [
                  "humidity"
              ],
              "callback": "http://subscriber.example.com/notify"
          }
  
  + Response 201
  
      + Headers
  
              Location: /subscriptions/abcde98765
  
  ### Partial - Update an existing subscription [PATCH /v2/subscriptions/{subscriptionId}]
  
  + Parameters
      + subscriptionId: abcdefgh (required, string) - ID of the suscription
  
  + Request
  
          {
              "duration": "1Y"
          }
  
  + Response 204
  
  
negative.code: + Parameters
      + options: keyValues (optional, string) - operation options (`keyValues` mode)
  
  + Request (application/json) 
      
      + Headers
  
              Fiware-Service: tourguide
              
      + Body
  
              {
                  "type": "Review",
                  "id": "review-Elizalde-35",
                  "author": "client1234",
                  "itemReviewed": "0115206c51f60b48b77e4c937835795c33bb953f",
                  "reviewBody": "Cheap and nice place to eat",
                  "ratingValue": 4
              }
  
  + Response 201 (application/json)
  
      + Headers
  
              Location: /v2/entities/review-Elizalde-35?type=Review
  
  
  ### Georeferencing using simple location format [POST /v2/entities]
  
  + Request (application/json) 
      
      + Headers
  
              Fiware-Service: tourguide
              
      + Body
  
              {
                 "id":   "SampleRestaurant",
                 "type": "Restaurant",
                 "address": {
                    "type": "PostalAddress",
                    "value": {
                      "streetAddress": "Cuesta de las Cabras Aldapa 2",
                      "addressLocality": "Alegría-Dulantzi",
                      "addressRegion":   "Araba",
                      "postalCode": "01240"
                    }
                 },
                 "name": {
                    "value": "Sample restaurant"
                  },
                 "location": {              
                    "type":  "geo:point",
                    "value": "42.8404625, -2.5123277"
                 },
                 "priceRange": {
                     "value": 10
                 },
                 "telephone": {
                     "value": "555 55 55 55"
                 },
                 "capacity": {
                     "type": "propertyValue",
                     "value": 120
                 },
                 "description": {
                    "value": "Sample restaurant"
                 }
              }
  
  + Response 201 (application/json)
  
      + Headers
  
              Location: /v2/entities/SampleRestaurant?type=Restaurant
  
  
  ### Georeferencing using GeoJSON [POST /v2/entities]
  
  + Request (application/json) 
      
      + Headers
  
              Fiware-Service: tourguide
              
      + Body
  
              {
                 "id":   "Vitoria-Gasteiz-1",
                 "type": "comercialArea",
                 "name": {
                  "value": "Vitoria-Gasteiz-Comercial-Zone"
                 },
                 "location": {              
                    "type": "geo:json",
                    "value": {
                       "type": "Polygon",
                       "coordinates": [ [
                          [ 42.847476, -2.763969 ],
                          [ 42.826006, -2.743151 ],
                          [ 42.826485, -2.653740 ],
                          [ 42.867061, -2.630934 ],
                          [ 42.881801, -2.640617 ],
                          [ 42.867767, -2.726723 ],
                          [ 42.847476, -2.763969 ]
                       ] ]
                    }
                  }
              }
  
  + Response 201 (application/json)
  
      + Headers
  
              Location: /v2/entities/Vitoria-Gasteiz-1?type=comercialArea
              
              
  ### Creation error. Already exists. [POST /v2/entities?options=keyValues]
  
  + Request (application/json) 
      
      + Headers
  
              Fiware-Service: tourguide
              
      + Body
  
              {
                  "type": "Review",
                  "id": "review-Elizalde-35",
                  "author": "client1234",
                  "itemReviewed": "0115206c51f60b48b77e4c937835795c33bb953f",
                  "reviewBody": "Cheap and nice place to eat",
                  "ratingValue": 4
              }
  
  + Response 422 (application/json)
  
  